mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2012-01-13, 19:32   #276
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by bdodson View Post
Thanks, but these are windows7 machines. Regards, Bruce
The link he posted was for a Core2 Windows 64bit binary that should work fine on your Windows 7 machines unless they are 32bit Windows 7.

Jeff.
Jeff Gilchrist is offline   Reply With Quote
Old 2012-01-14, 16:27   #277
bdodson
 
bdodson's Avatar
 
Jun 2005
lehigh.edu

40016 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
The link he posted was for a Core2 Windows 64bit binary that should work fine on your Windows 7 machines unless they are 32bit Windows 7.

Jeff.
Thanks, I got distracted by [Yamato]'s comment about MPIR. Not that
I'm easily distracted, or anything. Fortunately, it's a weekend, so many
of the [older, non-avx] i7 sites are closed (to the public), so available for
benchmarking. I'm trying both i2 binaries; except that I switched ATH's
so as not to use asmredc; mostly the numbers below c234 are running on
the 8-core/AMD cluster, and the i7's at/above c234. (If I have that division
correctly stated, asm -vs- non-asm.)

Bruce
bdodson is offline   Reply With Quote
Old 2012-01-15, 14:14   #278
bdodson
 
bdodson's Avatar
 
Jun 2005
lehigh.edu

210 Posts
Default

Quote:
Originally Posted by bdodson View Post
Thanks, ...
I'm trying both i2 binaries; except that I switched ATH's
so as not to use asmredc; mostly the numbers ... at/above c234. ...
Bruce
For 3m701, C261 with B1=400M, default B2, I get
Code:
outcor2b3m701ai7_noavx.2:Step 1 took 6790879ms
outcor2b3m701ai7_noavx.2:Step 2 took 2451868ms

outcor2b3m701ai2.2:Step 1 took 7025255ms
outcor2b3m701ai2.2:Step 2 took 2310484ms

outcor2b3m701bwin.2:Step 1 took 5933108ms
outcor2b3m701bwin.2:Step 2 took 2069353ms
where the i7 is with asmredc and the i2 is without. Looks like
a clear win for Yamato's binary. Of course, with 8 curves running
at the same time on these older i7's, there's some prospect of
interference, but the win64 timings are consistent. A recent 3am
status shows 168 of these corei7's, so 8*168 = 1344 curves at once.

Regards, Bruce
--------------------------------

Here's a 2nd opinion, on 3L/M, 1599, C226/C212:
Code:
outcor2b3L1599ai2.1:Step 1 took 5394046ms
outcor2b3L1599ai2.1:Step 2 took 1777257ms
outcor2b3L1599bwin.1:Step 1 took 5164225ms
outcor2b3L1599bwin.1:Step 2 took 1975004ms
outcor2b3L1599a_noavx.1:Step 1 took 5047677ms
outcor2b3L1599a_noavx.1:Step 2 took 2000307ms
---

outcor2b3M1599ewin.1:Step 1 took 4423158ms
outcor2b3M1599ewin.1:Step 2 took 1564955ms
outcor2b3M1599fi2.1:Step 1 took 4755784ms
outcor2b3M1599fi2.1:Step 2 took 1721050ms
outcor2b3M1599a_noavx.1:Step 1 took 4411209ms
outcor2b3M1599a_noavx.1:Step 2 took 1688539ms
More margin-of-error, but these numbers are in the range mostly
running on the 8-core/linux/AMD's, aside from these numbers
reserved B+D snfs.

Last fiddled with by bdodson on 2012-01-15 at 14:31 Reason: 2nd opinion
bdodson is offline   Reply With Quote
Old 2012-01-15, 16:46   #279
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

333610 Posts
Default

Quote:
Originally Posted by Yamato View Post
I only have a core2, but the timings for stage 2 differ from the timings posted here.
Quote:
Originally Posted by bdodson View Post
For 3m701, C261 with B1=400M, default B2, I get
I noticed that different binaries choose slightly different default B2 values, so for testing stage2 "fairly" I fixed the B2 value to a value near the default B2.



I tested my old 6.3 and 6.3.1 binaries versus the new 6.4 and the new version is 2-6% slower above 200 digits in stage1 but about the same speed for stage2, though I'm only testing for the lower B1/B2 values.

core2-64bittests.html
corei7-64bittests.html

I briefly tested 6.3.1 compiled with MPIR 2.5.0 and 6.4 compiled with MPIR 2.4.0 and 6.3.1 matches the old 6.3.1 faster times while 6.4 matches the other 6.4 times, so it's gmp-ecm that is a bit slower not mpir.

Last fiddled with by ATH on 2012-01-15 at 16:49
ATH is online now   Reply With Quote
Old 2012-01-15, 19:12   #280
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3×5×41 Posts
Default

Quote:
Originally Posted by ATH View Post
I noticed that different binaries choose slightly different default B2 values, so for testing stage2 "fairly" I fixed the B2 value to a value near the default B2.



I tested my old 6.3 and 6.3.1 binaries versus the new 6.4 and the new version is 2-6% slower above 200 digits in stage1 but about the same speed for stage2, though I'm only testing for the lower B1/B2 values.

core2-64bittests.html
corei7-64bittests.html

I briefly tested 6.3.1 compiled with MPIR 2.5.0 and 6.4 compiled with MPIR 2.4.0 and 6.3.1 matches the old 6.3.1 faster times while 6.4 matches the other 6.4 times, so it's gmp-ecm that is a bit slower not mpir.
So there's no reason to use ecm64-1681mpir250core2-64-asmredc?

