Avatar of Durges
DurgesFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

hyper V CPU question

Basic Hyper V CPU question

Server 2 CPU 8 Cores each
128GB RAM

I want to know a rough broad answer to how I should assign VCPUS in Hyper V. This is a simple scenario with no unexpected usage or complex requirements

For this scenario we will say 30 users that are using normal everyday functions. File Print, AD. There is an RDS server that is used for office apps users and a database by 10 of the 30 users. The database is low intensity with infrequent complicated queries that take 5 minutes to process. The database is run on an SQL 2016 Server that is its own VM. I am not going to bring Disks and Iops into this. I am familiar with how these should be done.

Server 1 2016 AD 8GB 2VCPU
Server 2 2016 Print server 8GB 2CPU
Server 3 2016 RDS 16GB 8VCPU
Server 4 2016 SQL 2016 32GB 8VCPU
Server 5 2016 VDI for a specific high performance user to run infrequent large excel queries 16GB 8VCPU

Does this look reasonable? My aim is to reasonably protect functions like print and AD while giving a large amount of CPU to DB and excel functions as required. The larger CPU draws are infrequent and it is important they are prioritised.
Windows 10Hyper-VAzureWindows Server 2016

Avatar of undefined
Last Comment
Durges
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

I woikd probabky start with 2 vCPUs on all VMs then start performance tu ing based on incoming data.

Especially starting multiple VMs at 8, when each real CPU only has 8 cores, you could have unintended consequences of time sharing across processors and hurting performance.
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Definitely don't overprovision the vcpu to real cpu, 16 should be your max unless you have competing VMs at different times, and ideally hyperthreading to help. If you license sql by core, them you should give it 4 as that's the min, 2 to everything else and the rest to RDS to make 16.
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Durges
Durges
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Most of the time the total cpu usage is very low. Maybe 10 - 15% max total between all VMs as you can see they are not doing very much. However when I do need them to do something they all max out at 10% of total cpu and take a long time to complete the task. I really want them to be able to take what they want when they want...  I cannot seem to get the ability to assign a larger piece of Cpu availability without giving more cores. Why shouldn't I over provision in this scenario? I understand if this was a very high load host and things were competing but they just are not competing.
Avatar of Mahesh
Mahesh
Flag of India image

what is disk used for this base server?

It is fibre channel storage?
OR
it is 15K SAS disks?
OR

it is 10K scsi disks?

the slowness caused by disks I believe since you  are saying that only 10% of overall physical CPU is utilized....

also what about assigned memory, is it paging out more? I mean check your memory allocation and monitor page file counter, if its going beyond 50% than assigned meory, you should add more memory..

yet we have not checked that part I believe
Avatar of Durges
Durges
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Thanks for the help.
Windows 10
Windows 10

Windows 10 is a personal computer operating system featuring the "universal application architecture" (UAP); apps can be designed to run across multiple devices with nearly identical code, including PCs, tablets, smartphones, embedded systems, Xbox One, Surface Hub and HoloLens. Windows 10 also includes a virtual desktop system, a window and desktop management feature called Task View, the Microsoft Edge web browser, support for fingerprint and face recognition login, voice-based search (Cortana), new security features for enterprise environments, and DirectX 12 and WDDM 2.0 to improve the operating system's graphics capabilities for games.

20K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo