Presentation is loading. Please wait.

Presentation is loading. Please wait.

Monitoring and Testing I/O Using Perfmon, Oracle tools and IOMeter for monitoring and load testing the I/O Subsystem.

Similar presentations


Presentation on theme: "Monitoring and Testing I/O Using Perfmon, Oracle tools and IOMeter for monitoring and load testing the I/O Subsystem."— Presentation transcript:

1 Monitoring and Testing I/O Using Perfmon, Oracle tools and IOMeter for monitoring and load testing the I/O Subsystem

2 Objectives At the end of this module the student will understand the following tasks and concepts. Monitoring the I/O Subsystem using Perfmon Monitoring the I/O Subsystem using Perfmon Monitoring the I/O Subsystem using Oracle Tools Monitoring the I/O Subsystem using Oracle Tools Load Testing the I/O Subsystem using TTCP Load Testing the I/O Subsystem using TTCP

3 Oracle and I/O I/O performance is crucial to Oracle Performance I/O performance is crucial to Oracle Performance Data buffers are sensitive to read I/O latency Data buffers are sensitive to read I/O latency Log buffers are sensitive to write I/O latency Log buffers are sensitive to write I/O latency

4 Oracle I/O Problems Performance Degradation Index lookup Index lookup 10 I/Os 10 I/Os 10 x 6 ms = 60 ms (not bad) 10 x 6 ms = 60 ms (not bad) 10 x 100 ms = 1 sec (noticeable) 10 x 100 ms = 1 sec (noticeable) Table Scan Table Scan 30,000 I/Os 30,000 I/Os 30,000 x 6 ms = 90 sec (not bad for a Table Scan) 30,000 x 6 ms = 90 sec (not bad for a Table Scan) 30,000 x 100 ms = 3,000 sec = 50 minutes 30,000 x 100 ms = 3,000 sec = 50 minutes You are getting phone calls and s You are getting phone calls and s

5 Monitoring I/O Performance Perfmon General Tips General Tips Set the sample rate up Set the sample rate up 1 sec is too fast 1 sec is too fast Not accurate on all counters Not accurate on all counters Not enough time to see all the counters Not enough time to see all the counters Way to fast for saving the data Way to fast for saving the data Heizenburg Uncertainty Principle Heizenburg Uncertainty Principle Use both graph and report as appropriate Use both graph and report as appropriate Save data if possible Save data if possible

6 Monitoring I/O Performance Perfmon Logical Disk Counters Logical Disk Counters Lists the Physical Disks by Drive Letter Lists the Physical Disks by Drive Letter Good for monitoring file I/O Good for monitoring file I/O Physical Disk Counters Physical Disk Counters Lists the Physical Disks by Physical Disk Lists the Physical Disks by Physical Disk Good for monitoring the LUNs or Volumes Good for monitoring the LUNs or Volumes

7 Monitoring I/O Performance Perfmon Latencies Latencies IOPS (I/Os Per Second) IOPS (I/Os Per Second) Throughput Throughput I/O sizes I/O sizes

8 Monitoring I/O Performance Perfmon Latencies Latencies Avg. Disk sec/Read Avg. Disk sec/Read Provides Read Latency Statistics Provides Read Latency Statistics Avg. Disk sec/Write Avg. Disk sec/Write Provides Write Latency Statistics Provides Write Latency Statistics

9 Monitoring I/O Performance Latency

10 Monitoring I/O Performance Perfmon IOPS IOPS Disk Reads/sec Disk Reads/sec Disk Transfers/sec Disk Transfers/sec Useful for total volume IOPS (remember RAID overhead) Useful for total volume IOPS (remember RAID overhead) Disk Writes/sec Disk Writes/sec

11 Monitoring I/O Performance IOPS

12 Monitoring I/O Performance Perfmon Throughput Throughput Disk Bytes/sec Disk Bytes/sec Total Throughput Total Throughput Disk Read Bytes/sec Disk Read Bytes/sec Disk Write Bytes/sec Disk Write Bytes/sec

13 Monitoring I/O Performance Throughput

