BOINC does not play well with Hyper-V (or vice versa?)

Questions and Answers : Windows : BOINC does not play well with Hyper-V (or vice versa?)
Message board moderation

To post messages, you must log in.

AuthorMessage
Jamie Plenderleith

Send message
Joined: 10 Aug 04
Posts: 27
Credit: 14,339,608
RAC: 0
Ireland
Message 785089 - Posted: 21 Jul 2008, 15:47:51 UTC

I finally figured out why all of my virtual machines on my Windows Server 2008 machine were running slow.

2x Quad Core Xeon CPUs
8GB of RAM
Windows Server 2008 Enterprise x64

I have HyperV installed. I had 4 virtual servers installed, and I just installed another 4 today. They were running _very_ slow, so I thought to pause BOINC and see if that had any effect. As soon as I paused it the machines sped up _tremendously_.
So I have a replicteable issue on my server at the moment - if I run BOINC with SETI@HOME at the same time as my virtual servers they all crawl. Turn off BOINC and the servers are very fast.

Each of the 8 SETI@HOME processes are running at Low priority, and each of the virtual servers are running at Normal priority.

Any thoughts?
ID: 785089 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 785094 - Posted: 21 Jul 2008, 16:23:19 UTC

I haven't familiarized myself with HyperV yet, but are there any add-ons that you have to install for your virtual machines? I don't know if HyperV is similar to MS's Virtual PC, but in order to prevent my system from being bogged down I have to install the Virtual PC Extensions software on each VM to keep things running smoothly. Could this be the case?
ID: 785094 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 785195 - Posted: 21 Jul 2008, 22:41:55 UTC

If there is insufficient RAM for all processes what you get is disk thrashing while windows fails in its attempt to keep all of the needed portions of all programs and data in RAM.

So, the obvious question is: When this happens, is the Hard Disk activity light on?


BOINC WIKI
ID: 785195 · Report as offensive
Jamie Plenderleith

Send message
Joined: 10 Aug 04
Posts: 27
Credit: 14,339,608
RAC: 0
Ireland
Message 785366 - Posted: 22 Jul 2008, 11:17:07 UTC
Last modified: 22 Jul 2008, 11:18:16 UTC

Thanks for your responses.

OzzFan; Yes, HyperV is similar to other virtualisation technologies, in that there is additional software you can install to improve the performance of the OS. Each of the installed servers have the software installed.

John McLeod; There's plenty of RAM free, and even if the machine was paging, it's paging to mirrored 15K RPM drives ;-) Each virtual machine uses 512MB of memory at present, so 4 of them running is only 2GB of the 8GB installed. The machine has about another 4GB cached, and the rest is free.


The machine is blindingly quick. It just seems that for some reason, HyperV ends up running some of its threads at low priority, at which point the majority of CPU time goes to SETI@HOME. That's the only thing I can think of...
ID: 785366 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 785387 - Posted: 22 Jul 2008, 12:39:48 UTC - in response to Message 785366.  

Thanks for your responses.

OzzFan; Yes, HyperV is similar to other virtualisation technologies, in that there is additional software you can install to improve the performance of the OS. Each of the installed servers have the software installed.

John McLeod; There's plenty of RAM free, and even if the machine was paging, it's paging to mirrored 15K RPM drives ;-) Each virtual machine uses 512MB of memory at present, so 4 of them running is only 2GB of the 8GB installed. The machine has about another 4GB cached, and the rest is free.


The machine is blindingly quick. It just seems that for some reason, HyperV ends up running some of its threads at low priority, at which point the majority of CPU time goes to SETI@HOME. That's the only thing I can think of...

OK. The machine has 8GB installed. Unless it is a 64 bit Windows install, the last 4.4GB are not being used. That should, however, leave plenty of room in any case.

If it is paging, the speed of the Hard Disk almost doesn't matter as it is still several orders of magnitude slower than the CPU and RAM.

You may be right about the super low priority threads, however, I have noticed that some Microsoft programs wait until the CPU is completely idle before allowing some threads to run instead of allowing the OS to do the scheduling. BOINC uses the lowest priority above idle. You might try Process Monitor from [http://www.sysinternals.com]Sys Internals{/url] (which is now owned by Microsoft, but still has good diagnostic tools available for free).


BOINC WIKI
ID: 785387 · Report as offensive
Jamie Plenderleith

Send message
Joined: 10 Aug 04
Posts: 27
Credit: 14,339,608
RAC: 0
Ireland
Message 785390 - Posted: 22 Jul 2008, 12:49:05 UTC
Last modified: 22 Jul 2008, 12:49:22 UTC

Yes I was going to use process monitor to try to figure out what's going.
The machine's running Windows Server 2008 Enterprise x64 - so it can address up to 2TB of RAM.
I'll try following this up internally in Microsoft too and see if anyone has any ideas there.

Thanks for your help so far guys.
ID: 785390 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 785406 - Posted: 22 Jul 2008, 13:36:47 UTC

If Hyper-V has some threads at low priority causing conflicts with SETI's low priority apps, wouldn't BOINC's CPU throttling help resolve that issue?
ID: 785406 · Report as offensive
Jamie Plenderleith

Send message
Joined: 10 Aug 04
Posts: 27
Credit: 14,339,608
RAC: 0
Ireland
Message 785451 - Posted: 22 Jul 2008, 15:54:41 UTC

Yeah I suppose it would.... I'll give that a go!
ID: 785451 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 785461 - Posted: 22 Jul 2008, 20:31:47 UTC - in response to Message 785406.  
Last modified: 22 Jul 2008, 20:38:30 UTC

If Hyper-V has some threads at low priority causing conflicts with SETI's low priority apps, wouldn't BOINC's CPU throttling help resolve that issue?

Except BOINC's CPU throttling does not play well with multi CPU systems.

[edit]

Try dropping a CPU instead.


BOINC WIKI
ID: 785461 · Report as offensive

Questions and Answers : Windows : BOINC does not play well with Hyper-V (or vice versa?)


 
©2025 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.