Showing posts with label Windows CPU. Show all posts
Showing posts with label Windows CPU. Show all posts

Tuesday, 30 August 2016

How busy can I run the CPU? - Windows Server Capacity Management 101(7 of 12)




How hard you can work a CPU is highly dependent on the type of CPU and the type of work it is doing, there is no one size fits all number for how hard to work them.
Newer = more capable - Newer CPUs have larger on-chip cache memory, allowing more instructions to be kept nearer the cores. Cache memory is quicker to access than main memory but there is much less of it Megabytes of very fast cache, Gigabytes of fast ram and Terabytes of slow disk.

It’s also not just about the speed of the clock – a 3.4 GHz Pentium IV is nowhere near as capable (as in “can get through work”) as a brand new 2 GHz Xeon processor. Because the newer CPU can do more in one clock cycle then a older CPU can do in many.

More cores = can be pushed harder - It’s all about THROUGHPUT, not just speed.

The more cores a CPU has the harder you can run it without performance problems.

Dependent on the type of work; hyper-threading or not…

Some best practice recommendations are:


1 core

·      At 50% busy will take twice as long as if it were 0% busy.

·      At 80% busy it will take 5 times as long.

·      At 90% it will take 10 times as long. 

You can see with one core it does not take much work to make throughput slowdown.

 2 cores

·      At 50% it will take 1.3 times as long.

·      At 80% it will take 2.7 times as long.

·      At 90% it will take 5.2 times as long. 

16 Cores

•       50% - 1x, 80% - 1.02x, 90% - 1.22x

For a 16 core CPU it does not make much of a difference running it at 80% compared to 50%. But you have to keep in mind that all configurations max out at 100% just the number of cores flattens out the curve. You can see with more cores it takes longer to hit the knee of the curve.

Benefits of Multiple Cores

This chart illustrates that as you add more and more cores the response time curve is more and more flat. 
On Thursday I'll be looking at how to monitor and manage CPU, don't forget to sign up for our next workshop 'IT Capacity Planning' http://www.metron-athene.com/services/online-workshops/index.html

Josh Worth
Consultant

 





Friday, 19 August 2016

Best practice recommendations - Windows Server Capacity Management 101(6 of 12)


So now we have gone over what we need to properly manage a windows environment, here are some best practise recommendations.

There are 3 main components to monitor in your windows systems:


·      CPU – physical utilization

·      Memory - usage

·      Disk – occupancy and performance



These are all components that if they fill up or are over utilized will severely effect performance.


Best practice recommendations - CPU 
What to monitor 
The first component to look at is CPU. When monitoring CPU you need to understand the difference between Logical CPU and Physical CPU, if your system is virtualized then it will be logical CPU as the windows environment does not know about the physical CPU it is being hosted on. 

·      If physical, CPU Total utilization of the machine - a physical system is much simpler as you are directly monitoring the physical components. 
·      If virtualized, CPU usage by the guest system - you will need to know the Physical CPU usage which is under the hypervisor. If you only look at CPU busy and it says 80%, it could be 80% busy of the 5% that has been allocated to it by VMware. You need to look at process level CPU busy. 
·      Process-level CPU busy; if virtualized gives a view of relative usage of the physical CPU busy from the host. It shows you how much CPU time each process is using, this is useful to see where all your CPU time is being used.

On Monday I'll be looking at how hard you can work a CPU.

Josh Worth
Consultant