mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
Thread Tools
Old 2016-04-06, 19:58   #1332
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

For grins I dusted off this code to see if it still worked and as a comparison (hence all the questions above).

Stage1 and Stage2 both running on a Xeon Phi 31S1P:
Code:
./phiecm 135208777652707551627613394323172349287658234884006214941830419038629271216360971380190458698241219665584896965795899 3584 11000000 224        
starting 3584 curves on 135208777652707551627613394323172349287658234884006214941830419038629271216360971380190458698241219665584896965795899 with B1 = 11000000 (726517 primes) and 224 threads (16 curves/thread)
initializing montgomery representation
Building curves took 0.0874 seconds.

10991909, 24
Stage 1 took 3537.8537 seconds.
writing savefiles
starting stage 2

starting at q = 11000220
found factor 1259183377997512211834207021579593490689 in stage 1 in thread 184, vec position 7, with sigma = 3285301936
skipped 10579375 paired primes out of 54935953

Stage 2 took 2200.9643 seconds.
found factor 1259183377997512211834207021579593490689 in stage 2 in thread 217, vec position 14, with sigma = 3815041854
found factor 1259183377997512211834207021579593490689 in stage 2 in thread 103, vec position 10, with sigma = 1355344152
...about 0.98 seconds/curve in stage 1 and 0.61 seconds/curve in stage 2 at B1 = 11M
bsquared is offline   Reply With Quote
Old 2016-04-06, 20:10   #1333
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

101010001000102 Posts
Default

Quote:
Originally Posted by Batalov View Post
The site still appears down (was then and still is)
I've contacted the hosting company and asked for an investigation. Best guess is that it will be working hours UK time before anything significant happens.

The ftp server which I use to upload the pages is working just fine.

Sorry about this, but it's beyond my direct control

Paul
xilman is online now   Reply With Quote
Old 2016-04-06, 20:12   #1334
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

2·3·5·113 Posts
Default

My ecmclient is getting GCW work now.
RichD is online now   Reply With Quote
Old 2016-04-06, 21:48   #1335
jyb
 
jyb's Avatar
 
Aug 2005
Seattle, WA

2·883 Posts
Default

Quote:
Originally Posted by xilman View Post
I've contacted the hosting company and asked for an investigation. Best guess is that it will be working hours UK time before anything significant happens.

The ftp server which I use to upload the pages is working just fine.

Sorry about this, but it's beyond my direct control

Paul
It seems to be back now. And that previous link had the wrong domain. See this.
jyb is offline   Reply With Quote
Old 2016-04-06, 23:16   #1336
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default

Yep, it is up!

... But no, it is not working: the UPDATE.txt file is empty!
Batalov is offline   Reply With Quote
Old 2016-04-06, 23:19   #1337
jyb
 
jyb's Avatar
 
Aug 2005
Seattle, WA

2×883 Posts
Default

Quote:
Originally Posted by Batalov View Post
Yep, it is up!

... But no, it is not working: the UPDATE.txt file is empty!
A feature, not a bug. You may notice this line in the explanatory text:

"The file UPDATE contains a list of changes to the files made since 1 April 2016 and here are those reported to me before that date."
jyb is offline   Reply With Quote
Old 2016-04-06, 23:22   #1338
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

949710 Posts
Default

Exactly!
I would expect at least 25 rows in it already. :-)
(and that's just from me, other people must have also contributed)
Batalov is offline   Reply With Quote
Old 2016-04-07, 01:17   #1339
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default

Code:
# 6^383+5^383, difficulty: 300.99
ECc17-Input number is 36287917053866719785650526120998695279651734974791134151823208042000072571786261956542711381724414523218450146275040333518910642897546255192019209886576681961865035885850245555280408341112885216841333441815115622137706368514173061738967426558336547379986780599522623648651383887996939 (284 digits)
ECc17-Using B1=22000000, B2=192375122956, polynomial Dickson(12), sigma=396537383
ECc17-Step 1 took 215000ms
ECc17-Step 2 took 87996ms
ECc17:********** Factor found in step 2: 125828096035824850471308490303855554743239305664987
ECc17-Found probable prime factor of 51 digits: 125828096035824850471308490303855554743239305664987
ECc17-Probable prime cofactor 288392800949122609426168026708966026618949815661743800160109743798134370484828724587949951879344491901299395725790134532294729101609430625166584918724535106488321167716287488173170790096175943819110712585470352719911739311150650423697 has 234 digits
Batalov is offline   Reply With Quote
Old 2016-04-07, 01:34   #1340
WraithX
 
WraithX's Avatar
 
Mar 2006

47910 Posts
Default

Quote:
Originally Posted by bsquared View Post
Quote:
Originally Posted by frmky
Input number is 135208777652707551627613394323172349287658234884006214941830419038629271216360971380190458698241219665584896965795899 (117 digits)
Using B1=11000000, B2=5714965630, sigma=3:3291808790-3:3291809621 (832 curves)
GPU: Block: 16x32x1 Grid: 26x1x1 (832 parallel curves)
Computing 832 Step 1 took 70619ms of CPU time / 1919508ms of GPU time
GPU: factor 1259183377997512211834207021579593490689 found in Step 2 with curve 809 (-sigma 3:3291809599)
Computing 832 Step 2 on CPU took 1562272ms
********** Factor found in step 2: 1259183377997512211834207021579593490689
Found prime factor of 40 digits: 1259183377997512211834207021579593490689
Prime cofactor 107378146833331757743843198866359402606798797253252448208276600932366296728891 has 78 digits
Nice!
Out of curiosity, can you say what NVidia card was used to do this? Also, I'm ignorant of how the program works... does the 70-some seconds of CPU usage occur concurrent to the GPU time? i.e., does the GPU operation consume some CPU cycles as well? Or it is up-front CPU initialization or something? I assume the program stops in step 2 after a factor is found, so that the timing there is for 809 curves instead of 832?
The 70 seconds on the CPU is the computation of the "batch product": the product of all primes, and prime powers, up to B1. This happens before any work is done on the GPU. Once the batch product, called s in the code, is computed, the code loops over each bit in s and computes x curves (in this case = 32*26) in parallel on the GPU.

The way gpu-ecm is currently configured, it will try to find all factors that it can. ie, it actually does search all 832 curves for factors. I'll talk with PaulZ about possibly recognizing the -one option for gpu-ecm so that the program will stop as soon as it knows it has found a factor.

Also, frmky, based on "Grid: 26x1x1", are you running these "half-sized" curves on a GTX 970?
WraithX is offline   Reply With Quote
Old 2016-04-07, 06:14   #1341
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default

Quote:
Originally Posted by jyb View Post
It seems to be back now. And that previous link had the wrong domain. See this.
It appears down again.
Quote:
It's not just you! http://www.leyland.vispa.com looks down from here.
Batalov is offline   Reply With Quote
Old 2016-04-07, 07:20   #1342
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

22×32×59 Posts
Default

Quote:
Originally Posted by WraithX View Post
Also, frmky, based on "Grid: 26x1x1", are you running these "half-sized" curves on a GTX 970?
Tesla K20c.
Edit: And don't use that run for timing. That wasn't the only program running on the GPU. For timing purposes, stage 1 on 832 curves on a <= 506-bit number at B1=11e6 take 1640 seconds, or 1.97 s/curve.

Last fiddled with by frmky on 2016-04-07 at 07:28
frmky is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
New phi for homogeneous Cunningham numbers wpolly Factoring 26 2016-07-29 04:34
Mathematics of Cunningham Numbers (3rd ed., 2002, A.M.S.) Xyzzy Cunningham Tables 42 2014-04-02 18:31
Don't know how to work on Cunningham numbers. jasong GMP-ECM 6 2006-06-30 08:51
Doing Cunningham numbers but messed up. jasong Factoring 1 2006-04-03 17:18
Need help factoring Cunningham numbers jasong Factoring 27 2006-03-21 02:47

All times are UTC. The time now is 15:01.


Fri Aug 6 15:01:40 UTC 2021 up 14 days, 9:30, 1 user, load averages: 3.01, 2.86, 2.83

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.