![]() |
|
|
#56 | |
|
"Lucan"
Dec 2006
England
145128 Posts |
Quote:
I'll waive the £25 ![]() Love as ever, David PS "Don't teach your Grandma how to suck eggs" Last fiddled with by davieddy on 2012-05-31 at 00:13 |
|
|
|
|
|
|
#57 |
|
"Lucan"
Dec 2006
England
2·3·13·83 Posts |
|
|
|
|
|
|
#58 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
|
|
|
|
|
|
#59 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
11101011101112 Posts |
Mr. Bobrecki has responded. He has no objections to sharing factoring data. At first we'll probably use our respective web pages that query our databases. If you have any recommendations for him to make that easier, let us know.
I'm tempted to make BloodIce our official mers@home DB query manager :) I've also pointed him to Oliver's CUDA code, so he may contact TheJudger at some point. |
|
|
|
|
|
#60 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Will some mod please change this thread's title to "Brainstorming ways to cooperate with Mersenne@home"?
I think that would be more suitable than my original title, since it's apparent by now that Mr. Bobrecki is open to a cooperating agreement and has no intention of competing. |
|
|
|
|
|
#61 | |
|
"Jerry"
Nov 2011
Vancouver, WA
21438 Posts |
Quote:
Nice touch
|
|
|
|
|
|
|
#62 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
|
|
|
|
|
|
#63 | |
|
Romulan Interpreter
Jun 2011
Thailand
25C016 Posts |
Quote:
For the record, pari does it in 3 seconds (core2 duo, single core used, 2.8GHz, FFT, not optimized at all for this size). Code:
(15:05:06) gp > # timer = 1 (on) (15:05:25) gp > a=1<<45000000+random(1<<45000000); *** at top-level: a=1<<45000000+random(1< *** ^-------------------- *** _<<_: the PARI stack overflows ! current stack size: 4000000 (3.815 Mbytes) [hint] you can increase GP stack with allocatemem() *** Break loop: type 'break' to go back to GP break> (15:06:36) gp > allocatemem() *** Warning: new stack size = 8000000 (7.629 Mbytes). (15:06:43) gp > allocatemem() *** Warning: new stack size = 16000000 (15.259 Mbytes). (15:06:44) gp > allocatemem() *** Warning: new stack size = 32000000 (30.518 Mbytes). (15:06:45) gp > allocatemem() *** Warning: new stack size = 64000000 (61.035 Mbytes). (15:06:46) gp > allocatemem() *** Warning: new stack size = 128000000 (122.070 Mbytes). (15:06:46) gp > a=1<<45000000+random(1<<45000000); time = 63 ms. (15:06:51) gp > b=a^2; time = 2,735 ms. (15:07:07) gp > Last fiddled with by LaurV on 2012-05-31 at 08:35 |
|
|
|
|
|
|
#64 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
I certainly would not have thought to write a general integer as a2^k+b and then square that instead.
|
|
|
|
|
|
|
#65 |
|
Romulan Interpreter
Jun 2011
Thailand
26·151 Posts |
yeah, whatever, I eliminated the second edit in my former post, as it was false
, I was posting before the calculus finished. It took about 15 minutes! grrrr... you can delete it from your post too, as the reference to VBA could be misleading too, for some who cant directly convert from pseudocode/pascal to vb). I would however keep the link, as the document is quite interesting for some beginner who wants to start experimenting with this.edit, in fact it makes no sense to include the whole text when you reply to the last post...(and it is not really polite , and not very cautious too, guys like me use to edit their last post many times, from English reasons, stupidity, tendency to boast, etc. hehe)
Last fiddled with by LaurV on 2012-05-31 at 08:50 |
|
|
|
|
|
#66 |
|
Jun 2003
5,087 Posts |
Ok. Some BotE calculations -- just to give you some perspective. A 12M digit number has appr 40M bits. On a 64-bit m/c, that is 625000 64-bit words. To multiply two such numbers by naive n^2 multiplication would take (625000^2 = 4e11) "64x64=128" multiplications. [You can halve that for squaring, but let's just go with this] A 2GHz m/c would need (2e9*200*60) clock cycles / 4e11 operations = 60 clock cycles / operation to be able to hit your mark. Typical modern processor can do a single "64x64=128" multiplication in under 10 clock cycles. So that leaves enough head room for the various other operations (like additions, memory writes, etc..) and still comfortably come in under your target. And this is the O(n^2) method.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let GPU72 Decide and other questions | jschwar313 | GPU to 72 | 11 | 2016-10-14 19:16 |
| Let GPU72 decide | Chuck | GPU to 72 | 51 | 2014-09-16 12:49 |