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 : Using more than one core when specifying one thread for LLR

Author Message
Michael Millerick
Volunteer tester
Send message
Joined: 4 Feb 09
Posts: 702
ID: 35074
Credit: 168,757,947
RAC: 133,981
Found 3 primes in the 2020 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,063,954)Cullen LLR Amethyst: Earned 1,000,000 credits (1,041,705)ESP LLR Turquoise: Earned 5,000,000 credits (5,192,769)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,319,313)PPS LLR Jade: Earned 10,000,000 credits (10,259,745)PSP LLR Ruby: Earned 2,000,000 credits (2,012,651)SoB LLR Amethyst: Earned 1,000,000 credits (1,064,898)SR5 LLR Ruby: Earned 2,000,000 credits (2,085,475)SGS LLR Amethyst: Earned 1,000,000 credits (1,320,046)TRP LLR Amethyst: Earned 1,000,000 credits (1,026,807)Woodall LLR Amethyst: Earned 1,000,000 credits (1,042,977)321 Sieve Turquoise: Earned 5,000,000 credits (5,235,253)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,911,344)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,077,092)PPS Sieve Emerald: Earned 50,000,000 credits (50,200,870)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,034,014)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,774)AP 26/27 Turquoise: Earned 5,000,000 credits (5,042,439)GFN Jade: Earned 10,000,000 credits (17,892,773)PSA Emerald: Earned 50,000,000 credits (52,865,231)
Message 136061 - Posted: 29 Dec 2019 | 8:15:30 UTC

In an effort to be nice to my wife's ears and decrease the fan noise from one of my computers, I have been trying to run less on it than it is capable of. The computer has a 9700k in it, and I have set ncpus=6 in the cc_config.xml.

I've noticed that when running PPSE with a single thread set in the PrimeGrid preferences that the Windows Task Manager shows each of the primegrid_cllr.exe processes using 1/6 of the CPU. I would expect each one to only be using 1/8 of the CPU since I have set them to use a single thread in the preferences.

Does anyone know where the extra CPU time is going?
____________

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1064
ID: 37043
Credit: 468,187,262
RAC: 56,167
Discovered 1 mega prime321 LLR Amethyst: Earned 1,000,000 credits (1,143,310)Cullen LLR Amethyst: Earned 1,000,000 credits (1,165,737)ESP LLR Amethyst: Earned 1,000,000 credits (1,021,868)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,046,510)PPS LLR Turquoise: Earned 5,000,000 credits (5,090,575)PSP LLR Amethyst: Earned 1,000,000 credits (1,325,581)SoB LLR Amethyst: Earned 1,000,000 credits (1,043,824)SR5 LLR Ruby: Earned 2,000,000 credits (2,050,766)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Amethyst: Earned 1,000,000 credits (1,033,808)Woodall LLR Amethyst: Earned 1,000,000 credits (1,088,488)321 Sieve Ruby: Earned 2,000,000 credits (3,027,873)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (339,112,568)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,140,471)GFN Sapphire: Earned 20,000,000 credits (27,145,117)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 136063 - Posted: 29 Dec 2019 | 12:11:04 UTC - in response to Message 136061.
Last modified: 29 Dec 2019 | 12:13:07 UTC

In an effort to be nice to my wife's ears and decrease the fan noise from one of my computers, I have been trying to run less on it than it is capable of. The computer has a 9700k in it, and I have set ncpus=6 in the cc_config.xml.

I've noticed that when running PPSE with a single thread set in the PrimeGrid preferences that the Windows Task Manager shows each of the primegrid_cllr.exe processes using 1/6 of the CPU. I would expect each one to only be using 1/8 of the CPU since I have set them to use a single thread in the preferences.

Does anyone know where the extra CPU time is going?


They are idling in the background loading webpages or whatever else you have your pc doing, I do this on my main laptop to prevent it from over heating and still make it usable while I crunch with it. Lots of people do this to give their gpu's a full cpu core so it can crunch at full speed, they would have it set to only use 7 cpu cores instead of your 6.