Btw; Does anyone know why this happens?
Attached Thumbnails
Click image for larger version

Name:	fail.gif
Views:	243
Size:	3.8 KB
ID:	7562  
lorgix is offline   Reply With Quote
Old 2012-01-16, 04:18   #281
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts
Default

Quote:
Originally Posted by lorgix View Post
So there's no reason to use ecm64-1681mpir250core2-64-asmredc?

Btw; Does anyone know why this happens?
Raymond Chen had a post on that last month. It's because of the assertion failure.....

Last fiddled with by schickel on 2012-01-16 at 04:20 Reason: Changing reason...
schickel is offline   Reply With Quote
Old 2012-01-17, 20:01   #282
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

11478 Posts
Default

Quote:
Originally Posted by schickel View Post
Raymond Chen had a post on that last month. It's because of the assertion failure.....
OK, do you know why there is an assertion failure?

This happens when I try to use pp1 & pm1. I get this message if [bounds]*[input] is too big.
lorgix is offline   Reply With Quote
Old 2012-01-17, 20:22   #283
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,061 Posts
Default

Quote:
Originally Posted by lorgix View Post
OK, do you know why there is an assertion failure?

This happens when I try to use pp1 & pm1. I get this message if [bounds]*[input] is too big.
You're right -- after I posted that I realized it was obvious (but only after it was too late to get my foot out of my mouth...)

I would venture to guess that some internal limit is still being hit (or the limit check is left over.) What B1 bounds are you trying to use?
schickel is offline   Reply With Quote
Old 2012-01-17, 20:36   #284
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3·5·41 Posts
Default

Quote:
Originally Posted by schickel View Post
You're right -- after I posted that I realized it was obvious (but only after it was too late to get my foot out of my mouth...)

I would venture to guess that some internal limit is still being hit (or the limit check is left over.) What B1 bounds are you trying to use?
I just did a quick test with a ~10k-digit number. Trying '-pp1'

B1=30 works, but if I add '-B2scale 4' it fails.
B1=100 fails, but if I add '-B2scale 0.5' it works.

It prints the stage1 time before it fails.

Higher bounds work for smaller inputs.

Last fiddled with by lorgix on 2012-01-17 at 20:37
lorgix is offline   Reply With Quote
Old 2012-01-22, 15:09   #285
bdodson
 
bdodson's Avatar
 
Jun 2005
lehigh.edu

210 Posts
Default

Quote:
Originally Posted by bdodson View Post
For 3m701, C261 with B1=400M, default B2, I get
Code:
outcor2b3m701ai7_noavx.2:Step 1 took 6790879ms
outcor2b3m701ai7_noavx.2:Step 2 took 2451868ms

outcor2b3m701ai2.2:Step 1 took 7025255ms
outcor2b3m701ai2.2:Step 2 took 2310484ms

outcor2b3m701bwin.2:Step 1 took 5933108ms
outcor2b3m701bwin.2:Step 2 took 2069353ms
where the i7 is with asmredc and the i2 is without. Looks like
a clear win for Yamato's binary [=the win64] ...

Here's a 2nd opinion, on 3L/M, 1599, C226/C212:
...
More margin-of-error, ..
Looks like the comparison depends rather close on the size
of the numbers; here's C271, B1=400M, all with B2=15892277350966.
Code:
3m671dwin.1:Step 1 took 7939328ms
3m671dwin.1:Step 2 took 3640892ms

3m671e_63.1:Step 1 took 7673189ms
3m671e_63.1:Step 2 took 3556761ms

3m671fi2.1:Step 1 took 6386322ms
3m671fi2.1:Step 2 took 2944457ms
where the 63-binary was from ecm63mpircore2-64-asmredc.zip but
reports using gmp, win is Yamato's (which won in c261), and the i2
is the core2 binary with MPIR, but without redc. Actually, win reports
using redc, so maybe this is up in the range where without asm-redc
is better. Anyway, I'll be using ATH's i2 binary from here, up.

I still have the largest range to check, c290-c3xx, using B1=600M,
a 63-binary vs the winner here. -Bruce
bdodson is offline   Reply With Quote
Old 2012-01-24, 02:41   #286
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1101000010002 Posts
Default

Lately I have been wondering if it would be feasible to make a "compiling-kit" for GMP-ECM, so people could compile their own version.

Since Msys and Mingw64 do not need to be installed they could be just compressed along with some batch files for compiling mpir and gmp-ecm. If it works it would be just a matter of starting msys and running a few batch files to compile it.

Any interest in this idea? Anyone want to test if it works? It will involve downloading a 77 Mb 7zip-file.

Edit:
Forgot to mention this is for 64 bit Windows only. I could make one for 32 bit later if needed.

Last fiddled with by ATH on 2012-01-24 at 02:50
ATH is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Project Links masser Sierpinski/Riesel Base 5 25 2011-11-26 09:21
Links to Precompiled Msieve versions wblipp Msieve 0 2011-07-17 20:59
Links davieddy Information & Answers 9 2010-10-08 14:27
Links question ET_ PrimeNet 0 2008-01-26 09:35
Links. Xyzzy Forum Feedback 2 2007-03-18 02:17

All times are UTC. The time now is 10:40.


Sat Jul 2 10:40:03 UTC 2022 up 79 days, 8:41, 0 users, load averages: 1.57, 1.46, 1.39

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