The Impact of Logical and Physical Fragmentation in a Virtual Environment Presented by Raxco Software, Inc. October 29, 2009.

Slides:



Advertisements
Similar presentations
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
Advertisements

Working with Disks and Devices
COMP091 – Operating Systems 1
®® Microsoft Windows 7 for Power Users Tutorial 6 Optimizing Your Hard Disk.
Allocation Methods - Contiguous
File Systems Examples.
Chapter 7: Configuring Server Storage, Backup, and Performance Options
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
1 File Management in Representative Operating Systems.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
File System Variations and Software Caching May 19, 2000 Instructor: Gary Kimura.
Chapter 7: Configuring Disks. Configuring File Systems Fat32 –First used with Windows 95 OSR2 –Smaller cluster sizes, more efficient storage up to 32.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
Operating Systems.
File Systems. Main Points File layout Directory layout.
Hard Drive Formatting 1. Formatting Once a hard drive has been partitioned, there’s one more step you must perform before your OS can use that drive:
Implementing Hard Drives Chapter 10
With Microsoft Windows 7© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Windows 7.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Tasks Necessary for Setting Up a Hard Disk Initializing the disk with basic or dynamic storage type Creating partitions on basic disks or volumes on dynamic.
Lesson 7-Creating Network File Systems. Overview Understand Novell’s network file system (NFS). Understand Windows file storage. Utilization of NFS.
Ch 81 Organizing and Managing Your Hard Disk. Ch 82 Overview Learn how to organize a hard disk efficiently and logically to serve your specific needs.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Storage and NT File System INFO333 – Lecture Mariusz Nowostawski Noria Foukia.
Objectives Learn what a file system does
Mastering Windows Network Forensics and Investigation Chapter 7: Windows File Systems.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
Chapter pages1 File Management Chapter 12.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 12 Windows 2000 Server.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Window NT File System JianJing Cao (#98284).
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Improving Disk Latency and Throughput with VMware Presented by Raxco Software, Inc. March 11, 2011.
Chapter 3 Managing Disk and File Systems. File Storage Basics Windows XP supports two types of storage Basic Dynamic Basic storage system Centers on partitioning.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
File System Implementation Chapter 12. File system Organization Application programs Application programs Logical file system Logical file system manages.
Windows NTFS Introduction to Operating Systems: Module 15.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Lecture 18 Windows – NT File System (NTFS)
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
Adding a Hard Drive. BIOS / UEFI The Unified Extensible Firmware Interface (UEFI) defines a software interface between an operating system and platform.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Hyper-V Recovery Software Ideal Application to Get Data from VHD v2.1.
Unit 10 ITT TECHNICAL INSTITUTE NT1330 Client-Server Networking II Date: 2/24/2016 Instructor: Williams Obinkyereh.
File System Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi Fujinoki CS 314.
ITMT Windows 7 Configuration Chapter 4 – Working with Disks and Devices ITMT 1371 – Windows 7 Configuration 1.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
Day 28 File System.
Disks and Formatting Ch 3.
Working with Disks Lesson 4.
CSE451 NTFS Variations and other File System Issues Autumn 2002
Windows XP File Systems
Vembu ImageBackup Free Edition
Unit 10 NT1330 Client-Server Networking II Date: 8/16/2016
File Management.
File Systems Implementation
Chapter 3: Windows7 Part 3.
FILE SYSTEM ANALYSIS Dr Fudong Li
Improving Disk Latency and Throughput with VMware
Chapter 16 File Management
File System Implementation
Department of Computer Science
Presentation transcript:

The Impact of Logical and Physical Fragmentation in a Virtual Environment Presented by Raxco Software, Inc. October 29, 2009

What The Experts Say Like physical disk drives, virtual disks can become fragmented. Defragmenting disks rearranges files, programs and unused space on the virtual disk so that programs run faster and files open more quickly. VMware Defragmenting Virtual Disks

Experts… Performance in Windows guest operating systems may also be affected by disk fragmentation VMware ACE

Experts… The two biggest reasons I see virtual machines get slower over time is due to (1) incorrect virtual machine additions installed and (2) disk fragmentation. Andrew Connell Former MS Share Point Developer Microsoft MVP-Content Management Server

What is Fragmentation?

Sample Fragmentation Problems minutes to launch Notes on laptops Users locked out of servers due to insufficient contiguous free space Servers wont boot Application hangs and crashes System errors due to metadata fragmentation Video/audio flickers Prolonged backup

Cost of Fragmentation Productivity Support Unnecessary hardware Longer backups Opportunity

The Fragmentation Issue Logical fragmentation -How NTFS sees the disk Physical fragmentation -How the disk controller sees the disk Free space

The Logical Level To format a partition Windows needs to know if it is NTFS/FAT, cluster size and disk size Bitmap file is how NTFS views the disk Cannot distinguish between physical disk types MFT is created along with metadata files NTFS

NTFS and the MFT ComponentDescription NTFS Boot Sector The BIOS parameter block that stores information about the layout of the volume and file system structures, plus the boot code that loads Windows Server. Master File Table (MFT)The information necessary to retrieve files from the NTFS partition, such as the attributes of a file. File System DataStores data that is not contained within the Master File Table MFT CopyCopies of the records essential for the recovery of the file system if there is a problem with the original.

File Allocation (Writes) Create MFT record (one or more) name, parent dir, security, allocation, pointers to other records Bitmap accessed to locate free (blocks all) MFT record is updated with content NTFS passes LCNs to disk driver

Anatomy of the MFT

File Access (Reads) Load portion of MFT with correct record via directory Locate file in the MFT Pass starting LCN and run length to disk controller Number of physical disk seeks determined by the number of logical fragments

Wasted Seeks

NTFS Expert Concludes… Free space fragmentation slows down writes Free space fragmentation blocks on write File fragmentation causes needless seeks Slower the disk the greater the bottleneck

The Physical Level NTFS reports VCN the starting LCN and its length to the disk controller Disk controller maps LCN to PCN based on its software/firmware Data written to disk RAID or other disk configurations may physically fragment the file for faster access

Fragmentation and VMs Windows guests have all the same NTFS behavior Resource contention between Windows guests can be an issue Resource contention between guests and the host (Windows-based host) Free space fragmentation not good for dynamic vmdk, vhd

How Defragmentation Helps All defragmentation is at the logical cluster level Defragmentation puts files in strings of contiguous logical clusters ($Bitmap) Controller will work faster Fewer unnecessary seeks to the disk Fastest possible logical and physical I/O

Advantages Centralized management via console Offline defragmentation of system and metadata Consolidates free space Optimized boot files and MFT Requires only 1% free space Fast and light on resources Flexible scheduling Windows Certified Full integration with AD VSS Compatible Integrated with vSphere 4 Virtualization Aware

No Virtual Awareness

Virtualization Awareness

The Choices Disk A Chaos Slow Short Life Cycle Inefficient Messy Disk B Orderly Fast Long Life Cycle Efficient Perfect

For vSphere For Hyper-V For VMware Workstation For Server and Workstation For Exchange