mersenneforum.org P-1 discussion
 Register FAQ Search Today's Posts Mark Forums Read

2012-01-26, 00:07   #23
chalsall
If I May

"Chris Halsall"
Sep 2002

2×5,647 Posts

Quote:
 Originally Posted by Dubslow I had (and have) nothing to say.
That is what is known as "taking the piss".

Your teachers don't take kindly to such behaviour.

2012-01-26, 00:31   #24
flashjh

"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts

Quote:
 Originally Posted by James Heinrich That seems.... fast. What CPU(s?) do you have in there? What bounds is it choosing?
Yeah, way fast... *who knows* what calculator I was using

So when I rechecked, it's actually about 19 days.

So, here are the bounds it's using:

Code:

[Jan 24 23:08] Assuming no factors below 2^77 and 2 primality tests saved if a factor is found.
[Jan 24 23:08] Optimal bounds are B1=4070000, B2=133292500
[Jan 24 23:08] Chance of finding a factor is an estimated 6.41%
[Jan 24 23:08] Using Core2 type-3 FFT length 22400K, Pass1=3584, Pass2=6400, 4 threads
I was hoping to get into stage 2 a little sooner, oh well. In three weeks, I'll see stage 2 info.

Last fiddled with by flashjh on 2012-01-26 at 00:32

2012-01-26, 01:04   #25

"Kieren"
Jul 2011
In My Own Galaxy!

1015810 Posts

Quote:
 Originally Posted by chalsall You are most welcome. Now, might you continue the discussion you were wishing to hold when you asked for the record of the discussion to be moved?
My hope is that someone might shed light on RAM allocation in Stage 2 of P-1, and how it affects the choice of bounds and the number of Relative Primes. It already seems clear there is a marked difference between 8GB and 12GB machines. I see above that Dubslow is giving ~3.5-4.5GB to a single Stage 2, with 384 and 480 RP respectively resulting.

Then there's Jerry's monster machine, using 20779MB and 960 RP.

I suppose, in some ways the questions have been roughly answered. I remember somewhere Xyzzy mentioned certain thresholds of memory resulting in E=6 or E=12 B-S extension values.

2012-01-26, 01:10   #26

"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts

Quote:
 Originally Posted by chalsall You are most welcome. Now, might you continue the discussion you were wishing to hold when you asked for the record of the discussion to be moved?
My hope is that someone might shed light on RAM allocation in Stage 2 of P-1, and how it affects the choice of bounds and the number of Relative Primes. It already seems clear there is a marked difference between 8GB and 12GB machines. I see above that Dubslow is giving ~3.5-4.5GB to a single Stage 2, with 384 and 480 RP respectively resulting.

EDIT: These RAM amounts are roughly the same as what I have allocated to 2 HighMemWorkers. I recently reduced that from 3, but so far, this has not changed the B-S extension values. I consistently hit E=6, but never higher, at least so far.

Then there's Jerry's monster machine, using 20779MB and 960 RP.

I suppose, in some ways the questions have been roughly answered. I remember somewhere Xyzzy mentioned certain thresholds of memory resulting in E=6 or E=12 B-S extension values.

