mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2009-08-16, 19:04   #188
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2·33·109 Posts
Default

Quote:
Originally Posted by rogue View Post
Right now you can't. I'll do it for the next release.

BTW, are you saying that you want PFGW to run in normal priority? Can I ask why? If this is a main computer or one with a single CPU, that could significantly hurt the performance of the PC.
It is a main pc. I have got used to it being slightly sluggish(my old pc was with nothing running).
I am using prpnet with pfgw to absorb wasted cycles from a four core gnfs which for some reason only uses up ~3 cores between 4 sievers on linux.
I want to be able to run a couple of llrs in the background so that when factmsieve.pl is postprocessing or prpnet is communicating 100 results(really quick to process) it doesn't waste cpu cycles.
henryzz is offline   Reply With Quote
Old 2009-08-16, 23:41   #189
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D216 Posts
Default

Quote:
Originally Posted by Cruelty View Post
I've found out what was causing it:
Code:
frequency=60
When the client was connecting each 60 minutes not all results were ready yet at that point of time.
BTW: what is the reason for this variable anyway?
This variable forces the client to report results back to the server after a specified amount of time regardless of how much work was done. This is a holdover from ECMNet. I could probably remove it. Would anyone have objections to that?

Quote:
Originally Posted by henryzz View Post
I am using prpnet with pfgw to absorb wasted cycles from a four core gnfs which for some reason only uses up ~3 cores between 4 sievers on linux.
I want to be able to run a couple of llrs in the background so that when factmsieve.pl is postprocessing or prpnet is communicating 100 results(really quick to process) it doesn't waste cpu cycles.
Adding support for that should be easy, but there are caveats. Most of the other software you are running will run at IDLE priority. PFGW will steal cycles from the other processes. As you have four cores, that shouldn't be too big a deal. I would not recommend the setting for a single core PC.
rogue is online now   Reply With Quote
Old 2009-08-16, 23:54   #190
Lennart
 
Lennart's Avatar
 
"Lennart"
Jun 2007

25×5×7 Posts
Default

Quote:
Originally Posted by rogue View Post
This variable forces the client to report results back to the server after a specified amount of time regardless of how much work was done. This is a holdover from ECMNet. I could probably remove it. Would anyone have objections to that?
For me you can remove it.

Lennart
Lennart is offline   Reply With Quote
Old 2009-08-17, 01:49   #191
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by Lennart View Post
For me you can remove it.

Lennart
Ditto here.
mdettweiler is offline   Reply With Quote
Old 2009-08-17, 06:18   #192
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Quote:
Originally Posted by rogue View Post
This variable forces the client to report results back to the server after a specified amount of time regardless of how much work was done. This is a holdover from ECMNet. I could probably remove it. Would anyone have objections to that?
It might make sense in certain configurations, but it should behave a little bit different. IMO server should be notified that the client is still working on specified work and as a result extend the "reservation" period. This might become important in the future when PRPnet will be used to test much larger exponents.
BTW: I have set up prpclient on a remote computer running as a service. Is it possible that at shutdown / restart of the PC prpclient will force cllr.exe to save current status, so that after restart it will start exactly where it left?
Cruelty is offline   Reply With Quote
Old 2009-08-17, 12:58   #193
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110100102 Posts
Default

Quote:
Originally Posted by Cruelty View Post
It might make sense in certain configurations, but it should behave a little bit different. IMO server should be notified that the client is still working on specified work and as a result extend the "reservation" period. This might become important in the future when PRPnet will be used to test much larger exponents.
BTW: I have set up prpclient on a remote computer running as a service. Is it possible that at shutdown / restart of the PC prpclient will force cllr.exe to save current status, so that after restart it will start exactly where it left?
I could possibly use that as a "heartbeat" to tell the server that the client is still actively working, but if that were the case I would probably hide it from the user and put it into a separate thread. Otherwise it would require to client to stop and restart.

Regarding the shutdown/restart, that is really a question for cllr. If it creates an appropriate temp file then it will start the test where it stopped when it restarted.
rogue is online now   Reply With Quote
Old 2009-08-17, 16:12   #194
Cruelty
 
Cruelty's Avatar
 
May 2005

162410 Posts
Default

Quote:
Originally Posted by rogue View Post
Regarding the shutdown/restart, that is really a question for cllr. If it creates an appropriate temp file then it will start the test where it stopped when it restarted.
while running in normal window and pressing ctrl+c temp file is created and then application restarts from that point, however closing system when running either in window mode or as a service does not produce the temp file... not sure if this is an issue with cllr or prpclient
Cruelty is offline   Reply With Quote
Old 2009-08-17, 16:18   #195
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

624910 Posts
Default

Quote:
Originally Posted by Cruelty View Post
while running in normal window and pressing ctrl+c temp file is created and then application restarts from that point, however closing system when running either in window mode or as a service does not produce the temp file... not sure if this is an issue with cllr or prpclient
Actually, I think that's not an issue with either, but rather with Windows. When shutting down, Windows' behavior regarding this can be rather hard to predict. For example, I've seen Windows halt its shutdown indefinitely to wait for a user to give a response to PRPnet's shutdown prompt when stopoption is set to 0. Yet, I'm not sure if it actually can tell cllr.exe to shut down properly. Windows process signals are rather limited compared to what's available in Linux, and thus it's somewhat harder to tell an application to shut down "properly".

Observation is probably the best way to figure out how it will behave in this regard. To that end, I've noticed on one of my machines which runs PRPnet as a service that it *doesn't* seem to produce save files when I shut down the client through services.msc or "net stop". Your mileage may vary, however.
mdettweiler is offline   Reply With Quote
Old 2009-08-19, 02:57   #196
PCZ
 
PCZ's Avatar
 
Jun 2006
Chertsey Surrey UK

16616 Posts
Default

rogue

Is there a way to make prpnet remove completed tests from the candidates file. ?
Seems that all the tests i have done are still in the candidates file and it is growing very large.

Server is now using more and more processing time updating the candidates file as its size is increasing..
PCZ is offline   Reply With Quote
Old 2009-08-19, 04:25   #197
PCZ
 
PCZ's Avatar
 
Jun 2006
Chertsey Surrey UK

2×179 Posts
Default

Trying a newer version and it is removing inactive tests.
PCZ is offline   Reply With Quote
Old 2009-08-19, 12:11   #198
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by PCZ View Post
rogue

Is there a way to make prpnet remove completed tests from the candidates file. ?
Seems that all the tests i have done are still in the candidates file and it is growing very large.

Server is now using more and more processing time updating the candidates file as its size is increasing..
It will remove if you have double-checking turned off. If you have double-checking turned on, it will wait for a second test with a matching residue. Read the prpserver.ini file.
rogue is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNet 5.4.3 Released rogue Software 178 2021-06-24 11:56
PSP goes prpnet ltd Prime Sierpinski Project 86 2012-06-06 02:30
PRPNet 4.0.0 Released rogue Software 84 2011-11-16 21:20
PRPNet 4.0.1 Released Joe O Sierpinski/Riesel Base 5 1 2010-10-22 20:11
PRPNet 3.0.0 Released rogue Conjectures 'R Us 220 2010-10-12 20:48

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


Mon Aug 2 13:00:37 UTC 2021 up 10 days, 7:29, 0 users, load averages: 2.18, 1.78, 1.54

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.