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 : Number crunching : Help with reassigning CPU for GPU task pls

Author Message
ProDigit
Send message
Joined: 5 Dec 19
Posts: 3
ID: 1224635
Credit: 59,692,327
RAC: 0
PPS Sieve Amethyst: Earned 1,000,000 credits (1,489,982)AP 26/27 Gold: Earned 500,000 credits (574,106)GFN Emerald: Earned 50,000,000 credits (57,628,239)
Message 139494 - Posted: 8 Apr 2020 | 6:08:01 UTC
Last modified: 8 Apr 2020 | 6:18:46 UTC

One GPU task is showing it utilizes 0.192CPU,
However on my Intel Core I5 9400F (no hyperthreading, running at 3.9Ghz), it closer to fully utilizes a CPU core.
A closer estimate would be CPU=0.95

The task details are these:

Application Do You Feel Lucky? 3.21 (OCLcudaGFNEXTREME) Name genefer_extreme_29588712 State Running Received Wed 18 Mar 2020 11:54:07 AM EDT Report deadline Wed 08 Apr 2020 11:54:10 AM EDT Resources 0.192 CPUs + 1 NVIDIA GPU (device 0) Estimated computation size 31,500,997 GFLOPs CPU time 18:40:25 CPU time since checkpoint 00:01:50 Elapsed time 20:22:48 Estimated time remaining 02:27:41 Fraction done 88.774% Virtual memory size 12.92 GB Working set size 170.52 MB Directory slots/0 Process ID 503 Progress rate 4.320% per hour Executable geneferocl_linux64_3.3.3-2


I populated app_config.xml with following info, but it's not working.
Perhaps I'm missing the Project name?
I've tried 'Do_You_Feel_Lucky?', 'acemd3' (like suggested by Boinc MGR log), and 'genefer_extreme' , but none work.

<app_config> <app> <name>acemd3</name> <gpu_versions> <gpu_usage>1.0</gpu_usage> <cpu_usage>0.95</cpu_usage> </gpu_versions> </app> </app_config>

Profile dannyridel
Volunteer tester
Avatar
Send message
Joined: 3 Feb 19
Posts: 730
ID: 1097922
Credit: 2,595,126
RAC: 8,388
321 LLR Bronze: Earned 10,000 credits (78,095)Cullen LLR Bronze: Earned 10,000 credits (36,962)ESP LLR Bronze: Earned 10,000 credits (36,309)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (22,373)PPS LLR Silver: Earned 100,000 credits (177,303)PSP LLR Bronze: Earned 10,000 credits (65,677)SoB LLR Bronze: Earned 10,000 credits (66,029)SR5 LLR Bronze: Earned 10,000 credits (53,645)SGS LLR Bronze: Earned 10,000 credits (22,711)TRP LLR Bronze: Earned 10,000 credits (67,784)Woodall LLR Bronze: Earned 10,000 credits (19,031)321 Sieve Gold: Earned 500,000 credits (506,814)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Gold: Earned 500,000 credits (714,652)AP 26/27 Bronze: Earned 10,000 credits (80,860)GFN Silver: Earned 100,000 credits (243,814)PSA Silver: Earned 100,000 credits (373,034)
Message 139495 - Posted: 8 Apr 2020 | 6:18:16 UTC

The CPU value shown is a estimate by the BOINC manager, and it's almost always inaccurate. From what I know, genefer does use almost a core on a CPU so 0.95 may be closer, but you cannot control how much CPU the task uses because this is in the code of the geneferocl app.
____________
SHSID Electronics Group
SHSIDElectronicsGroup@outlook.com

GFN-14: 50103906^16384+1
Proth "SoB": 44243*2^440969+1


ProDigit
Send message
Joined: 5 Dec 19
Posts: 3
ID: 1224635
Credit: 59,692,327
RAC: 0
PPS Sieve Amethyst: Earned 1,000,000 credits (1,489,982)AP 26/27 Gold: Earned 500,000 credits (574,106)GFN Emerald: Earned 50,000,000 credits (57,628,239)
Message 139496 - Posted: 8 Apr 2020 | 6:26:16 UTC - in response to Message 139495.
Last modified: 8 Apr 2020 | 6:32:11 UTC

