Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Project Staging Area :
Questions about percentages and individual cores
Author |
Message |
|
I have started PSA and am really fascinated by it except I seem to have questions that I cannot find answers to.
I originally started it with the 4 GFN projects at 25% each. I did some of each and then decided to change what I was doing. I updated to remove the two larger GFN and set just 65536 and 32768 along with PPSElow and PPSElow2 all at 25%. I left it run a day but all it was doing was 65536 and not switching. All 4 cores kept doing the same work. I then set 65536 to 0 and set 32768 to 10% and the two PPSElow to 45%. All it did was 32768. Why is it not using the percentages?
Second part of the question, with a Core 2 Quad I could essentially set each core to different percentages, correct? I mean if I wanted one core just to run 524288, one core to run 65536 and 32768 and the other two cores to run PPSElow and PPSElow2, it seems I could do that without any issue, but I want to be sure.
Thanks for your insight on this. | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,244,369 RAC: 880,036
                               
|
Second part of the question, with a Core 2 Quad I could essentially set each core to different percentages, correct? I mean if I wanted one core just to run 524288, one core to run 65536 and 32768 and the other two cores to run PPSElow and PPSElow2, it seems I could do that without any issue, but I want to be sure.
Correct. The four instances are independent of each other.
PRPNet lets you explicitly run separate projects on each core, which is something you can't easily do with BOINC.
____________
My lucky number is 75898524288+1 | |
|
|
I have started PSA and am really fascinated by it except I seem to have questions that I cannot find answers to.
I originally started it with the 4 GFN projects at 25% each. I did some of each and then decided to change what I was doing. I updated to remove the two larger GFN and set just 65536 and 32768 along with PPSElow and PPSElow2 all at 25%. I left it run a day but all it was doing was 65536 and not switching. All 4 cores kept doing the same work. I then set 65536 to 0 and set 32768 to 10% and the two PPSElow to 45%. All it did was 32768. Why is it not using the percentages?
Second part of the question, with a Core 2 Quad I could essentially set each core to different percentages, correct? I mean if I wanted one core just to run 524288, one core to run 65536 and 32768 and the other two cores to run PPSElow and PPSElow2, it seems I could do that without any issue, but I want to be sure.
Thanks for your insight on this.
I think Michael may have answered and you may have already gotten it from someone else but the best way to use each core for specific jobs you need to start a prpclient for each core. You will need to create a separate prpclient folder/dir for each instance, make sure it has all the files and a prpclient.ini file then start them up. In the ini file you can control what jobs you want to run.
the percentages in the ini deal more with the jobs run per instance and yes, it's not always getting them solely based on the percents you have. I'm not sure what the counter is but like you i've seen jobs get pulled down more than the percent listed.
if you've already gotten these answers sorry for the re-run
Rick
ps - prpnet is very addictive :)
____________
@AggieThePew
| |
|
|
I've been rolling the different cores since I discovered I could.
The percentage piece has me for a loop, though. I have not switch in days on them.
As soon as I get the next goal done on PG, I will be moving more cores to the PSA. | |
|
|
As Rick said, to make different cores do different work, you just have to edit prpclient.ini files in each prpclient folder (you can create as many as the number of cores in your host by clicking the appropriate install exe), instead of editing only the master file on the main folder.
AFAIK, percentages set in the prpclient.file are not very accurate (they seem to became more accurate the more work you have done). Those percentages represent the time spent on each subproject and not the number of tasks of each. So, with 25% to each GFN, for instance, you'll get more tasks from the shorter ones than from the longer.
There are two ways to avoid getting work from a specific sub-project: setting it to 0 (you'll only get that type of tasks if no other are available) or by commenting it (//), in which case you will not get that type at all.
You should only comment a port if you have no unfinished work of it to be finished. Otherwise, the 0 setting option is better (the client will finish the work and only move to another selected port upon completion of the unfinished work).
And congrats on the twins!
____________
676754^262144+1 is prime | |
|
|
Well for example the last 4 days I have set the following:
GFN32768 at 50% and get 5 tasks
GFN65536 at 50% and get 1 task
It has only done GFN32768
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,244,369 RAC: 880,036
                               
|
Well for example the last 4 days I have set the following:
GFN32768 at 50% and get 5 tasks
GFN65536 at 50% and get 1 task
It has only done GFN32768
That's not so unreasonable, since it goes by time. I suspect GFN65536 takes 3 to 4 times as long to run as GFN32768. If it's working correctly, you should be getting another GFN65536 soon.
Depending on which it gives you first, assuming it's obeying your percentages, you could have anywhere from 3 to 8 GFN32768's before getting your second GFN65536.
____________
My lucky number is 75898524288+1 | |
|
|
Well for example the last 4 days I have set the following:
GFN32768 at 50% and get 5 tasks
GFN65536 at 50% and get 1 task
It has only done GFN32768
Try to see how long did each of them took to crunch (on each prpclient folder there's a file named "test_results.log" that has that info) and compare the times of each type of tasks to see how far from the set percentages you are.
With long tasks (like those two running on cpu), it may take some time to get close to 50/50. On the long run, though, you should get close to that target. | |
|
rroonnaalldd Volunteer developer Volunteer tester
 Send message
Joined: 3 Jul 09 Posts: 1213 ID: 42893 Credit: 34,634,263 RAC: 0
                 
|
Well for example the last 4 days I have set the following:
GFN32768 at 50% and get 5 tasks
GFN65536 at 50% and get 1 task
It has only done GFN32768
Try to see how long did each of them took to crunch (on each prpclient folder there's a file named "test_results.log" that has that info) and compare the times of each type of tasks to see how far from the set percentages you are.
It depends of the used genefer-version whether you are able to see computation times in this log-file. I reported this in march this year in thread Generalized Fermat Prime Search.
____________
Best wishes. Knowledge is power. by jjwhalen
| |
|
Message boards :
Project Staging Area :
Questions about percentages and individual cores |