mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-02-04, 11:13   #12
axn
 
axn's Avatar
 
Jun 2003

154616 Posts
Default

Quote:
Originally Posted by S485122 View Post
Most users set at least some of their preferences and work settings through the menu, which implies the software must be able to change them in prime.txt.
I took it to mean, the program mustn't change any settings on its own. Doing so at the behest of user should be perfectly cromulent.
axn is offline   Reply With Quote
Old 2023-02-04, 11:35   #13
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

528410 Posts
Default

petrw1 is offline   Reply With Quote
Old 2023-02-04, 13:15   #14
Andrew Usher
 
Dec 2022

22×7×11 Posts
Default

In the absence of any other considerations, I would vote against. The difference between the two is logical and easily understood, and in at least one case I have moved an installation to a different system by deleting local.txt and letting prime95 re-make it; the behavior of the program in automatically updating only local.txt is also a useful thing to remember.

So I can't see why it needs to be done from the user standpoint; if it's a matter of simplifying things for you as programmer it would be different.

Moving all user-set options to prime.txt (possibly still allowing them in local.txt for compatibility), while retaining local.txt for the stuff normally written by the program, though, seems a reasonable solution from all perspectives.

Since Preda also mentioned it, I'll add that I also agree to his second point: the behavior of prime95 after running out of work is annoying and appears like a bug. Letting this happen is useful as there seems to be no other way to get it to stop exactly after the completion of a certain list of jobs.
Andrew Usher is offline   Reply With Quote
Old 2023-02-05, 05:42   #15
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5×11×149 Posts
Default

I could also neaten prime.txt by grouping "like-minded" settings together in their own section. For example, put all the values one shouldn't touch such as maintaining the rolling average or counting the CERT MB downloaded in a section marked [internal settings]. Benchmark settings could go in the [bench] section, etc.
Prime95 is offline   Reply With Quote
Old 2023-02-05, 06:25   #16
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

31·353 Posts
Default

A section that covers the "delete these values when copying to a new machine" would be useful.

And while we are at it:
Is/can there be a way to set-up Prime95 such that rather specifying a specific number of cores per worker, one could do something like this (in the Prime.txt)
[Workers]
WorkerDivisionMethod=1 {where 0 would be the current system and 1 would be new way}
WorkerDivision1=25 {the approximate percentage of the cores attributed to Worker1, Prime95 would round workers up or down as needed}
WorkerDivision2=25
WorkerDivision3=50 {if the total is less than 100%, then a test is performed to see if the sum of the percentages (when rounded) will leave 1 or more cores idle}

So if a person copies their setup from a 4 four machine to an 8 core machine, the number of workers would remain the same, but each would get a second core. If going from a 6 core to 8 core some workers might get more, others not.
Uncwilly is offline   Reply With Quote
Old 2023-02-05, 07:02   #17
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2×112×13 Posts
Default

And a way to make one worker per chiplet or numa node may be helpful (not something I would use at the moment though).
Mark Rose is offline   Reply With Quote
Old 2023-02-05, 13:42   #18
Andrew Usher
 
Dec 2022

22×7×11 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I could also neaten prime.txt by grouping "like-minded" settings together in their own section. For example, put all the values one shouldn't touch such as maintaining the rolling average or counting the CERT MB downloaded in a section marked [internal settings]. Benchmark settings could go in the [bench] section, etc.
Now this would be a good idea in any case, but even more so if you've decided to merge the two files.
Andrew Usher is offline   Reply With Quote
Old 2023-02-06, 10:49   #19
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

22·17·89 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I could also neaten prime.txt by grouping "like-minded" settings together in their own section. For example, put all the values one shouldn't touch such as maintaining the rolling average or counting the CERT MB downloaded in a section marked [internal settings]. Benchmark settings could go in the [bench] section, etc.
If this is done please make it a cosmetic feature i.e. if someone puts something in the wrong location it is moved to the correct location rather than ignored. Otherwise it just makes life more difficult.
henryzz is online now   Reply With Quote
Old 2023-02-06, 15:18   #20
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5·11·149 Posts
Default

Quote:
Originally Posted by henryzz View Post
If this is done please make it a cosmetic feature i.e. if someone puts something in the wrong location it is moved to the correct location rather than ignored. Otherwise it just makes life more difficult.
We think alike
Prime95 is offline   Reply With Quote
Old 2023-02-06, 22:56   #21
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·53·71 Posts
Default

Use as many section headings as you like, with one that is
[User modifiable]

(Everything else is user keep out or beware and possibly harmful or fatal to program execution)
That said, I've seen the screen coordinates for the GUI get trashed and need to be manually edited.
Editing program-generated lines would require user knowledge, or coaching by the author.

Some NUMA awareness would be great. Not sure how that changes the file content or structure.
kriesel is offline   Reply With Quote
Old 2023-02-07, 01:32   #22
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

5·2,237 Posts
Default

Quote:
Originally Posted by kriesel View Post
Use as many section headings as you like, with one that is [User modifiable].
A developer always enjoys receiving advice and feedback from users. Also eating your own dog food is useful.

Quote:
Originally Posted by kriesel View Post
Some NUMA awareness would be great. Not sure how that changes the file content or structure.
Not to mention the fundemental code-base.

Thanks everyone. This is where I come to calm down.
chalsall is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why prime.txt AND local.txt? SWWright Software 5 2020-09-26 10:59
If you could, what race would you eliminate, and why? The Carnivore Hobbies 16 2019-02-14 13:55
Windows 10 in Ubuntu, good idea, bad idea, or...? jasong jasong 8 2017-04-07 00:23
Does a large P-1 test eliminate need for ECM tests UberNumberGeek Factoring 53 2009-07-11 08:24
Using Factors to Eliminate Candidates Mivacca2 Math 8 2003-03-25 16:52

All times are UTC. The time now is 09:32.


Wed Mar 22 09:32:04 UTC 2023 up 216 days, 7 hrs, 0 users, load averages: 1.22, 1.08, 0.88

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.

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