PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Problems and Help : How do I restrict computation to one of 2 CPUs.

Author Message
Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 53
ID: 1087751
Credit: 1,568,921
RAC: 8,163
321 LLR Silver: Earned 100,000 credits (105,572)Cullen LLR Silver: Earned 100,000 credits (122,904)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (148,757)PPS LLR Silver: Earned 100,000 credits (126,182)SGS LLR Silver: Earned 100,000 credits (101,021)Woodall LLR Silver: Earned 100,000 credits (205,147)321 Sieve Silver: Earned 100,000 credits (123,197)Generalized Cullen/Woodall Sieve Silver: Earned 100,000 credits (104,315)PPS Sieve Silver: Earned 100,000 credits (232,599)AP 26/27 Silver: Earned 100,000 credits (125,333)GFN Silver: Earned 100,000 credits (139,515)PSA Bronze: Earned 10,000 credits (34,380)
Message 128140 - Posted: 19 Mar 2019 | 17:58:43 UTC

I tried to do this as follows:

1. set nomore work via boinc
2. wait for it to only be using 1 CPU
3. add a computation preference to only use 1 CPU
4. set allowmorework via boinc

However I found it then strated using both CPUs again. I found this in the log.

866: 19-Mar-2019 05:10:12 (low) [PrimeGrid] Computer location: Jupiter
867: 19-Mar-2019 05:10:12 (low) [] General prefs: using separate prefs for Jupit
er
868: 19-Mar-2019 05:10:12 (low) [] Reading preferences override file
869: 19-Mar-2019 05:10:12 (low) [] Preferences:
870: 19-Mar-2019 05:10:12 (low) [] max memory usage when active: 985.22 MB
871: 19-Mar-2019 05:10:12 (low) [] max memory usage when idle: 1773.39 MB
872: 19-Mar-2019 05:10:12 (low) [] max disk usage: 50.58 GB
873: 19-Mar-2019 05:10:12 (low) [] don't use GPU while active
874: 19-Mar-2019 05:10:12 (low) [] suspend work if non-BOINC CPU load exceeds 25
%
875: 19-Mar-2019 05:10:12 (low) [] (to change preferences, visit a project web site or select Preferences in the Manager)


I have removed the separate computation preferences until I understand what I am doing.

Profile Rick Reynolds
Avatar
Send message
Joined: 13 Aug 10
Posts: 6982
ID: 65483
Credit: 3,922,668,908
RAC: 1,656,413
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,148,880)Cullen LLR Ruby: Earned 2,000,000 credits (2,773,730)ESP LLR Ruby: Earned 2,000,000 credits (2,084,793)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,356,142)PPS LLR Jade: Earned 10,000,000 credits (14,123,184)PSP LLR Ruby: Earned 2,000,000 credits (2,084,850)SoB LLR Turquoise: Earned 5,000,000 credits (5,014,268)SR5 LLR Jade: Earned 10,000,000 credits (11,169,992)SGS LLR Turquoise: Earned 5,000,000 credits (6,132,465)TRP LLR Turquoise: Earned 5,000,000 credits (6,568,836)Woodall LLR Ruby: Earned 2,000,000 credits (3,612,313)321 Sieve Sapphire: Earned 20,000,000 credits (40,081,954)Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (127,922,665)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (30,984,158)PPS Sieve Double Ruby: Earned 2,000,000,000 credits (2,022,570,796)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,134,964)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (7,013,696)AP 26/27 Double Bronze: Earned 100,000,000 credits (105,833,611)GFN Double Bronze: Earned 100,000,000 credits (150,385,601)PSA Double Amethyst: Earned 1,000,000,000 credits (1,370,700,486)
Message 128142 - Posted: 19 Mar 2019 | 18:10:10 UTC

Are you defining "CPUs" as cores/threads or as 2 different pc's? I don't use the web based control to handle limiting the number of cores/threads available to be used. I use the boinc interface on the pc, options / computing preferences and then limit the percent of cpus to use. So if I have 4 cores but 8 threads (due to hyper threading being on) I put in 50 and it will only use 4 threads which means it's really using 4 real cores. Not sure if this is what you are looking for or not.

Cheers

Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 53
ID: 1087751
Credit: 1,568,921
RAC: 8,163
321 LLR Silver: Earned 100,000 credits (105,572)Cullen LLR Silver: Earned 100,000 credits (122,904)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (148,757)PPS LLR Silver: Earned 100,000 credits (126,182)SGS LLR Silver: Earned 100,000 credits (101,021)Woodall LLR Silver: Earned 100,000 credits (205,147)321 Sieve Silver: Earned 100,000 credits (123,197)Generalized Cullen/Woodall Sieve Silver: Earned 100,000 credits (104,315)PPS Sieve Silver: Earned 100,000 credits (232,599)AP 26/27 Silver: Earned 100,000 credits (125,333)GFN Silver: Earned 100,000 credits (139,515)PSA Bronze: Earned 10,000 credits (34,380)
Message 128144 - Posted: 19 Mar 2019 | 18:15:34 UTC - in response to Message 128142.

Are you defining "CPUs" as cores/threads or as 2 different pc's? I don't use the web based control to handle limiting the number of cores/threads available to be used. I use the boinc interface on the pc, options / computing preferences and then limit the percent of cpus to use. So if I have 4 cores but 8 threads (due to hyper threading being on) I put in 50 and it will only use 4 threads which means it's really using 4 real cores. Not sure if this is what you are looking for or not.

Cheers



I used the "On multiprocessors, use at most .... processors" option via the web page.

