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

Monday, November 7, 2016

How to check your system components for errors in a dell r510

How to check you system components for errors in a dell r510

Whether you're buying hardware direct from the manufacturer, from an auction on ebay, or from government surplus website you want to confirm that your purchase is working as intended before you put in some serious work..  Many ebay auctions come with a 14-30 day DOA warranty so you'll need to run as many tests quickly to be able to start the return process if something is wrong.

This blog tries to make zero assumptions as to previous knowledge.  I know when I've done something completely out of my comfort zone I start to wonder, 'Is this really supposed to be taking this long'.  This post is going to read half instructional and half like a twitter feed just so you can see what's possible with my Dell r510 hardware and see how much time this process takes. With that preface lets get this show on the road.

Friday, October 28, 2016

Creating a virtual machine (vm) on ESXi 5.5 for Windows Server 2012 (Part 1)

Creating a virtual machine (vm) on ESXi 5.5 for Windows Server 2012 (Part 1)

To make a new vm, you first need to left click on the Host we want to add a virtual machine to.  For us since we only have 1 host that's easy and 192.168.1.102 down below.  When you're managing many machines you'll have to select where you want the virtual machine to be stored.

Clicking the host changes the Inventory drop down to allow Host to be selected.  We can then Select New Virtual machine.  You can click anything that's Highlighted and has a red arrow. You can also right click on the host itself to bring up a duplicate window being shown.

TL;DR control+n for new vm


Monday, October 24, 2016

Picking how many virtual sockets vs cores per socket in ESXi

Picking how many virtual sockets vs cores per socket in ESXi

So I'm looking at the options for allocating resources to my vm and I come across an interesting breakdown of my cpu within vmware.

So we see the possibilities and combinations for my small 2 x xeon e5503 which have 2cores each and no HT(hyperthreading)  But the question comes up what's better. If I max out vsocket or vcores, or a combination of them?

With these settings I load up my vm and go looking at what's going on at Task manager.

So we can see that I have 1 socket and 2 virtual processors, Which is what I expected based on my settings.  I'm not sure why the cpu graph isn't broken down into 2 different blocks showing the 2 cores however...  Checking the vm though I found the cpu was pegged at 50% cpu usage nonstop with Windows Module Installer clogging up my vm.  
  • I had to do a bit of research, but I expected it to be related to Microsoft's OS problem of Windows Update getting locked into a loop and just destroying your cpu until its resolved or you finally google what's going on yourself.  I'll be doing a blog post shortly on that and the few steps I took. but if you google/youtube it it's a pretty common error about TIworker.exe and windows update services.
So above you see it peaking around 50%  which is what you expect for processes/program that don't handle multithreading and the importance of higher clock cpus not just having a server with as many cores as you can.  It would go above 50% if I had multiple things going on at the same time, but in general that single 2.0GHz processor is the workhouse.

But the question remains...If I had good cpus what would be the best mix of sockets and cores.  I came across these postings
So going off these posts we see something extremely important from a licensing/OS perspective. Different operating systems can have hard caps for how many sockets they're going to use but not how many cores.  
"In vSphere a vCPU is presented to the operating system as a single core cpu in a single socket, this limits the number of vCPUs that can be operating system."- 
Denneman's article goes on to say it doesn't really matter the combination as long as you're not reaching any hard limits set by your Operating System. I think this changes in Windows Server 2012/SqlServer 2012 and they start going off cores...which is pretty much why noone wants to upgrade from Win2k8 r2 or Sql2008R2. Licensing becomes more complicated, and in general expensive.


Continuing reading on the article below shows an example of what happens when You've assigned things past the cap and the OS ignores the settings it can't handle.
Testing has shown i am better off in my case respecting the physical server configuration.
Most common host config is probably like ours, half height blade. 2 sockets , some cores. In this case 12 cores. 512GB of memory and Intel processors (v2)
Test was restoring a 300GB database with Microsoft SQL Server 2008 R2 on Windows Server 2012 R2 (both enterprise editions). 112GB of memory.

  • Test 1, time to restore was 1 hour 12 minutes. Throughput was 52 MB/sec . Config was 12 sockets 1 core. This was bad!
  • Test 2, time to restore was 9 minutes 50 seconds. Throughput was 334 MB/sec . Config was 1 socket 12 cores. This was great. Over 600% I/O performance improvement and a great time reduction.
  • Test 3, time to restore was 9 minutes 59 seconds. Throughput was 330 MB/sec. Config was 2 sockets and 6 cores. Still great.
Only change as was the socket and core configuration. VM was of course brought down for each configuration change.
So not configuring the socket count on the VM higher than the physical host in this case resulted in a fantastic performance improvement.
Run your own load tests with your application to determine the best configuration for you.

TL/DR,  Check your OS/Software products for hard caps on vsockets, and check your licensing for softcaps on cores per socket to determine the best mix of the 2 for your vm.