mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2013-03-29, 16:00   #23
chip
 
chip's Avatar
 
"Eugene"
Mar 2013
Ukraine

3 Posts
Default

i7-2600K @ 4500 (cores 1,3,5,7) RAM @ 1866

321 Prime Search. b=3, n~=9.5M, windows 6.1.7601, cllr64.exe 3.8.9
Using all-complex AVX FFT length 512K, Pass1=128, Pass2=4K, a = 5

1-core Time per bit: 2.215 ms. 1.00x
2-core Time per bit: 2.275 ms. 1.95x
3-core Time per bit: 2.595 ms. 2.56x
4-core Time per bit: 3.095 ms. 2.86x

ESP Prime Search. b=[91549...238411], n~=3.4M, windows 6.1.7601, cllr64.exe 3.8.9
Using all-complex AVX FFT length 320K, Pass1=256, Pass2=1280, a = 3

1-core Time per bit: 1.355 ms. 1.00x
2-core Time per bit: 1.370 ms. 1.98x
3-core Time per bit: 1.415 ms. 2.87x
4-core Time per bit: 1.730 ms. 3.13x

27 Prime Search. b=27, n~=4.2M, windows 6.1.7601, cllr64.exe 3.8.9
Using all-complex AVX FFT length 240K, Pass1=1280, Pass2=192, a = 5

1-core Time per bit: 1.065 ms. 1.00x
2-core Time per bit: 1.072 ms. 1.99x
3-core Time per bit: 1.078 ms. 2.91x
4-core Time per bit: 1.110 ms. 3.84x

P.S. CPU no throttling.
chip is offline   Reply With Quote
Old 2013-03-30, 13:31   #24
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

110101000112 Posts
Default

Can any software can multi-thread one prime number?
Lets say I do search one number with 10.000.000 digits and then divide that search on 4 cores in parallel
pepi37 is online now   Reply With Quote
Old 2013-04-17, 17:26   #25
chip
 
chip's Avatar
 
"Eugene"
Mar 2013
Ukraine

316 Posts
Default

i7-2600K 4500MHz HT off memory 1866MHz
L2 Cache Hit Ratio vs FFT size:
link 1
link 2
link 3
Efficiency: 98.5%, 96.5%, 88.0% respectively (based on the comparison value "time per bit")
Four ESP FFT 384K has efficiency 76%

Last fiddled with by chip on 2013-04-17 at 17:29
chip is offline   Reply With Quote
Old 2013-05-19, 17:50   #26
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

It will be very useful option to add to LLR when llr finish compute candidate from list, then remove it ( like PRIME95) does...
It would not be too hard to implement to application.
pepi37 is online now   Reply With Quote
Old 2013-05-19, 21:37   #27
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3·23·89 Posts
Default

Quote:
Originally Posted by pepi37 View Post
It will be very useful option to add to LLR when llr finish compute candidate from list, then remove it ( like PRIME95) does...
It would not be too hard to implement to application.
Please make this optional. Removing all the candidates from primed ks(possibly to another file) would be a nice feature as well.
henryzz is offline   Reply With Quote
Old 2013-05-22, 23:29   #28
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

11×157 Posts
Default

Quote:
Originally Posted by Prime95 View Post
There was one Mac built using a 32-bit Intel Core (not Core 2) CPU. A pity really, as I could release a prime95 of roughly half the size if I could ditch 32-bit support.
Lol. My two cents is that if that is the only thing stopping you, go for it. I would take any Mac off life support if it so much as coughs funny, and I would take any Core off life support, period.
TheMawn is offline   Reply With Quote
Old 2013-08-16, 03:31   #29
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default Memory leak?

I have noticed, when testing ~9500k bit Wagstaff numbers (using the vrba-reix algorithm), that memory usage is 1.3% for the first number tested (after resumption) and then 1.9% for subsequent tests on a 2GB system. I think the results are good, but could this behavior be a memory leak?

debian and gentoo; llr64 3.8.9, dynamically linked

Last fiddled with by paulunderwood on 2013-08-16 at 03:42
paulunderwood is offline   Reply With Quote
Old 2013-08-16, 04:34   #30
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

124D16 Posts
Default

Some more testing shows this behaviour only if a number is resumed -- it is 1.3%

Last fiddled with by paulunderwood on 2013-08-16 at 04:42
paulunderwood is offline   Reply With Quote
Old 2013-08-29, 23:08   #31
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

I have found this little disproportion in llr time

2*10^350156-1 is not prime. RES64: EC7C7E5598C4A371. OLD64: C5757B00CA4DEA50 Time : 322.996 sec.
2*10^350207-1 is not prime. RES64: 6C3C4597BC9FCFC5. OLD64: 44B4D0C735DF6F4D Time : 385.333 sec.
2*10^350348-1 is not prime. RES64: 5DD901176F43DDB8. OLD64: 198B03464DCB9925 Time : 323.997 sec.

Since those are small number L2 or L3 cache is not question. I recheck this number on other machine , with different version of LLR and also got bigger time. But question was, why time before and after number was smaller. What is so specific in this number so computation time is higher!
pepi37 is online now   Reply With Quote
Old 2013-08-30, 00:20   #32
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

205716 Posts
Default

Quote:
Originally Posted by pepi37 View Post
What is so specific in this number so computation time is higher!
Ewww, do you really want to understand the nitty gritty details of FFT size selection?

I'd need to know the FFT length of the faster runs. I suspect that exponent (350207) / smaller-FFT-length is close to one of the "magic fractions" that gwnum thinks might generate higher than expected roundoff errors. For example, if there are exactly 18.5 bits per FFT word, then FFT words alternate between 18 and 19 bits. Now when you square such a number all the 19-bit times 19-bit multiplies are not randomly distributed in the result, instead they end up in every other column. This leads to a higher than expected roundoff error. Anytime the bits-per-word is "very near" a multiple of 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8 gwnum might choose a larger FFT length.
Prime95 is offline   Reply With Quote
Old 2013-08-30, 00:34   #33
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

32438 Posts
Default

If I never ask I will never learn :)
Thanks for crystal clear explanation :)
pepi37 is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.20 released Jean Penné Software 30 2018-08-13 20:00
LLR Version 3.8.19 released Jean Penné Software 11 2017-02-23 08:52
LLR Version 3.8.15 released Jean Penné Software 28 2015-08-04 04:51
LLR Version 3.8.11 released Jean Penné Software 37 2014-01-29 16:32
llr 3.8.2 released as dev-version opyrt Prime Sierpinski Project 11 2010-11-18 18:24

All times are UTC. The time now is 13:58.


Fri Jul 7 13:58:49 UTC 2023 up 323 days, 11:27, 0 users, load averages: 1.15, 1.18, 1.16

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

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