Michael Millerick
Volunteer tester
Send message
Joined: 4 Feb 09
Posts: 702
ID: 35074
Credit: 168,757,947
RAC: 133,981
Found 3 primes in the 2020 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,063,954)Cullen LLR Amethyst: Earned 1,000,000 credits (1,041,705)ESP LLR Turquoise: Earned 5,000,000 credits (5,192,769)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,319,313)PPS LLR Jade: Earned 10,000,000 credits (10,259,745)PSP LLR Ruby: Earned 2,000,000 credits (2,012,651)SoB LLR Amethyst: Earned 1,000,000 credits (1,064,898)SR5 LLR Ruby: Earned 2,000,000 credits (2,085,475)SGS LLR Amethyst: Earned 1,000,000 credits (1,320,046)TRP LLR Amethyst: Earned 1,000,000 credits (1,026,807)Woodall LLR Amethyst: Earned 1,000,000 credits (1,042,977)321 Sieve Turquoise: Earned 5,000,000 credits (5,235,253)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,911,344)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,077,092)PPS Sieve Emerald: Earned 50,000,000 credits (50,200,870)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,034,014)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,774)AP 26/27 Turquoise: Earned 5,000,000 credits (5,042,439)GFN Jade: Earned 10,000,000 credits (17,892,773)PSA Emerald: Earned 50,000,000 credits (52,865,231)
Message 136074 - Posted: 29 Dec 2019 | 16:05:02 UTC

It’s not idling or loading webpages or anything like that. The task manager explicitly says that primegrid_cllr.exe is using 16.6% CPU instead of 12.5%.
____________

Kellen
Send message
Joined: 10 Jan 18
Posts: 360
ID: 967938
Credit: 1,289,086,014
RAC: 35,533
Discovered 2 mega primes321 LLR Amethyst: Earned 1,000,000 credits (1,046,831)Cullen LLR Ruby: Earned 2,000,000 credits (2,380,710)ESP LLR Ruby: Earned 2,000,000 credits (2,567,223)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,243,378)PPS LLR Turquoise: Earned 5,000,000 credits (9,915,666)PSP LLR Amethyst: Earned 1,000,000 credits (1,620,415)SoB LLR Jade: Earned 10,000,000 credits (10,953,837)SR5 LLR Ruby: Earned 2,000,000 credits (2,047,778)SGS LLR Turquoise: Earned 5,000,000 credits (8,069,960)TRP LLR Jade: Earned 10,000,000 credits (12,773,221)Woodall LLR Sapphire: Earned 20,000,000 credits (20,017,137)321 Sieve Sapphire: Earned 20,000,000 credits (20,000,569)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,006,424)PPS Sieve Sapphire: Earned 20,000,000 credits (42,265,598)AP 26/27 Sapphire: Earned 20,000,000 credits (39,985,270)GFN Emerald: Earned 50,000,000 credits (92,191,997)PSA Double Amethyst: Earned 1,000,000,000 credits (1,000,000,000)
Message 136076 - Posted: 29 Dec 2019 | 16:12:31 UTC - in response to Message 136074.

It’s not idling or loading webpages or anything like that. The task manager explicitly says that primegrid_cllr.exe is using 16.6% CPU instead of 12.5%.


I think that this may be a problem with Windows Task Manager in Windows 10 on the 8th and 9th gen Intel CPUs as I get the same thing with my i5-8400. When I use 4 threads, it shows each one using 25% of the CPU for a total of 100% usage. Hardware Info 64 reports 4 threads at 100% and then typical idle tasks for the other 2 cores.

This feels like a similar issue to how Windows Task Manager reports 1-5% GPU usage when it is actually at 100% for many tasks. I think it is just some strange Microsoft programming. (The Windows 10 calculator doesn't even follow order of operations anymore, unless you set it to scientific mode, so I've pretty much abandoned any included Windows software at this point.)

