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 : Einstein@home and PrimeGrid together on the same machine?

Author Message
puh32
Send message
Joined: 2 Feb 09
Posts: 55
ID: 34980
Credit: 248,559,425
RAC: 150,379
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,845,668)Cullen LLR Ruby: Earned 2,000,000 credits (2,664,434)ESP LLR Gold: Earned 500,000 credits (697,397)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (368,692)PPS LLR Turquoise: Earned 5,000,000 credits (9,093,103)PSP LLR Ruby: Earned 2,000,000 credits (2,404,131)SoB LLR Ruby: Earned 2,000,000 credits (3,412,731)SR5 LLR Ruby: Earned 2,000,000 credits (4,010,301)SGS LLR Ruby: Earned 2,000,000 credits (4,101,955)TRP LLR Gold: Earned 500,000 credits (905,912)Woodall LLR Ruby: Earned 2,000,000 credits (2,904,559)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,953,210)WW Sapphire: Earned 20,000,000 credits (40,500,000)PSA Jade: Earned 10,000,000 credits (13,880,025)
Message 110941 - Posted: 23 Oct 2017 | 7:38:20 UTC

I was hoping you could help me with the following problem.

Windows 10 box, 2 Nvidia 1070.

I use my two GPUs for Einstein@home.

I would like to use my CPU cores (ideally 4 out of 8 hyperthreads) for PrimeGrid.

Turns out Einstein@home uses one GPU and one CPU hyperthread per graphics card. Thus, 2 CPU hyperthreads remain for PrimeGrid.

However, BOINC fails to see this, and thinks that 4 CPU hyperthreads are available to PrimeGrid. Well, they are not, and BOINC ends up having to crunch the two first CPU tasks, keeping the other two CPU tasks on ice until the two first tasks are completed.

And when the two first tasks are completed, it switches over to the two tasks on ice *AND* requests two new CPU tasks – just to put them on ice immediately.

Obviously, having PrimeGrid tasks on ice for a couple of days is not ideal.

