mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2007-07-18, 00:02   #23
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5×11×137 Posts
Default

Quote:
Originally Posted by rayrob View Post
Any chance of a Windows x64 build to try?
Ask and ye shall receive: ftp://mersenne.org/gimps/p64v253.zip
Prime95 is online now  
Old 2007-07-19, 07:35   #24
Knappo
 
Knappo's Avatar
 
Aug 2005
69469, Germany

3×5 Posts
Exclamation

If started crunching a number with the new version. First the things I like (press FF on your mouse if you want to :-)

a) Seperating the threads gives you a very good overview over the things happening

Now the things I would prefer to be changed...

a) If you close one of the thread windows there is no chance to show it again (Or I haven't found it)

b) Communication is done in plain, so everybody can see your pass (Ok, this is also done by the "old" Prime95). Why not use at least a MD5 hash as passwort or (better but more complicated) using OpenSSL for the entire connection

c) Worst of all is, that your pass is shown in the programm (in the com-window). Why is it masked in the options but appears every time your computer talks to the server?


I haven't noticed a speed difference to the old version (in P-1) yet, but I will stay tuned.
Knappo is offline  
Old 2007-07-19, 08:50   #25
Knappo
 
Knappo's Avatar
 
Aug 2005
69469, Germany

3·5 Posts
Exclamation

Another glitch I've just seen:

The title of the worker states always the last message of the thread. How ever, after finishing P-1 stage 1 there is no new title.
My log currently states the following:
[Jul 19 10:29] ... stage 1 is 98.69% complete. Time: 393.230 sec.
[Jul 19 10:36] ... stage 1 is 99.46% complete. Time: 401.040 sec.
[Jul 19 10:41] ... stage 1 complete. 127080 transforms. Time: 5402.264 sec.
[Jul 19 10:41] Starting stage 1 GCD - please be patient.
[Jul 19 10:45] Stage 1 GCD complete. Time: 226.122 sec.
[Jul 19 10:45] Using 495MB of memory. Processing 25 relative primes (0 of 480 already processed).

But the title of the window says:
Worker thread #1 - 99.46% of .... P-1 stage 1

Shouldn't there be a newer message?

Update: The tooltip of the systra icon states also the old message:
"Prime 95 - 99.46% of .... P-1 stage 1"

Last fiddled with by Knappo on 2007-07-19 at 08:53
Knappo is offline  
Old 2007-07-19, 12:39   #26
monst
 
monst's Avatar
 
Mar 2007

179 Posts
Default

a) If you close one of the thread windows there is no chance to show it again (Or I haven't found it)

>> stopping and continuing will restore the worker thread windows.
monst is offline  
Old 2007-07-19, 14:38   #27
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5·11·137 Posts
Default

Quote:
Originally Posted by Knappo View Post
a) If you close one of the thread windows there is no chance to show it again
I've thought about disabling the "close window" menu choice. I'll have to research how to do that. Do you think we need a method to stop individual worker threads? Right now your only option is stop them all.

Quote:
b) Communication is done in plain, so everybody can see your password.
The new server does not use a password on the client side. The only problem I see is that someone can add their computer to your user id without your permission.

There is a password required to edit your user information on the web pages.


Thanks for the feedback.
Prime95 is online now  
Old 2007-07-19, 14:39   #28
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5×11×137 Posts
Default

Quote:
Originally Posted by Knappo View Post
But the title of the window says:
Worker thread #1 - 99.46% of .... P-1 stage 1
Shouldn't there be a newer message?
I'll fix that.
Prime95 is online now  
Old 2007-07-19, 16:19   #29
chappjc
 
chappjc's Avatar
 
Jul 2007

248 Posts
Exclamation Worker threads fighting over memory

Quote:
Originally Posted by Prime95 View Post
I've added links to the Linux, Linux 64-bit, and Intel Mac OS X versions. These are not well tested. Please report any bugs, though it is unlikely I'll be able to address them until I return around July 4th.

Linux specific tests and questions include:
1) load average option - I probably broke it.
2) Is the -B option needed anymore.
3) Should the check for another running version of mprime be changed or eliminated?
I have mprime 25.3 for linux 64-bit running on Ubuntu x86_64 7.04. The machine has two (2) dual core Xeons with 32GB RAM. So, that's 4 physical computational cores on 2 chips.

So I configured 4 worker threads and started mprime running using "whatever makes the most sense." Stage one seems to have completed over night, running in the background, but the program was stalled with 0% CPU when I checked this morning. So I killed the process (had to use -1 because -15 wouldn't do the job). When I restarted with ./mprime -d, I saw the four worker threads trying to start stage 2, but the first worker thread to start always claimed too much of the memory.

I don't remember the exact messages, but I think the other workers would say something like "another worker is using a lot of memory". I'll post the exact message later.

If I increased the day/night memory, the first thread would always claim an increasingly huge portion of the memory and the rest would not be able to start properly. I have tried 2048/2048 and still problems, but maybe 2 threads start now... not sure. Messages would continually flood the terminal because they never quite gave up trying to start. Again, I will post these messages later too.
chappjc is offline  
Old 2007-07-19, 17:37   #30
monst
 
monst's Avatar
 
Mar 2007

179 Posts
Default

George, I definitely vote for having the ability to stop individual threads. In the future as we move to more threads, this would be even more useful.
monst is offline  
Old 2007-07-19, 22:50   #31
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011011112 Posts
Default

Quote:
Originally Posted by chappjc View Post
I have mprime 25.3 for linux 64-bit running on 4 physical computational cores on 2 chips.

I don't remember the exact messages, but I think the other workers would say something like "another worker is using a lot of memory". I'll post the exact message later.
Thanks, you do not need to post more info. I've reproduced the trouble. I'll work on a fix.

The way it is supposed to work is one worker grabs the memory and does stage 2. The other three workers having insufficient memory to run stage 2 should start their LL test. They will do stage 2 when the first worker completes stage 2.
Prime95 is online now  
Old 2007-07-19, 23:45   #32
chappjc
 
chappjc's Avatar
 
Jul 2007

22×5 Posts
Default

I am naïve to the whole process of prime testing so bear with me here. Two questions:
  1. Why don't the four workers each take 1/4 of the memory for their stage 2? Stage 2 can apparently work with just about any amount of memory I give it.
  2. What is the optimal memory in terms of performance? As far as I can recall, an older v24 mprime asked for a value between 8 and 23 MB for some reason.
Thanks!
chappjc is offline  
Old 2007-07-19, 23:59   #33
chappjc
 
chappjc's Avatar
 
Jul 2007

101002 Posts
Default

Quote:
Originally Posted by Prime95 View Post
The other three workers having insufficient memory to run stage 2 should start their LL test. They will do stage 2 when the first worker completes stage 2.
To get around this in the meantime, I changed the number of workers to 1 and the number of threads per worker to 4. It plowed through stage 2 very quickly.

Could there be a separate option for "threads per stage 2 worker"? Alternatively, the stage 2 worker could always be run with an extra thread to finish faster. I'm not exactly sure what the point of that would be, however I observed that stage 2 P-1 seemed to benefit quite a bit from extra threads. Two gives the greatest boost, while a third and fourth added very little. (With four cores and mprime set to use 4 threads per worker, it only uses 260% of 400% max CPU usage.)
chappjc is offline  
Closed Thread

Thread Tools


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


Sun Aug 1 21:06:06 UTC 2021 up 9 days, 15:35, 0 users, load averages: 1.98, 1.56, 1.51

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.