The CPU value shown is a estimate by the BOINC manager, and it's almost always inaccurate. From what I know, genefer does use almost a core on a CPU so 0.95 may be closer, but you cannot control how much CPU the task uses because this is in the code of the geneferocl app.

I know, but setting it to 0.95 will distribute the tasks more evenly.
If I set the value too high, I'll have passive cores.
If I set it too low, more than 1 CPU thread will try to populate a CPU core (since I don't have hyperthreading on my CPU).

Setting it to 0.9 will allow one CPU core for the project, and a remaining 0.1 for projects like the Collatz, which don't use much CPU at all.
Keeping it at 0.195, and it will share that core with a CPU project that utilizes a full core.
2 projects fighting for a CPU core is not good.


Genfer or genferocl also don't seem to work as project name on this WU...
acemd3 seems to work on other Primegrid tasks, but not on this one.

Profile DaveProject donor
Avatar
Send message
Joined: 13 Feb 12
Posts: 2781
ID: 130544
Credit: 932,676,548
RAC: 355,808
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,042,688)Cullen LLR Turquoise: Earned 5,000,000 credits (5,101,836)ESP LLR Turquoise: Earned 5,000,000 credits (5,303,526)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,202,873)PPS LLR Turquoise: Earned 5,000,000 credits (6,097,845)PSP LLR Turquoise: Earned 5,000,000 credits (5,513,728)SoB LLR Turquoise: Earned 5,000,000 credits (8,851,996)SR5 LLR Turquoise: Earned 5,000,000 credits (5,199,189)SGS LLR Turquoise: Earned 5,000,000 credits (5,100,018)TRP LLR Turquoise: Earned 5,000,000 credits (5,405,027)Woodall LLR Turquoise: Earned 5,000,000 credits (5,124,820)321 Sieve Jade: Earned 10,000,000 credits (10,003,334)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (268,250)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,000,502)PPS Sieve Double Silver: Earned 200,000,000 credits (306,761,000)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,000,133)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,000,970)AP 26/27 Double Bronze: Earned 100,000,000 credits (189,378,163)GFN Double Bronze: Earned 100,000,000 credits (133,333,389)PSA Double Silver: Earned 200,000,000 credits (200,000,001)
Message 139497 - Posted: 8 Apr 2020 | 6:40:10 UTC

Just ignore that percentage, it is meaningless. You don't need to set it in an app_config.

Profile dannyridel
Volunteer tester
Avatar
Send message
Joined: 3 Feb 19
Posts: 730
ID: 1097922
Credit: 2,595,126
RAC: 8,388
321 LLR Bronze: Earned 10,000 credits (78,095)Cullen LLR Bronze: Earned 10,000 credits (36,962)ESP LLR Bronze: Earned 10,000 credits (36,309)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (22,373)PPS LLR Silver: Earned 100,000 credits (177,303)PSP LLR Bronze: Earned 10,000 credits (65,677)SoB LLR Bronze: Earned 10,000 credits (66,029)SR5 LLR Bronze: Earned 10,000 credits (53,645)SGS LLR Bronze: Earned 10,000 credits (22,711)TRP LLR Bronze: Earned 10,000 credits (67,784)Woodall LLR Bronze: Earned 10,000 credits (19,031)321 Sieve Gold: Earned 500,000 credits (506,814)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Gold: Earned 500,000 credits (714,652)AP 26/27 Bronze: Earned 10,000 credits (80,860)GFN Silver: Earned 100,000 credits (243,814)PSA Silver: Earned 100,000 credits (373,034)
Message 139500 - Posted: 8 Apr 2020 | 8:23:23 UTC - in response to Message 139497.

Just ignore that percentage, it is meaningless. You don't need to set it in an app_config.


