Slide 1 Windows PC Accelerators Reporter :吳柏良. Slide 2 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion.

Slides:



Advertisements
Similar presentations
Query Processing and Optimizing on SSDs Flash Group Qingling Cao
Advertisements

MEMS Based Mass Storage Systems. What is MEMS? (M)icro(E)lectric(M)echanical(S)ystems Consist of mech µ(structures, sensors, actuators), electronics,
CLI312: Windows Vista System Performance Enhancements Dan Li Program Manager Lead Microsoft Corporation.
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
Chapter 3: Configuring the Windows Vista Environment.
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
Hybrid Hard Drive William Sullivan HTM /09/2007.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
Ruston Panabaker Architect Windows Hardware Innovation Group
Hard Disk Drives. ATA is the current standard, it uses regular molex power connectors and IDE cables. SATA is a newer product (also SATA2 is already in.
The Hard Drive By “The Back Table”.
Hybrid Hard Drives with Non-Volatile Flash and Longhorn Jack Creasey Program Manager Hardware Innovation Group Microsoft Corporation.
Solid-State Drive Ding Ruogu Kong Liang. A solid-state drive (SSD) is a data storage device that uses solid-state memory to store persistent data.
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
Nishanth Lingamneni Program Manager Microsoft Corporation SYS-007T.
Buying a Laptop. 3 Main Components The 3 main components to consider when buying a laptop or computer are Processor – The Bigger the Ghz the faster the.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Lecture 11: DMBS Internals
Windows Vista In The Chicopee Public School System.
Flash memory Yi-Chang Li
Flashing Up the Storage Layer I. Koltsidas, S. D. Viglas (U of Edinburgh), VLDB 2008 Shimin Chen Big Data Reading Group.
Windows Vista: System Performance Enhancements Simon Martyn Infrastructure Specialist The IQ Business Group Technology Services Division.
On Windows File Access Modes : A Performance Study Jalil Boukhobza & Claude Timsit laboratory Versailles Saint Quentin University.
Storing Data: Electronic Filing Cabinets What You Will Learn Difference between memory and storage How storage media are categorized Measuring a storage.
George Skarbek May What drives? There are three types of virtual drives that can help. They are: A mapped network drive Virtual CD/DVD drive RAM.
Chapter 111 Chapter 11: Hardware (Slides by Hector Garcia-Molina,
SOLID STATE DRIVES By: Vaibhav Talwar UE84071 EEE(5th Sem)
1  2004 Morgan Kaufmann Publishers Multilevel cache Used to reduce miss penalty to main memory First level designed –to reduce hit time –to be of small.
®® Microsoft Windows 7 for Power Users Tutorial 9 Evaluating System Performance.
A Detailed Discussion of SRAM Niels Asmussen Maggie Hamill William Hunt.
1/14/2005Yan Huang - CSCI5330 Database Implementation – Storage and File Structure Storage and File Structure.
2.1 Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General.
File Processing : Storage Media 2015, Spring Pusan National University Ki-Joune Li.
I/O Computer Organization II 1 Introduction I/O devices can be characterized by – Behavior: input, output, storage – Partner: human or machine – Data rate:
11.1Database System Concepts. 11.2Database System Concepts Now Something Different 1st part of the course: Application Oriented 2nd part of the course:
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
Windows XP & Vista Memory Management
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
12/18/20151 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Roy Campbell, Sam.
Disk Basics CS Introduction to Operating Systems.
By : Reem Hasayen. A storage device is a hardware device capable of storing information. There are two types of storage devices used in computers 1. Primary.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
DMBS Internals I February 24 th, What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the.
A Presentation on Hard Disks By: Team 4 (HIS44): (1)Samarjyoti Das (972151) (2)Subhadeep Ghosh (986570) (3)Dipanjan Das (986510) (4)Sudhamayee Pradhan.
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
DMBS Architecture May 15 th, Generic Architecture Query compiler/optimizer Execution engine Index/record mgr. Buffer manager Storage manager storage.
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
Data Storage and Querying in Various Storage Devices.
Computer Storage. What is Primary Storage? ● Primary storage is computer memory that is directly accessible to the CPU of a computer without the use of.
Windows Vista Configuration MCTS : Maintenance and Optimization.
Virtual Memory: Implementing Paging
Chapter 10: Mass-Storage Systems
Chapter 2: Computer-System Structures
Lecture 16: Data Storage Wednesday, November 6, 2006.
Database Management Systems (CS 564)
File Processing : Storage Media
Lecture 11: DMBS Internals
Introduction I/O devices can be characterized by I/O bus connections
CSE 153 Design of Operating Systems Winter 2018
Lecture 9: Data Storage and IO Models
File Processing : Storage Media
Nathan Obr, Jack Creasey Microsoft Corporation
Overview Continuation from Monday (File system implementation)
Chapter Overview Operating System Basics
Persistence: hard disk drive
SM
Presentation transcript:

Slide 1 Windows PC Accelerators Reporter :吳柏良

Slide 2 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion

Slide 3 Introduction l Windows PC Accelerators are the mechanism used in Windows Vista to improve performance especially on I/O response time. l Ensuring Memory is well Utilized l SuperFetch : an memory manager that analyzes usage pattern over time to optimize memory content l Avoiding the Disk Bottleneck l ReadyBoost Expanded Memory Devices : support the use of flash storage devices to boost PC performance l ReadyDrive Hybrid Hard Drive : support the use of hybrid hard drives (H-HDDs)

Slide 4 Poor Memory Contents l Typical Memory Pressure Scenario 1. Memory is populated with pages for Application A 2. Application B is loaded, pushing App A’s pages out 3. User switches back to Application A 4. Application A reloads pages as needed through Pagefaults, pushing out Application B’s pages 5. Repeat cycle…

Slide 5 Disk Seek Time Problem l Drive Industry Continues to Deliver Impressive Data Rate, Rotation and Interface Speed Improvements l ATA/33  ATA/66  ATA/100  SATA l 4200RPM  5400RPM  7200RPM  10000RPM l 2 MB  8 MB  16 MB l Result : Sequential IO rates of 80 MB/s+ l At that rate, 1 GB of RAM fully populated in ~12.8sec l Seek Times Improving, but not as Significantly l 3.5” Desktop drive avg seek ~10 mSec l 2.5” Mobile drives ~12.5 mSec l Much better when hitting the track buffer… l Result : Random IO rate limited to an effective 1MB/sec l At that rate, populating 1GB of RAM takes ~1024sec!

Slide 6 Disk Seek Time Problem l 50% of MobileMark 2005 I/Os are 4 KB and Random l Files and Structured Files l A single DLL is generally 5 to 6 Disk Locations (min) l Directory, MFT Entry, and other File System Metadata l Programs like Internet Explorer, Adobe Reader, or Outlook use over 100 DLLs l Logging, Transactions, Application Temp Files l A simple Registry Write can require 5 to 6 Random and Ordered Disk Writes

Slide 7 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion

Slide 8 Windows SuperFetch l SuperFetch analyzes memory usage patterns to determine the optimal memory content. l SuperFetch uses a lightweight, sophisticated tracking algorithm to determine which pages a user uses most frequently. l When the PC has free physical memory, SuperFetch places candidate pages into memory to make the PC more responsive. l SuperFetch manages both RAM and cache memory.

Slide 9 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion

Slide 10 Windows ReadyBoost l ReadyBoost supports the use of nonvolatile flash storage devices to boost system performance. l Allows fast reads to satisfy page faults when page is not in main memory and significantly outperforms disk in random reads by avoiding the rotational and seek latencies.

Slide 11 Windows ReadyBoost l Write-through cache allows user to remove device at any time l Secure l Data is encrypted using AES 128bit crypto l Efficient l Data is compressed by a factor of 1.8X to 2.3X

Slide 12 Windows ReadyBoost l Using a simulated workload on a PC running Windows Vista ReadyBoost Capacity Time to complete workload (s) Percent Improvement 0 MB MB MB MB

Slide 13 Implement Consideratins l Flash Performance l 5 MB/s for random 4K reads l 3 MB/s for random 512K writes l Flash Capacity l 3:1 ratio of ReadyBoost cache size to main memory size will realize optimal performance. l Flash Wear l Unique write gathering algorithm optimizes performance and wear patterns l Projected life of devices 19.4 – 1823 years depending on device size, variant, and usage patterns

Slide 14 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion

Slide 15 Windows ReadyDrive Up to 90% Power Saving when powered down Read and Write instantly while spindle stopped Read instantly even while spindle spinning for higher IO rate ATA Interface Disk comes ready in less than 1 second NV Cache DRAM Cache

Slide 16 Hybrid Hard Disk Boot And Resume l During shutdown or hibernate all the disk sectors needed to boot or resume are pinned into the NV cache l On next power on the BIOS POST runs and the disk is powered on but the spindle won’t be ready for 2-4 seconds l BIOS can read data from the NV cache and all boot process IO can be read from the NV Cache l Once the rotating media is ready IO can be satisfied by both NV Cache and rotating media for optimized read performance 2.5” HDD Hard Disk Controller NV Cache Motherboard DRAM ATA Controller Windows Vista OS

Slide 17 ReadyDrive System Startup l Hybrid HDD comes ready faster and fast BIOS POST reads from disk earlier l LBAs needed to start boot process are read from NV Cache before the magnetic spindle is ready l No seek times for data in NV Cache for the remainder of startup BIOS and Disk spin-up Read disk Read NV Cache Std HDD Hybrid HDD Read disk and NV Cache time

Slide 18 Power Saving Mode l SuperFetch buffers disk data in system DRAM to fulfill reads l Write IOs buffered in NV cache while disk is spun down l Disk spins up only when l Read cache miss l NV cache full l The disk spins-down and continues to use the NV cache 2.5” HDD Hard Disk Controller NV Cache Motherboard DRAM ATA Controller Windows Vista OS

Slide 19 Windows ReadyDrive l ReadyDrive is a hard disk drive with integrated nonvolatile flash memory that acts as a high- performance cache for writes and low-latency reads. l Performance l Faster boot and Resume from Hibernate l Faster and more consistent application launch l Reduced disk contention l Saves battery power l Increased system ruggedness and reliability

Slide 20 Windows ReadyDrive

Slide 21 Windows ReadyDrive Performance

Slide 22 Windows ReadyDrive Power Consumption

Slide 23 Implementatin Consideratins l ATA Command Set l Control what data is pinned for retention in the NV cache l Control the drive power mode l NV Cache Size l The NV cache size as large as 256 MB to 1 GB would be more effective. l NV Cache Performance > 4 MB/s4 KB random reads to a file pinned in the NV Cache > 4 MB/s4 KB random writes to a file pinned in the NV Cache > 8 MB/s64 KB sequential writes to a file pinned in the NV Cache > 16 MB/s64 KB sequential reads to a file pinned in the NV Cache

Slide 24 Conclusion l Microsoft introduces three mechanisms to improve system performance. l SuperFetch : an memory manager that analyzes usage pattern over time to optimize memory content l ReadyDrive : support the use of flash storage devices to boost PC performance l ReadyBoost : support the use of hybrid hard drives (H-HDDs)

Slide 25 Reference l perfaccel.mspx perfaccel.mspx l b97017b-e28a-4bae-ba cf47d23cd/STO008_WH06.ppt b97017b-e28a-4bae-ba cf47d23cd/STO008_WH06.ppt l b97017b-e28a-4bae-ba cf47d23cd/CPA131_WH06.ppt b97017b-e28a-4bae-ba cf47d23cd/CPA131_WH06.ppt

Slide 26 Thank You!