Is there a way around this? (Am I doing something wrong, or am I interpreting things incorrectly?)

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1292
ID: 37043
Credit: 533,290,983
RAC: 22
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,038,739)Cullen LLR Ruby: Earned 2,000,000 credits (2,074,615)ESP LLR Ruby: Earned 2,000,000 credits (2,243,517)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,142,353)PPS LLR Turquoise: Earned 5,000,000 credits (7,292,925)PSP LLR Ruby: Earned 2,000,000 credits (2,232,103)SoB LLR Ruby: Earned 2,000,000 credits (2,934,612)SR5 LLR Ruby: Earned 2,000,000 credits (2,053,250)SGS LLR Turquoise: Earned 5,000,000 credits (5,152,318)TRP LLR Ruby: Earned 2,000,000 credits (2,405,015)Woodall LLR Ruby: Earned 2,000,000 credits (2,014,811)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (23,770,672)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 (342,048,709)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 (49,299,387)WW Turquoise: Earned 5,000,000 credits (7,792,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 110943 - Posted: 23 Oct 2017 | 11:47:58 UTC - in response to Message 110941.

I was hoping you could help me with the following problem.

Windows 10 box, 2 Nvidia 1070.

I use my two GPUs for Einstein@home.

I would like to use my CPU cores (ideally 4 out of 8 hyperthreads) for PrimeGrid.

Turns out Einstein@home uses one GPU and one CPU hyperthread per graphics card. Thus, 2 CPU hyperthreads remain for PrimeGrid.

However, BOINC fails to see this, and thinks that 4 CPU hyperthreads are available to PrimeGrid. Well, they are not, and BOINC ends up having to crunch the two first CPU tasks, keeping the other two CPU tasks on ice until the two first tasks are completed.

And when the two first tasks are completed, it switches over to the two tasks on ice *AND* requests two new CPU tasks – just to put them on ice immediately.

Obviously, having PrimeGrid tasks on ice for a couple of days is not ideal.

Is there a way around this? (Am I doing something wrong, or am I interpreting things incorrectly?)


Boinc isn't as configurable as you are wanting to do without constantly being in front of the computer, but one thing you might try is lowering the percentage number, under Resource Share, for Einstein so it's below that of Prime Grid. Meaning Prime Grid will run at a higher priority, go slow and it may take awhile to fine tune it to your liking and there will be plenty of times where you are running nothing but Einstein tasks and other times when you are running nothing but Prime Grid tasks.

The problem is Boinc does not look long term at those numbers it's very short term, so if Einstein gives you 1000 credits for a workunit and PrimeGrid gives you 10 credits for a workunit you could be crunching 10 times as many PrimeGrid workunits as Einstein units. Over a few weeks or even months the numbers will even out, but in the short term it will be a mess.

In the end this is why I and alot of other people ended up with lots of computers, we wanted to crunch for multiple projects and Boinc just doesn't give us the fine control we wanted. So they can crunch along either all focused on one project or spreading the crunching power across several projects.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13653
ID: 53948
Credit: 290,735,926
RAC: 273,774
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!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 PrimesFound 2 primes in the 2021 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,132,712)Cullen LLR Turquoise: Earned 5,000,000 credits (5,038,114)ESP LLR Turquoise: Earned 5,000,000 credits (6,177,890)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,939,711)PPS LLR Sapphire: Earned 20,000,000 credits (20,751,038)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (3,718,606)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Turquoise: Earned 5,000,000 credits (5,032,821)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (78,031,938)WW Sapphire: Earned 20,000,000 credits (35,972,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 110944 - Posted: 23 Oct 2017 | 11:57:00 UTC

I do not know if it's possible to get boinc to do what you want; I've never tried anything like that. It is possible, however, to run two BOINC clients on one computer. Have one copy of BOINC run Einstein, and the other run PrimeGrid on just 2 cores.

Note that there's some hoops you must go through to run two copies of BOINC on the same computer without all sorts of bad things happening. I've never done it myself, so you'll need to do some research.

You can perhaps avoid the complications of running two copies of BOINC on the same computer by setting up a VM and running the second BOINC in the VM, effectively creating a second computer. You can't run GPU apps in a VM so if you go this route, Einstein will need to run on the host machine and PrimeGrid in the VM.
____________
My lucky number is 75898524288+1

puh32
Send message
Joined: 2 Feb 09
Posts: 55
ID: 34980
Credit: 248,559,425
RAC: 150,379
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,845,668)Cullen LLR Ruby: Earned 2,000,000 credits (2,664,434)ESP LLR Gold: Earned 500,000 credits (697,397)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (368,692)PPS LLR Turquoise: Earned 5,000,000 credits (9,093,103)PSP LLR Ruby: Earned 2,000,000 credits (2,404,131)SoB LLR Ruby: Earned 2,000,000 credits (3,412,731)SR5 LLR Ruby: Earned 2,000,000 credits (4,010,301)SGS LLR Ruby: Earned 2,000,000 credits (4,101,955)TRP LLR Gold: Earned 500,000 credits (905,912)Woodall LLR Ruby: Earned 2,000,000 credits (2,904,559)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,953,210)WW Sapphire: Earned 20,000,000 credits (40,500,000)PSA Jade: Earned 10,000,000 credits (13,880,025)
Message 110954 - Posted: 23 Oct 2017 | 17:54:21 UTC - in response to Message 110944.

Thanks. Good to know that I'm not doing something wrong, at least.

It would seem like a BOINC issue they should attend to at some point.

On a related note, I'd like to play around with the "Resource share" column (tab) in the BOINC "Advanced view" to see how the projects/BOINC behave when I change their resource share. (At least I'm under the impression that this can be done?) However, I seem to be unable to do it. How is it done?

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13653
ID: 53948
Credit: 290,735,926
RAC: 273,774
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!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 PrimesFound 2 primes in the 2021 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,132,712)Cullen LLR Turquoise: Earned 5,000,000 credits (5,038,114)ESP LLR Turquoise: Earned 5,000,000 credits (6,177,890)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,939,711)PPS LLR Sapphire: Earned 20,000,000 credits (20,751,038)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (3,718,606)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Turquoise: Earned 5,000,000 credits (5,032,821)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (78,031,938)WW Sapphire: Earned 20,000,000 credits (35,972,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 110955 - Posted: 23 Oct 2017 | 17:59:53 UTC - in response to Message 110954.

Thanks. Good to know that I'm not doing something wrong, at least.

It would seem like a BOINC issue they should attend to at some point.

On a related note, I'd like to play around with the "Resource share" column (tab) in the BOINC "Advanced view" to see how the projects/BOINC behave when I change their resource share. (At least I'm under the impression that this can be done?) However, I seem to be unable to do it. How is it done?


It's done via the websites (user preferences) of each boinc project.
____________
My lucky number is 75898524288+1

Message boards : Problems and Help : Einstein@home and PrimeGrid together on the same machine?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.65, 2.56, 2.50
Generated 16 Oct 2021 | 18:54:32 UTC