Yes, BOINC can't control that, and it just gives a bad estimate, and doesn't affect task distribution.
____________
SHSID Electronics Group
SHSIDElectronicsGroup@outlook.com

GFN-14: 50103906^16384+1
Proth "SoB": 44243*2^440969+1


stream
Volunteer moderator
Project administrator
Volunteer developer
Volunteer tester
Send message
Joined: 1 Mar 14
Posts: 791
ID: 301928
Credit: 484,398,858
RAC: 147,938
Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,011,570)Cullen LLR Jade: Earned 10,000,000 credits (10,009,374)ESP LLR Jade: Earned 10,000,000 credits (10,009,221)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,012,217)PPS LLR Jade: Earned 10,000,000 credits (11,055,307)PSP LLR Jade: Earned 10,000,000 credits (10,044,081)SoB LLR Turquoise: Earned 5,000,000 credits (9,925,797)SR5 LLR Turquoise: Earned 5,000,000 credits (9,959,731)SGS LLR Turquoise: Earned 5,000,000 credits (8,632,779)TRP LLR Turquoise: Earned 5,000,000 credits (9,911,706)Woodall LLR Turquoise: Earned 5,000,000 credits (9,963,318)321 Sieve Sapphire: Earned 20,000,000 credits (20,004,228)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,047,667)PPS Sieve Sapphire: Earned 20,000,000 credits (20,866,490)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,043,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,015,177)AP 26/27 Sapphire: Earned 20,000,000 credits (20,045,194)GFN Emerald: Earned 50,000,000 credits (53,545,357)PSA Double Silver: Earned 200,000,000 credits (200,301,443)
Message 139504 - Posted: 8 Apr 2020 | 9:06:25 UTC

This is a known problem with Linux drivers. They always use full CPU core. GFN application itself has almost zero CPU usage.

Workaround: https://www.primegrid.com/forum_thread.php?id=7731&nowrap=true#113965 and below.

Werinbert
Send message
Joined: 9 Jun 13
Posts: 92
ID: 233452
Credit: 175,269,530
RAC: 55,376
321 LLR Gold: Earned 500,000 credits (700,244)Cullen LLR Gold: Earned 500,000 credits (529,186)ESP LLR Gold: Earned 500,000 credits (513,315)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (521,209)PPS LLR Turquoise: Earned 5,000,000 credits (8,508,539)PSP LLR Gold: Earned 500,000 credits (566,492)SoB LLR Gold: Earned 500,000 credits (597,244)SR5 LLR Gold: Earned 500,000 credits (658,477)SGS LLR Gold: Earned 500,000 credits (520,433)TRP LLR Gold: Earned 500,000 credits (562,418)Woodall LLR Gold: Earned 500,000 credits (615,831)321 Sieve Jade: Earned 10,000,000 credits (10,014,922)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,101,470)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,344,557)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (715,073)TRP Sieve (suspended) Gold: Earned 500,000 credits (630,833)AP 26/27 Jade: Earned 10,000,000 credits (10,079,199)GFN Sapphire: Earned 20,000,000 credits (35,827,188)PSA Ruby: Earned 2,000,000 credits (2,262,901)
Message 139507 - Posted: 8 Apr 2020 | 10:04:00 UTC - in response to Message 139504.

This is a known problem with Linux drivers. They always use full CPU core. GFN application itself has almost zero CPU usage.

Workaround: https://www.primegrid.com/forum_thread.php?id=7731&nowrap=true#113965 and below.


Thanks for the info. I have a new Linux machine and I noticed this and couldn't figure out why things were slower than I thought they should be for a fast CPU rig. Thankfully, right now I am running more for WU_Prop hours than points but I need to get it squared away when I do start running the rig for points.
____________
Werinbert is not prime... or PRPnet keeps telling me so.
Badge score: 2x2 + 10x3 + 2x4 + 3x5 + 1x8 + 1x9 = 74

Post to thread

Message boards : Number crunching : Help with reassigning CPU for GPU task pls

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.85, 0.80, 0.73
Generated 25 Oct 2020 | 23:11:09 UTC