8
Copyright © 2009 Razorleaf Corporation www.razorleaf.com PLM Tip Defragmenting VMs

Razorleaf PLM Tip - Defragmenting Virtual Machines

Embed Size (px)

DESCRIPTION

Like Razorleaf, many PLM administrators use virtualization to power their test and development systems. When VM performance degrades, defragmenting virtual disks and virtual machines can help - but there are special steps to follow.

Citation preview

Page 1: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

PLM Tip

Defragmenting VMs

Page 2: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Why Fragmentation Slows Performance

•File writing, moving, and rewriting splits files over time (files go in the first available space)

•Seek time adds to overall retrieval time when reading from hard disks (seek increases when files are split)

•Compare:▫ 10msec read▫ 5msec read + 2msec seek + 3msec read +

2msec seek + 1msec read + 2msec seek + 1msec read (15msec)

Page 3: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

How VM Fragmentation is Different

•VM Fragmentation▫Files fragmented across the virtual disk▫Virtual disk fragmented across multiple files▫Virtual disk files fragmented across physical disk

versus

•Physical Fragmentation▫Files fragmented across the physical disk

Page 4: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Steps to Defragging VMs1. Defrag Guest OS (Defraggler on Guest)2. Defrag Virtual Disk (VMware Utility)3. Defrag Host OS (Defraggler on Host)

Page 5: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Defrag Guest OS

•Moves files into contiguous areas where possible, but may not move all guest files into a single virtual disk file

Page 6: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Defrag Virtual Disk

•Consolidates virtual files making up the disk, to the greatest extend possible

Page 7: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Defrag Host OS

• Moves virtual disk files into contiguous area

Page 8: Razorleaf PLM Tip - Defragmenting Virtual Machines

Copyright © 2009 Razorleaf Corporation www.razorleaf.com

Useful Tools•VM defrag▫(built-in with VMware)

•Defraggler▫Windows defrag▫Diskeeper