Circling Back To Littles Law Now that we have tools to gather information.

Slides:



Advertisements
Similar presentations
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Advertisements

Monitoring and Testing I/O
Date August 7, 2008 Presenter Marty Turner
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizards Guide to PHP by David Lash.
Chapter 6 File Systems 6.1 Files 6.2 Directories
Scheduling Introduction to Scheduling
Performance Tuning Methods Author: Vladimir Andreev Semantec GmbH Lector: Stoyan Ivanov Semantec Bulgaria OOD Semantec GmbH Benzstr. 32 D Herrenberg,
SE-292 High Performance Computing
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
Key Metrics for Effective Storage Performance and Capacity Reporting.
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Performance Tuning Compiled from: Oracle Database Administration, Session 13, Performance, Harvard U Oracle Server Tuning Accelerator, David Scott, Intec.
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
Enhancing Application Performance Root Causes and Quick Solutions.
© Bharati Vidyapeeths Institute of Computer Applications and Management, New Delhi © Bharati Vidyapeeths Institute of Computer Applications and.
Database Performance Tuning and Query Optimization
Copyright © 2011 by the Commonwealth of Pennsylvania. All Rights Reserved. Load Test Report.
Chapter 4 Memory Management Basic memory management Swapping
Go-Faster Consultancy Ltd.1 Experiences of Global Temporary Tables in Oracle 8.1 David Kurtz Go-Faster Consultancy Ltd.
1 CS533 Modeling and Performance Evaluation of Network and Computer Systems Capacity Planning and Benchmarking (Chapter 9)
© 2004, D. J. Foreman 1 Scheduling & Dispatching.
Introduction to Queuing Theory
SE-292 High Performance Computing Memory Hierarchy R. Govindarajan
Tag line, tag line Perforce Benchmark with PAM over NFS, FCP & iSCSI Bikash R. Choudhury.
CSE506: Operating Systems Disk Scheduling. CSE506: Operating Systems Key to Disk Performance Don’t access the disk – Whenever possible Cache contents.
1. Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies.
1 Part II Web Performance Modeling: basic concepts © 1998 Menascé & Almeida. All Rights Reserved.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Performance Evaluation
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
1 Multiple class queueing networks Mean Value Analysis - Open queueing networks - Closed queueing networks.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
1Chapter 05, Fall 2008 CPU Scheduling The CPU scheduler (sometimes called the dispatcher or short-term scheduler): Selects a process from the ready queue.
Nexenta Proprietary Global Leader in Software Defined Storage Nexenta Technical Sales Professional (NTSP) COURSE CONTENT.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
1 Physical Data Organization and Indexing Lecture 14.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
M EAN -V ALUE A NALYSIS Manijeh Keshtgary O VERVIEW Analysis of Open Queueing Networks Mean-Value Analysis 2.
Luca Canali, CERN Dawid Wojcik, CERN
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
E X C E E D I N G E X P E C T A T I O N S Time Mgt Linux System Administration Dr. Hoganson Kennesaw State University OS Time Management Time management.
1 Wenguang WangRichard B. Bunt Department of Computer Science University of Saskatchewan November 14, 2000 Simulating DB2 Buffer Pool Management.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
External Storage Primary Storage : Main Memory (RAM). Secondary Storage: Peripheral Devices –Disk Drives –Tape Drives Secondary storage is CHEAP. Secondary.
The Design and Implementation of Log-Structure File System M. Rosenblum and J. Ousterhout.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
CERN IT Department CH-1211 Geneva 23 Switzerland t IT/DB Tests and evolution SSD as flash cache.
Review. Why can average request time be used to determine the work-load required for saturation?
CERN IT Department CH-1211 Geneva 23 Switzerland t Oracle Tutorials CERN June 8 th, 2012 Performance Tuning.
1 Components performance modelling - Outline of queue networks - Mean Value Analisys (MVA) for open and close queue networks.
Scheduling. Main Points Scheduling policy: what to do next, when there are multiple threads ready to run – Or multiple packets to send, or web requests.
General Sizing Discussion Jana Jamsek ATS Europe
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part II System Performance Modeling: basic concepts, operational analysis (book, chap. 3)
Introduction to Exadata X5 and X6 New Features
This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information.
Software Architecture in Practice
Flash Storage 101 Revolutionizing Databases
Storage Team (Controller Performance) Aggregate Utilization
Oracle Storage Performance Studies
ASM-based storage to scale out the Database Services for Physics
Proving Hardware Bottlenecks &
Queuing models Basic definitions, assumptions, and identities
Troubleshooting Techniques(*)
Performance Evaluation
Client/Server Computing
Performance And Scalability In Oracle9i And SQL Server 2000
Using wait stats to determine why my server is slow
Hybrid Buffer Pool The Good, the Bad and the Ugly
Presentation transcript:

Circling Back To Littles Law Now that we have tools to gather information

2 Latency – A measure of time delay experienced in a system, the precise definition of which depends on the system and the time being measured. In storage, latency is generally referred to as response time, in ms. Throughput – The amount of material or items passing through a system or process. In storage, IO/s in units of 4k

Latency & Throughput Random SQL SERVER example: Latency starts to spike as near saturation

4 Latency & Throughput Latency starts to spike as near saturation

5 Disk IOPS versus Latency

throughput A B LATENCY throughput B True in Real Life Too

Littles Law Review & Example Littles Law: Restated: N = L * W N = # Cars in Jam T = Lanes (Throughput) Wait = time from A->B Assume 4 cars arrive every second (lanes) A->B is 30 seconds N = 4*30 = 120

8 Littles Law - Review We can use this with Latency & Throughput on a Netapp system too. Standard version: Re-written for Netapp: Translating into IO terms: N = # of outstanding IOs T = Throughput of IOs R = Response time of each IO

9 Littles Law - An Example Typical situation: – An user complains of poor performance: My dd/cp/tar/Oracle query (for example: full table scan) etc. process isnt fast enough – A casual look at sysstat shows the filer is not very busy – NetApp Service returns with a statement of thread-limited What does this mean?

Littles Law - An Example Compute Wait for Storage Read Request Data Return Time In this example, the process is either computing or reading. It is always busy. But the CPU and the storage are not, on average, fully used. Client side tools would be needed to determine this: debugger, strace, dtrace, etc.

11 Littles Law - An Example Using stats show volume: volume:dwhprod1:san_read_data: b/s volume:dwhprod1:san_read_latency:4.23ms volume:dwhprod1:san_read_ops:653/s How many threads (on average) are running here? From Littles Law: (N threads) / (service time per op) = throughput

12 How many threads (on average) are running here? (N threads) / (service time per op) = throughput N threads = throughput × (service time) Service Time: volume:dwhprod1:san_read_latency:4.23ms Throughput: volume:dwhprod1:san_read_ops:653/s Littles Law - An Example

13 Littles Law - An Example How many threads (on average) are running here? throughput × (service time) N threads 653 × What are the performance implications of having only 2.8 concurrent requests (on average)?

14 Littles Law - An Example This example is a concurrency-limited workload – Each thread is always busy – Not enough threads to keep the system busy Implications: – Storage system not fully utilized – High I/O wait times at the server

15 Littles Law - An Example Solution: Add more threads – Sometimes you cannot, for example if there is a mapping of 1 thread to each application user, you cannot increase the user population – Fix Client Inefficiencies FCP/iSCSI - Increase queue depth NFS - Poor IO concurrency due to inefficient NFS client design, use an updated NFS client or 3rd party product (ex. Oracle DirectNFS) and/or Make the IO subsystem/disks faster – Including fixing client filesystem caching – PAM/Hybrid Aggregates