Show Windows Server 2008 file fragmentation status

Note: this is a post from my old blog

Server 2008 and Windows Vista does not show the fragmentation percentage.

Unlike Windows Server 2003 and Windows Server 2008 R2, Server 2008 -like Windows Vista- does not show a file fragmentation percentage or report, it only advises whether you should or shouldn’t defrag your harddrive. This can be an issue if you need to improve performance of servers under high-load and/or don’t want to stress your shared storage by defragmenting drives that don’t need defragmentation. Luckily this has been solved in Server 2008 R2.

Solution: Use the command line tool Continue reading

Hyper-V: How to add more than 4 cores to a virtual machine.

note: this is a post from my old blog.

With the new Intel and AMD processors having multiple cores, today’s Hyper-V hosts can easily have 24 or more cores. Just buy a mainstream server with dual hexa-core Hyper Threaded CPU’s and your performance monitor will look like a bar chart; the bars are actually your CPU utilization graph..

I’ve seen multiple situations where a multi-core server is occupied by one or two virtual servers, each using the maximum of 4 cores, hence leaving a lot of cores unused.

Windows Server 2008 R2 Hyper-V officially supports 4 cores per VM. Windows 8 Server will give us a lot of new features and upgrades, and will also support more than 4 cores per VM. They might even add multiple core support to the next SP for Server 2008 R2.

There is a way to add more cores to your VM by editing your VM’s XML file: Continue reading