mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-10-08, 13:35   #23
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

Quote:
Originally Posted by WraithX View Post
BTW, is there a way to tell it to stop working (not get additional assignments) once it has finished working on the current assignment?
Yes, in prime.txt add the line:
MaxExponents=0
or change the number if the line allready exist, then restart prime95. Now prime95 will finish your current work in worktodo.txt and then stop.
ATH is offline   Reply With Quote
Old 2008-10-08, 14:31   #24
Bent
 
Jul 2007

2·7 Posts
Default

I have a 4 core machine, and am running a seperate test in each core. The worker window numbers the CPU's 0, 1, 2, and 3, but the Worker thread settings window numbers them 1, 2, 3, and 4. Not a big deal but is a little confusing.
Bent is online now   Reply With Quote
Old 2008-10-08, 14:50   #25
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2·1,579 Posts
Default

This is because in Windows cpu's are numbered from 0 and up. In Windows Task Manager in the Processes tab if you rightclick on a process and choose "Set Affinity" you can see they are called CPU 0, CPU 1, CPU 2, CPU 3 on a quad core.
ATH is offline   Reply With Quote
Old 2008-10-08, 16:50   #26
Bent
 
Jul 2007

2·7 Posts
Default

Quote:
Originally Posted by ATH View Post
This is because in Windows cpu's are numbered from 0 and up. In Windows Task Manager in the Processes tab if you rightclick on a process and choose "Set Affinity" you can see they are called CPU 0, CPU 1, CPU 2, CPU 3 on a quad core.

I realize that. All I was saying is that it should be consistant, whether it is 1234 or 0123, it should be the same in both places.
Bent is online now   Reply With Quote
Old 2008-10-08, 17:04   #27
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165618 Posts
Default

Quote:
Originally Posted by Bent View Post
...it should be consistant, whether it is 1234 or 0123, it should be the same in both places.
I have sympathy for your view, but I'm inclined to leave it as is. Numbering worker windows from zero is just silly from a human user interface point of view. Humans number things from one. If I change the CPU numbering to 1 to 4, it will be inconsistent with the OS which numbers them from 0 to 3.

Also, if you ran two multithreaded workers would you have the workers numbered 0 and 2 (because they use CPUs 0&1 and 2&3)?
Prime95 is offline   Reply With Quote
Old 2008-10-08, 17:14   #28
adminc
 
adminc's Avatar
 
Oct 2008

22·3 Posts
Default

Did anyone see the initial memory setup problem i posted?
adminc is offline   Reply With Quote
Old 2008-10-08, 19:22   #29
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

753710 Posts
Default

Quote:
Originally Posted by adminc View Post
not sure if this is what is supposed to happen but when first running the program, it seems to ask twice for the memory limits. It first asks for the limits, and then says 8mb of memory is not enough, asks me for the mem limits again and then gets them right.
Mprime has always done this. Actually it doesn't say 8MB is not enough, it says are you sure you want to leave the settings at the minimum.

Quote:
Also when asking for the priority at which I want t run, it gives bounds from 1 - 10. On Linux though I believe its actually called the "nice" value and functions differently than in windows. Perhaps you could look into this.
The program's 1 - 10 is translated into Linux's 0 to 19 (or is it -19 to 0). This keeps it consistent with the Windows program's numbering. Anyway, leave it set to 1.
Prime95 is offline   Reply With Quote
Old 2008-10-08, 19:28   #30
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

5·479 Posts
Default

George, any idea on when the next stable version will be released?
ixfd64 is offline   Reply With Quote
Old 2008-10-08, 20:58   #31
adminc
 
adminc's Avatar
 
Oct 2008

1210 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Mprime has always done this. Actually it doesn't say 8MB is not enough, it says are you sure you want to leave the settings at the minimum.



The program's 1 - 10 is translated into Linux's 0 to 19 (or is it -19 to 0). This keeps it consistent with the Windows program's numbering. Anyway, leave it set to 1.

The reason I posted this, is because the nice value didnt actually change for me even when I set the priority to 1.

(the nice stayed at 0)
adminc is offline   Reply With Quote
Old 2008-10-09, 00:22   #32
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011100012 Posts
Default

Quote:
Originally Posted by adminc View Post
The reason I posted this, is because the nice value didnt actually change for me even when I set the priority to 1.

(the nice stayed at 0)
You need to check the priority of the worker threads. The main UI thread and the communications thread are not affected by the priority setting.
Prime95 is offline   Reply With Quote
Old 2008-10-09, 01:41   #33
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by adminc View Post
Did anyone see the initial memory setup problem i posted?
My bad. You were correct - the software is asking the 8MB question even if you initially set memory to a larger value. It will be fixed in the next update.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 27.3 Prime95 Software 148 2012-03-18 19:24
Prime95 version 26.3 Prime95 Software 76 2010-12-11 00:11
Prime95 version 25.5 Prime95 PrimeNet 369 2008-02-26 05:21
Prime95 version 25.4 Prime95 PrimeNet 143 2007-09-24 21:01
When the next prime95 version ? pacionet Software 74 2006-12-07 20:30

All times are UTC. The time now is 14:01.


Mon Aug 2 14:01:31 UTC 2021 up 10 days, 8:30, 0 users, load averages: 3.52, 3.44, 2.77

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