This is the one that I use instead of Task Manager for system resource usage; https://www.hwinfo.com/download/. There is also a program called Resource Monitor in Windows that you can try to see if it is accurately showing you system resource utilization. I haven't tried it, so I'm not too sure if it is accurate.

Good luck!

KeithProject donor
Avatar
Send message
Joined: 8 Dec 13
Posts: 396
ID: 284516
Credit: 361,943,338
RAC: 183,921
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 3 primes in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,055,954)Cullen LLR Turquoise: Earned 5,000,000 credits (5,064,934)ESP LLR Turquoise: Earned 5,000,000 credits (5,005,551)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,002,124)PPS LLR Turquoise: Earned 5,000,000 credits (9,873,020)PSP LLR Turquoise: Earned 5,000,000 credits (5,032,097)SoB LLR Turquoise: Earned 5,000,000 credits (9,976,992)SR5 LLR Turquoise: Earned 5,000,000 credits (9,999,552)SGS LLR Turquoise: Earned 5,000,000 credits (5,941,210)TRP LLR Turquoise: Earned 5,000,000 credits (5,759,074)Woodall LLR Turquoise: Earned 5,000,000 credits (5,053,050)321 Sieve Jade: Earned 10,000,000 credits (10,120,432)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,004,494)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,111,958)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,002,980)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,755)AP 26/27 Emerald: Earned 50,000,000 credits (78,413,985)GFN Emerald: Earned 50,000,000 credits (94,075,725)PSA Silver: Earned 100,000 credits (442,843)
Message 136077 - Posted: 29 Dec 2019 | 16:13:59 UTC

A better way to approach this is to get rid of the ncpus line in the cc_config file and use BOINC manager to limit the number of running tasks.
In BOINC manager go to Options > Computing Preferences > "Use at most X% of the CPUs" where X is 75% in your case.

I think (take this with a grain of salt) the ncpus line is telling BOINC that your 8 cores are 6 cores, and that's allowing 6 tasks on what BOINC thinks is 6 cores, but is actually 8 and is running at slightly more than 1 core per task.

I did the above with my i5 8400 to run 5 tasks instead of 6 on the 6 core CPU. In my case the X was 84 instead of 75.
____________
My Primes
Badge Score: 2*1 + 4*2 + 6*12 + 7*1 + 9*2 + 10*1 = 117

Profile dannyridel
Avatar
Send message
Joined: 3 Feb 19
Posts: 257
ID: 1097922
Credit: 1,810,795
RAC: 2,080
321 LLR Bronze: Earned 10,000 credits (51,799)Cullen LLR Bronze: Earned 10,000 credits (18,311)ESP LLR Bronze: Earned 10,000 credits (25,105)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (22,373)PPS LLR Silver: Earned 100,000 credits (143,573)PSP LLR Bronze: Earned 10,000 credits (65,677)SR5 LLR Bronze: Earned 10,000 credits (48,432)SGS LLR Bronze: Earned 10,000 credits (21,114)TRP LLR Bronze: Earned 10,000 credits (39,419)Woodall LLR Bronze: Earned 10,000 credits (19,031)321 Sieve Silver: Earned 100,000 credits (173,207)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Gold: Earned 500,000 credits (552,844)AP 26/27 Bronze: Earned 10,000 credits (52,559)GFN Silver: Earned 100,000 credits (189,280)PSA Silver: Earned 100,000 credits (358,037)
Message 136116 - Posted: 31 Dec 2019 | 8:33:27 UTC - in response to Message 136076.

This may be a little unrelated, but in the Windows 10 Task Manager go to GPU0 and you can change one of the graphs' labels to "Compute 1" to see its actual usage. This works for me.
____________
JonDan School Services
GFN-14: 50103906^16384+1
AP 21: 104383195353409757+142406036*23#*n for n=0..20

Post to thread

Message boards : Problems and Help : Using more than one core when specifying one thread for LLR

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.74, 2.17, 2.43
Generated 7 Apr 2020 | 17:43:38 UTC