Last fiddled with by kladner on 2012-01-26 at 01:10

 2012-01-26, 02:04 #27 James Heinrich     "James Heinrich" May 2004 ex-Northern Ontario 10000100010102 Posts For what it's worth, on my good system I get: Code: Optimal P-1 factoring of M52686883 using up to 10000MB of memory. Assuming no factors below 2^72 and 2 primality tests saved if a factor is found. Optimal bounds are B1=520000, B2=10790000 Chance of finding a factor is an estimated 4.02% Using Core2 type-3 FFT length 2800K, Pass1=448, Pass2=6400, 2 threads Setting affinity to run helper thread 1 on logical CPU #8 Restarting worker with new memory settings. Available memory is 9500MB. Using 9497MB of memory. Processing 412 relative primes (0 of 432 already processed). Around 42M I can get 480 RPs into 9500MB; around 48M I can get 432 RPs into 9500MB; around 52M (as you see here) it can only get 412 of 432 into 9500MB. I really need to get that other 32GB of RAM for the machine. For what it's worth, I get E=12 on everything in this range.
 2012-01-26, 02:14 #28 kladner     "Kieren" Jul 2011 In My Own Galaxy! 2×3×1,693 Posts Thanks, James. I'll have to collect some results on my machine and make some comparisons. I take it from "...that other 32GB of RAM...." that you're currently scraping by with only 32GB. I'm considering getting mine from 8 to 16GB at the moment. It's only \$60-70. It does seem it would make some difference. I can still get the identical Corsair modules. I'm not sure if it would force slower timings, though.
 2012-01-26, 05:14 #29 kladner     "Kieren" Jul 2011 In My Own Galaxy! 2×3×1,693 Posts I think that the change to MaxHighMemWorkers=2 has started to show results. The latest Stage 2 worker is now showing 480 relative primes. The per-worker allocation has gone up. Of course, this is with the Night time settings, since it is after 2300 local: my night break point. Attached Thumbnails
2012-01-26, 12:53   #30
James Heinrich

"James Heinrich"
May 2004
ex-Northern Ontario

2·29·73 Posts

Quote:
 Originally Posted by kladner I think that the change to MaxHighMemWorkers=2 has started to show results.
Just be warned: you'll end up with a backlog. With reasonably generous RAM allocation, stage2 always takes longer than stage1, so you'll never catch up.

2012-01-26, 14:23   #31

"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts

Quote:
 Originally Posted by James Heinrich Just be warned: you'll end up with a backlog. With reasonably generous RAM allocation, stage2 always takes longer than stage1, so you'll never catch up.
Thanks. Yes, indeed I am already seeing "Looking for work that uses less memory." At the current rate of backlog it seems that catch-up sessions will have to be allowed every few days to a week.

2012-01-26, 14:59   #32
bcp19

Oct 2011

10101001112 Posts

Quote:
 Originally Posted by kladner My hope is that someone might shed light on RAM allocation in Stage 2 of P-1, and how it affects the choice of bounds and the number of Relative Primes. It already seems clear there is a marked difference between 8GB and 12GB machines. I see above that Dubslow is giving ~3.5-4.5GB to a single Stage 2, with 384 and 480 RP respectively resulting. EDIT: These RAM amounts are roughly the same as what I have allocated to 2 HighMemWorkers. I recently reduced that from 3, but so far, this has not changed the B-S extension values. I consistently hit E=6, but never higher, at least so far. Then there's Jerry's monster machine, using 20779MB and 960 RP. I suppose, in some ways the questions have been roughly answered. I remember somewhere Xyzzy mentioned certain thresholds of memory resulting in E=6 or E=12 B-S extension values.
I have 7000MB allocated to P95 on my 2400 and it's doing 52M exps and I notice on around 52.3 it gives E=6 and 52.9 it gives E=12. I figure I must be near the threshold with it jumping back and forth like that. Several 57M exp show E=6 as well. With the 7000 it can load about 248 into memory.

2012-01-26, 16:09   #33

"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts

Quote:
 Originally Posted by bcp19 I have 7000MB allocated to P95 on my 2400 and it's doing 52M exps and I notice on around 52.3 it gives E=6 and 52.9 it gives E=12. I figure I must be near the threshold with it jumping back and forth like that. Several 57M exp show E=6 as well. With the 7000 it can load about 248 into memory.
Thanks very much! This is just the sort of thing I was curious about.

 Similar Threads Thread Thread Starter Forum Replies Last Post Flatlander Twin Prime Search 12 2011-11-17 09:40 Raman Cunningham Tables 27 2008-12-04 21:17 AntonVrba Prime Cullen Prime 5 2007-04-04 04:59 hhh Prime Sierpinski Project 5 2006-11-22 17:50 VJS Prime Sierpinski Project 7 2006-07-25 14:31

All times are UTC. The time now is 05:17.

Thu Jun 1 05:17:02 UTC 2023 up 287 days, 2:45, 0 users, load averages: 0.83, 1.04, 1.02

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.

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