14 Monitoring I/O Performance Perfmon I/O sizes I/O sizes Avg. Disk Bytes/Read Avg. Disk Bytes/Read Avg. Disk Bytes/Write Avg. Disk Bytes/Write

15 Monitoring I/O Performance I/O Sizes

16 Monitoring I/O Performance Perfmon Miscellaneous Miscellaneous Current Disk Queue Length Current Disk Queue Length

17 Monitoring I/O Performance Oracle Tools OEM Performance Page OEM Performance Page Instance Disk I/O Instance Disk I/O Instance Throughput Instance Throughput

18 Monitoring I/O Performance Oracle Tools Oracle Counters for Windows Performance Monitor Oracle Counters for Windows Performance Monitor Add Oracle Data Files counter Add Oracle Data Files counter physreads/sec physreads/sec Physwrites/se Physwrites/se Choose data files to monitor Choose data files to monitor Shows I/O for database files Shows I/O for database files

19 Monitoring I/O Performance Oracle Tools STATSPACK Reports STATSPACK Reports Tablespace IO Stats Tablespace IO Stats Data File IO Stats Data File IO Stats

20 Load Testing I/O Used to determine I/O problems in a controlled and scientific manner Used to determine I/O problems in a controlled and scientific manner Used to identify the upper limits of the storage subsystem Used to identify the upper limits of the storage subsystem Used to prove or disprove hypothesis or theories Used to prove or disprove hypothesis or theories

21 Load Testing I/O IOMeter IOMeter is a public domain utility IOMeter is a public domain utility Available at Available at Generates I/O based on your specifications Generates I/O based on your specifications Provides accurate results Provides accurate results Is repeatable Is repeatable

22 Load Testing I/O IOMeter Made up of two major components Made up of two major components GUI GUI Used for configuration and results Used for configuration and results Dynamo Dynamo Used to generate the load Used to generate the load

23 Load Testing I/O IOMeter Configuring IOMeter Configuring IOMeter Disk Targets Disk Targets Network Targets Network Targets Access Specifications Access Specifications Results Display Results Display Test Setup Test Setup

24 Load Testing I/O Disk Targets Maximum Disk Size Maximum Disk Size For random I/Os this must be sufficiently large For random I/Os this must be sufficiently large # of Outstanding I/Os # of Outstanding I/Os Defines concurrency of I/Os Defines concurrency of I/Os If set to one there will only be one I/O issued at a time and IOPS = 1 / latency If set to one there will only be one I/O issued at a time and IOPS = 1 / latency

25 Load Testing I/O Network Targets Used for network I/O testing Used for network I/O testing

26 Load Testing I/O Access Specifications Specifies the type of I/O Specifies the type of I/O Block Size Block Size Read/Write ratio Read/Write ratio Sequential/Random Ratio Sequential/Random Ratio Create new spec for Oracle Create new spec for Oracle

27 Load Testing I/O Test Setup Used to set up automated tests Used to set up automated tests Run time Run time Ramp up Ramp up Number of workers Number of workers Etc. Etc.

28 Load Testing I/O Results Display View the performance during the test View the performance during the test IOPS IOPS Throughput Throughput Latency Latency CPU Utilization CPU Utilization

29 Review What type of I/O problem causes the biggest problem with Oracle Data Files ? What type of I/O problem causes the biggest problem with Oracle Data Files ? Name some Perfmon counters to monitor for I/O? Name some Perfmon counters to monitor for I/O? What counter does the Oracle Counters for Windows Performance Monitor add to Perfmon that measures Oracle I/O? What counter does the Oracle Counters for Windows Performance Monitor add to Perfmon that measures Oracle I/O? What are the two components of IOMeter? What are the two components of IOMeter?

30 Summary Monitoring the I/O Subsystem using Perfmon Monitoring the I/O Subsystem using Perfmon Monitoring the I/O Subsystem using Oracle Tools Monitoring the I/O Subsystem using Oracle Tools Load Testing the I/O Subsystem using TTCP Load Testing the I/O Subsystem using TTCP


Download ppt "Monitoring and Testing I/O Using Perfmon, Oracle tools and IOMeter for monitoring and load testing the I/O Subsystem."

Similar presentations


Ads by Google