Profile Rick Reynolds
Avatar
Send message
Joined: 13 Aug 10
Posts: 6982
ID: 65483
Credit: 3,922,668,908
RAC: 1,656,413
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,148,880)Cullen LLR Ruby: Earned 2,000,000 credits (2,773,730)ESP LLR Ruby: Earned 2,000,000 credits (2,084,793)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,356,142)PPS LLR Jade: Earned 10,000,000 credits (14,123,184)PSP LLR Ruby: Earned 2,000,000 credits (2,084,850)SoB LLR Turquoise: Earned 5,000,000 credits (5,014,268)SR5 LLR Jade: Earned 10,000,000 credits (11,169,992)SGS LLR Turquoise: Earned 5,000,000 credits (6,132,465)TRP LLR Turquoise: Earned 5,000,000 credits (6,568,836)Woodall LLR Ruby: Earned 2,000,000 credits (3,612,313)321 Sieve Sapphire: Earned 20,000,000 credits (40,081,954)Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (127,922,665)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (30,984,158)PPS Sieve Double Ruby: Earned 2,000,000,000 credits (2,022,570,796)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,134,964)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (7,013,696)AP 26/27 Double Bronze: Earned 100,000,000 credits (105,833,611)GFN Double Bronze: Earned 100,000,000 credits (150,385,601)PSA Double Amethyst: Earned 1,000,000,000 credits (1,370,700,486)
Message 128145 - Posted: 19 Mar 2019 | 18:25:09 UTC - in response to Message 128144.

I used the "On multiprocessors, use at most .... processors" option via the web page.


Of course you have made sure your pc is on the correct profile?

Since I've never used the web interface I did see where there are 2 options for mulitprocessors. First looks like a strict number and then the line under is a percent. So someone with more knowledge might be able to help more but if you have the line On multipleprocessors, use at most 100% of the processors I'd change that to 50 and see (this is the line that says Enforced by version 6.1+)

Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 53
ID: 1087751
Credit: 1,568,921
RAC: 8,163
321 LLR Silver: Earned 100,000 credits (105,572)Cullen LLR Silver: Earned 100,000 credits (122,904)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (148,757)PPS LLR Silver: Earned 100,000 credits (126,182)SGS LLR Silver: Earned 100,000 credits (101,021)Woodall LLR Silver: Earned 100,000 credits (205,147)321 Sieve Silver: Earned 100,000 credits (123,197)Generalized Cullen/Woodall Sieve Silver: Earned 100,000 credits (104,315)PPS Sieve Silver: Earned 100,000 credits (232,599)AP 26/27 Silver: Earned 100,000 credits (125,333)GFN Silver: Earned 100,000 credits (139,515)PSA Bronze: Earned 10,000 credits (34,380)
Message 128147 - Posted: 19 Mar 2019 | 18:42:19 UTC - in response to Message 128145.

I used the "On multiprocessors, use at most .... processors" option via the web page.


Of course you have made sure your pc is on the correct profile?


I was going to say "Duh! Of course I did." But actually now I am not so sure and I can see no way of checking now that I have backed it out.

Since I've never used the web interface I did see where there are 2 options for mulitprocessors. First looks like a strict number and then the line under is a percent. So someone with more knowledge might be able to help more but if you have the line On multipleprocessors, use at most 100% of the processors I'd change that to 50 and see (this is the line that says Enforced by version 6.1+)


Yeah I might try that but you don't seem any more sure. I'm guessing I better try again and make sure I do it correctly this time.

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 980
ID: 37043
Credit: 456,088,907
RAC: 80,626
321 LLR Gold: Earned 500,000 credits (511,386)Cullen LLR Gold: Earned 500,000 credits (510,818)ESP LLR Gold: Earned 500,000 credits (580,104)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (564,210)PPS LLR Turquoise: Earned 5,000,000 credits (5,086,073)PSP LLR Gold: Earned 500,000 credits (686,232)SoB LLR Gold: Earned 500,000 credits (785,805)SR5 LLR Gold: Earned 500,000 credits (685,938)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Gold: Earned 500,000 credits (512,571)Woodall LLR Gold: Earned 500,000 credits (673,276)321 Sieve Ruby: Earned 2,000,000 credits (2,006,315)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (335,808,988)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,120,256)GFN Sapphire: Earned 20,000,000 credits (24,806,170)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 128154 - Posted: 20 Mar 2019 | 6:42:47 UTC - in response to Message 128144.

Are you defining "CPUs" as cores/threads or as 2 different pc's? I don't use the web based control to handle limiting the number of cores/threads available to be used. I use the boinc interface on the pc, options / computing preferences and then limit the percent of cpus to use. So if I have 4 cores but 8 threads (due to hyper threading being on) I put in 50 and it will only use 4 threads which means it's really using 4 real cores. Not sure if this is what you are looking for or not.

Cheers



I used the "On multiprocessors, use at most .... processors" option via the web page.


I do the same thing except inside the Boinc Manager, it's default is 100% of the cpu cores, I change that to 99% if I run a cpu work unit so that one cpu core is free just for the cpu to use since they crunch much faster than the the cpu does and gets far more credits too. That mean that on a 6 core cpu machine only 5 cores are crunching wu's, but on an 8 core cpu machine 7 cores are being used. This setting is done machine by machine and does not affect any other machine.

If I want to run using fewer cpu cores, like on my laptop I also use for browsing I changed it to 50% and only 4 of the 8 cores are used for crunching.

Post to thread

Message boards : Problems and Help : How do I restrict computation to one of 2 CPUs.

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.05, 1.26, 1.28
Generated 21 Jul 2019 | 17:17:35 UTC