P10400 array with vmfs datastores, should I still run defrag

Post Reply
mujzeptu
Posts: 166
Joined: Thu Mar 21, 2013 11:38 am

P10400 array with vmfs datastores, should I still run defrag

Post by mujzeptu »

We have a V400 array running alll vmfs datastores with vcenter 5.1. We have hundreds of windows and linux servers, and I am wondering how helpful running local defrags within the OS can really be?

I have all vms running eager zeroed, with the 3par thin suite and all the VV's being thin. I am working on running vmfstools on the datastores to zero out unused space, I am making sure to compact CPGs after changes, tunevv, etc.

I am just curious how helpful OS defrags are on the individual vm OS's, and the reason/logic behind it.
mujzeptu
Posts: 166
Joined: Thu Mar 21, 2013 11:38 am

Re: P10400 array with vmfs datastores, should I still run de

Post by mujzeptu »

I have found:

http://blogs.vmware.com/vsphere/2011/09 ... st-os.html

http://kb.vmware.com/selfservice/micros ... Id=1006810

but I am just curious about 3par users real-world experiences...
Josh26
Posts: 185
Joined: Thu Oct 24, 2013 6:50 pm

Re: P10400 array with vmfs datastores, should I still run de

Post by Josh26 »

3PAR aside, defrag on any form of RAID doesn't make sense. How do you align blocks continuously when that block is striped across several physical disks?

Honestly a lot of the desire to defragment is a hangover from "performance tools" a few years back that whose sales relied on this being viewed as a requirement. A bit like screensavers.
hdtvguy
Posts: 576
Joined: Sun Jul 29, 2012 9:30 am

Re: P10400 array with vmfs datastores, should I still run de

Post by hdtvguy »

I am torn on this, as most arrays do some sort of prefetch and if the data is contiguous it should get a cache hit for the next block if the prefetch grabbed it, if it is truly the next block that is needed. If the data from the OS is highly fragmented then the "next block" surely will not have what the OS might be looking for next since in the OS the next piece of requested data is somewhere else. I also agree with some of the posts in the blog mentioned, the entire chain needs to be optimized otherwise the weak link becomes the bottle next.
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: P10400 array with vmfs datastores, should I still run de

Post by Richard Siemers »

Is there a problem that can be traced to a cause? Is it disk geometry based or are there issues with the file system allocation tables being larger due to excessive fragmentation? FAT32 vs NTFS, ETX2 vs EXT3, etc etc.

In modern datacenters, with modern file systems and modern SAN storage... I don't see or hear much, if any, concerns with file fragmentation.
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
Post Reply