mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2021-12-08, 12:56   #1
lisanderke
 
"Lisander Viaene"
Oct 2020
Belgium

109 Posts
Default Behavior of MaxHighMemWorkers in local.txt on P-1 Stage 2

Hello, I was wondering what the effect of the MaxHighMemWorkers setting in local.txt exactly is. I've notice the following behavior:


(MaxHighMemWorkers set to 1 and only 2 workers on this machine running P-1)


Worker 1 & 2: both start stage 1 on 108M exponent.
Worker 1: reaches stage 2 init, takes all memory (as expected)
Worker 2: reaches end of stage 1, acknowledges maxhighmemworkers is set to 1, finds low memory worktodo entry, switches to next exponent/worktodo entry and enters stage 1.
Worker 1: (let's assume this one finishes before stage1 of worker 2 completes, otherwise the previous step again ) completes stage 2, now onto next exponent, stage 1.


Both workers are now in stage 1, one will enter stage 2, the other will skip stage 2 if the other hasn't finished yet and will work on the next exponent in the meantime. I've noticed that when stage 2 is skipped, the worktodo entry remains and no work done (only stage 1) is being sent to Primenet.


My question now is; When does P-1 stage 2 of the skipped worktodo entries, with only stage 1 done, start?

My goal for doing this is to use my allocated 22GB of RAM as often as possible. Since I don't lose any throughput running 2 workers over just 1 worker, it would be nice to always have one worker doing stage 2, instead of having 40-60% of the time where no stage 2 is being done (and no ram used)

Last fiddled with by lisanderke on 2021-12-08 at 13:04
lisanderke is offline   Reply With Quote
Old 2021-12-09, 06:08   #2
MattcAnderson
 
MattcAnderson's Avatar
 
"Matthew Anderson"
Dec 2010
Oregon, USA

21608 Posts
Default

Welcome to mersenneforum.org !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Best of luck
MattcAnderson is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
P-1 Stage 1 vs Stage 2 runtime SethTro Information & Answers 10 2020-01-24 02:35
Observations with MaxHighMemWorkers petrw1 PrimeNet 5 2011-04-20 15:56
Stage 1 with mprime/prime95, stage 2 with GMP-ECM D. B. Staple Factoring 2 2007-12-14 00:21
Need help to run stage 1 and stage 2 separately jasong GMP-ECM 9 2007-10-25 22:32
Stage 1 and stage 2 tests missing Matthias C. Noc PrimeNet 5 2004-08-25 15:42

All times are UTC. The time now is 06:00.


Tue Jun 28 06:00:59 UTC 2022 up 75 days, 4:02, 1 user, load averages: 1.13, 1.03, 1.01

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.

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