![]() |
|
|
#23 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
|
|
|
|
|
|
|
#24 |
|
Dec 2015
118 Posts |
I was wrong. The offset was good.
Last fiddled with by bozocv on 2015-12-15 at 16:26 |
|
|
|
|
|
#25 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
The bytes (or words, or DWords) may be in the wrong endian - because if this is the key then it is an awfully bad key.
|
|
|
|
|
|
#26 |
|
Tribal Bullet
Oct 2004
67258 Posts |
Even in 2015, because Msieve doesn't have a lattice sieve it will not attempt to use the number field sieve unless you explicitly tell it to. So that leaves MPQS, even when it is inappropriate.
|
|
|
|
|
|
#27 | |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
Quote:
)Code:
gp > n=0; forstep(i=1,64,4,n<<=32; n+=v[i+3]<<24; n+=v[i+2]<<16; n+=v[i+1]<<8; n+=v[i]); n
% = 8348000540764041906162024471..........100321162857531765754300548662680552820195655821904967
gp > write("n.num",n)
gp > n=0; forstep(i=1,64,4,n<<=32; n+=v[i+3]<<16; n+=v[i+2]<<24; n+=v[i+1]<<0; n+=v[i]<<8); n
% = 5269999986452698769570894462..........8995846355841282421956137217822060457144252334753612
gp > write("n.num",n)
gp > n=0; forstep(i=1,64,4,n<<=32; n+=v[i+3]<<8; n+=v[i+2]<<0; n+=v[i+1]<<24; n+=v[i]<<16); n
% = 2368630072079093818351229601..........45677896475111803564569370778081436400201910579081229877
gp > write("n.num",n)
gp > n=0; forstep(i=1,64,4,n<<=32; n+=v[i+3]<<0; n+=v[i+2]<<8; n+=v[i+1]<<16; n+=v[i]<<24); n
% = 299461905886505078655364178209410..........54439831397865144445106998690983380373721989264822
gp > write("n.num",n)
gp > n=0; forstep(i=64,1,-4,n<<=32; n+=v[i-3]<<0; n+=v[i-2]<<8; n+=v[i-1]<<16; n+=v[i]<<24); n
% = 95430175150531477728509730384..........700070449718694923039478196726934963045982929196166457
gp > write("n.num",n)
gp > n=0; forstep(i=64,1,-4,n<<=32; n+=v[i-3]<<8; n+=v[i-2]<<0; n+=v[i-1]<<24; n+=v[i]<<16); n
% = 2813127032230262210684515140735..........27190378971179212163358415875341722569447272009906477
gp > write("n.num",n)
gp > n=0; forstep(i=64,1,-4,n<<=32; n+=v[i-3]<<16; n+=v[i-2]<<24; n+=v[i-1]<<0; n+=v[i]<<8); n
% = 3995114264299001392062608683531468513..........15882921975622819213559602826890512979606478692
gp > write("n.num",n)
gp > n=0; forstep(i=64,1,-4,n<<=32; n+=v[i-3]<<24; n+=v[i-2]<<16; n+=v[i-1]<<8; n+=v[i]<<0); n
% = 373416326224504463835632842767039..........327252754754043415672821300321272677077282624201887
gp > write("n.num",n)
(one already full factored by Paul) EDIT: GRRRRR! What's wrong with code tags? They don't crop the size anymore! Last fiddled with by LaurV on 2015-12-16 at 06:19 |
|
|
|
|
|
|
#28 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
|
|
|
|
|
|
#29 | |
|
Romulan Interpreter
Jun 2011
Thailand
226138 Posts |
Quote:
![]() (edit: now I expect to see you posting the davieddy icon...haha) Last fiddled with by LaurV on 2015-12-16 at 07:52 |
|
|
|
|
|
|
#30 |
|
"Mike"
Aug 2002
25×257 Posts |
|
|
|
|
|
|
#31 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
Thanks Mike! Though as you apparently know, I do very much enjoy that emote, in this case I feel it is not appropriate :) Last fiddled with by Dubslow on 2015-12-16 at 09:11 |
|
|
|
|
|
|
#32 |
|
Aug 2015
2×33 Posts |
I'm curious how much time the GPU version of msieve will actually save. It seems like you're saying 12 hours for a 154 digit number? The msieve README claims 50 to 100 times faster for polynomial selection, but I don't have enough experience to know how important giving more time to polynomial selection is for overall speed.
|
|
|
|
|
|
#33 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Jux-
GPU poly select is indeed 50-100x faster for the part of poly select that uses the GPU (75% or so of the poly-select step). It's standard practice to spend 3-4% of expected factorization time on the poly select step; rather than divide this by 50, one usually lets the GPU run for only a little less time than the CPU-poly-select would have run, but one finds a poly that shortens the task by single-digit percentages compared to a typical CPU-found poly. So, you could choose to shorten the poly select step by 12 hrs, or expect a factorization to take 12 hrs less with the GPU-poly. That said, these are averages- I've seen CPU-found polys that sieve as well as a GPU-found poly, etc etc. Rather than spend a fixed time on poly search, I stop when I have a poly comparable in score to a previous same-sized-number's poly; that's less useful a guide for someone without a list of previous jobs. Try mklasson.com/factors, "100 largest prime factors (GNFS)" for a listing of a bunch of GNFS runs and their poly scores. An example: I did a C156 in 7 days on a hex-core i7, not counting poly search. The poly used had Murphy E-score 2.5e-12 according to msieve. I don't remember how long I spent on poly search; my CUDA rig was a laptop that didn't have much else to do, so I likely spent ~4 laptop GPU-days for the 42 core-day job. Edit/TL;DR: A GPU might find a poly 5% better score. 5% of 42 core-days is 2 core-days, or 12 hrs on a quad core. 5% better is a guess, but that's where I got 12 hrs. Last fiddled with by VBCurtis on 2015-12-30 at 04:47 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Noob Question | Pickwun | Information & Answers | 7 | 2017-11-07 19:17 |
| Noob Question | Unregistered | Information & Answers | 11 | 2013-03-23 01:31 |
| Prime 95 Noob Question | Unregistered | Information & Answers | 4 | 2009-09-12 14:01 |
| Noob C question | nuggetprime | Programming | 6 | 2008-08-23 11:09 |
| Noob question | xago666 | Information & Answers | 3 | 2008-03-11 01:35 |