Link to home
Start Free TrialLog in
Avatar of cnl83
cnl83Flag for United States of America

asked on

Hyper-V VM using 100% CPU and it's slow

I have server 2012, and the processor has 4 cores. I have a single virtual machine running server 2012 as well. I have an access database that all of the users are connecting to. About 15 users total. When I look at the CPU usage from the virtual server, it is only about 8%. When I look at the Virtual Machine's CPU it's maxed out constantly. I see I have only one core (Virtual Processor) allocated to that machine. How many can I dedicate to that machine if I have 4? I need that machine to run as smooth as possible!

I learned about the Cores here CORES
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just to be clear, you CANNOT dedicate a CPU.  In Hyper-V, CPUs are shared.  The more threads a CPU can use, the more chances it has to wait for enough CPU cores/threads to be available.  I recommend 2 as a minimum, but only RARELY do I increase this.  Two is fine on 95% of systems in my experience.  I don't trust 1 as that can cause what you're seeing - an unresponsive server - if a single process goes nuts.

But despite adding a second CPU being potentially helpful, you need to look at task manager on the details tab and find out WHAT is taking the CPU?  Access doesn't run on the server - it runs on your workstations and access a file stored on the server.  So Access should not be your problem, something else is.  Unless this is an RDS server, in which case, you probably have too many users logging into it for the resources you have.