Free Newsletters:
DatabaseJournal  
DBANews
Database Journal
Search Database Journal:
 
HOME News MS SQL Oracle DB2 Access MySQL PostgreSQL PHP SQL Etc Scripts Links Discussion
internet.com

» HOME
» NEWS
» FEATURES
» SERIES
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Products
Scripts
Links
» DISCUSSION
» TECH JOBS

Marketplace Partners
Be a Marketplace Partner




internet.commerce
Be a Commerce Partner
Televisions
Promotional Pens
Auto Insurance Quote
Car Donations
Home Improvement
Phone Cards
KVM over IP
Cell Phones
Web Hosting Directory
Build a Server Rack
Compare Prices
KVM Switch over IP
Imprinted Gifts
Shop




MySpace Joins eBay, Yahoo in Open Profile Push

News Corp. Unit Under Fire for Ties to Hacker

Are Non-PC Devices Hurting 'Net Innovation?

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Linked Data Planet Conference & Expo

CA ERwin® Data Modeler Proven database design and modeling. Efficiently analyze, design and deploy effective database solutions. Whitepaper: Manage SQL Server Deployments
Try it free: CA ERwin® Data Modeler


Solaris 8 Migration Assistant
Rapidly move your Solaris 8 application environments to new systems running Solaris 10 with the Solaris 8 Migration Assistant. Reduce migration risk while taking advantage of increased performance, reliability and security of the latest SPARC hardware platforms and Solaris 10 OS. »

 
Sun Eco Innovation: Good for Business, Good for the Environment
A complete solution to help you optimize and refresh your datacenter while properly recycling equipment and eliminating eWaste, including money-saving promotions to lower hardware acquisition costs. »

 
Sun Eco Innovation: Power Calculators
Power consumption has increasingly become a priority in customer's minds when purchasing new systems or storage. Sun's Power Calculators provide data on power consumption of Sun products allowing IT managers to better plan the power requirements in the datacenter to achieve better energy and cost savings. »

 
Optimize the Web Tier: Consolidate to Get More Performance in Less Space and Lower Power Consumption
Expansion in the Web tier is generally accomplished by adding more servers whenever extra capacity is needed. As the pool of servers grows larger, however, the complexity of the environment can grow exponentially. »
Related Articles
Measuring Disk I/O
Measuring Disk I/O—A Vendor View

Production Manager (hands on)
Aquent
US-MA-Cambridge

Justtechjobs.com Post A Job | Post A Resume
Oracle
April 3, 2008
Measuring Disk I/O—Oracle’s ORION Tool
By James Koopmann

Oracle’s ORION workload tool enables architects to effectively develop a workload that can mimic and stress a storage array in the same manner as planned applications with an Oracle backend database.

Introduction

In the last two articles “Measuring Disk I/O” and “Measuring Disk I/O—A Vendor View” we looked at what Oracle is doing from a workload perspective and what we might expect from the hardware respectively. These are two great tools to zero in on how disks are behaving for an Oracle workload and matching that to physical hardware.

To complete and increase your ability to model the physical aspects of an Oracle database, it is advantageous for the designer to test a disk configuration before they actually install an Oracle database on top of it. For this reason, I suggest you look at Oracle’s ORION tool to help benchmark your storage architecture. The proper benchmarking can be the difference between the same hardware having poor or excellent performance. Using Oracle’s ORION workload tool Database Architects can effectively develop a workload that can mimic and stress a storage array in the same manner as the planned application with an Oracle backend database. Because the ORION tool does not require a running Oracle database, multiple configurations can be tested such that an optimal storage configuration can be obtained while providing for reliability, stability, and scalability.

As part of the planning process, understanding the application mix that will be accessing the Oracle database is a good first place to start in understanding the workload mix placed on a database, and ultimately the performance requirements of the storage system. This is where you can run those couple of scripts provided in the “Measuring I/O” article and determine if your database is of an OLTP type or OLAP. Just thinking you have an OLTP is not enough; verify it! Get the IOPS and MBPS number throughout the entire day and understand the read and write percentages. Keep in mind that application mixes may change. A simple OLTP database could be cloned to a different system and begin to be used with an OLAP application. The data is the same but the I/O pattern is very different. Also, consider how your users are using data, a new group of power users may come on-board and turn an OLTP into an OLAP reporting engine without notice. Constant interrogation of a database system can easily tell how it is being used and ultimately configuring a storage array.

Let’s Use ORION

AFTER you understand your application mix, IOPS, MBPS, and percentage of reads to writes, you can then move on to putting a benchmark together with the ORION tool. Oracle’s Orion tool can be used to calibrate and design a storage array that can be relied upon to meet expected performance levels. The Orion tool measures Oracle performance without the need to install Oracle software or even create an Oracle database. Instead, Orion issues I/Os against raw disks using the same libraries an Oracle database would issue. Orion is able to simulate a variety of Oracle I/O workloads as described above, and through its command line options, to fine-tune the storage array thus creating the optimal storage array architecture for a particular environment and eliminating guesswork. After using Orion the architect will have a finer understanding for the performance capabilities of a storage array and will be confident in its deployment.

The Orion tool has a variety of options to fine-tune the sample workload desired to stress the storage system. Of interest are the following:

1.  Run Level

a.   Simple – Small and Large Random I/O are tested individually.

b.  Normal – Same as the simple run level but does combinations of small and random I/Os together.

c.   Advanced – Allows the user to use a wide variety of options to fine-tune the workload.

2.  num_disks – Defines the number of spindles in the storage array that will be tested.

3.  size_small – Defines the size for small random I/O.

4.  size_large – Defines the size for large random or sequential I/O.

5.  type – Defines the type of large I/O (random or sequential).

6.  write – Defines the percentage of writes in the workload.

7.  matrix – Defines the mixture of workload to run.

It is very easy to begin using the Orion tool.

1.  Download Orion.

2.  Install by unzipping the file.

3.  Create a file that contains a list of raw volume or files to test.

4.  Execute the Orion binary with workload options.

5.  View the tabular output.

It is suggested that the reader visit the Orion download page and read the Orion User Guide to obtain the latest instructions on how to run various workload scenarios.

For any workload that is tested against the storage system, Orion will load the system with various I/O streams of varying intensities to determine IOPS, latency, and MBPS. The exact load level is represented in the form of outstanding asynchronous I/Os that can continually be maintained. For instance if a mix workload of 2 outstanding large random I/Os in combination with 4 outstanding small random I/Os was maintained to produce a data transfer rate of 95MBPS, then there are actually two load levels. One load level of 2 for large random I/Os and one load level of 4 for small random I/Os. These two load levels together, for the storage configuration tested, produce the 95MBPS throughput. The key point to remember is that the load level represents the number of outstanding I/Os that are queued and not the number of I/Os that have been serviced.

A Simple Test

The following test is not an exhaustive evaluation of the Orion tool, but instead a simple test to show and prove the usefulness of the tool. In this test scenario, two different storage configurations are chosen. One configuration has one disk and the second configuration has three disks. Through this test, the reader should take away the ease at which a storage array can be stressed and then configured for an optimal Oracle storage system.

For this test, an Orion advanced run level was selected so that a proper workload could be used for the expected storage system. Notice that the example specifies the number of disks to test, will be a read-only test, provides a test name, and will mix small random with large random and sequential reads. Again, this is only to prove the usefulness of the tool and after looking at the many options that are available with the Orion tool the reader should construct a viable workload for the purposes their particular storage array will be used for.

./orion_linux_em64t -run advanced -testname orion1 -num_disks 1 -write 0 -simulate concat -matrix detailed
./orion_linux_em64t -run advanced -testname orion3 -num_disks 3 -write 0 -simulate concat -matrix detailed

Test Results

Summary Results

A summary file, <testname>_summary.txt, is created from the Orion workload tool and contains a description of the options chosen and some high level statistics collected for the test. For this test, it is immediately evident that the three disk configuration gives better numbers for IOPS and MBPS. Note that the numbers revolve around the maximum value seen for each I/O type. These numbers provide the best-case scenario for the storage configuration.

Single Disk

Maximum Large MBPS=64.43   @ Small=0 and Large=2
Maximum Small IOPS=586     @ Small=4 and Large=0
Minimum Small Latency=4.45 @ Small=2 and Large=0

Multile (3) Disks

Maximum Large MBPS=95.38   @ Small=0 and Large=6
Maximum Small IOPS=1021    @ Small=15 and Large=0
Minimum Small Latency=3.47 @ Small=2 and Large=0

Additional Result Files

ORION will also produce a file named ‘<testname>_iops.csv’ and ‘<testname>_mbps.csv’. Each of these files contains comma-separated values that represent the IOPS and MBPS for various I/O queue depths during the benchmark run. These files are important to look at to see where performance inflection points exist so that you can determine where diminishing returns on hardware investment occur.

The Orion tool provides two very important benefits. The first is the ease at which it allows architects to configure a system for use with an Oracle database. The guesswork is quickly removed for by performing a variety of benchmark test. Tests can be done for specific applications as well as different physical structures within Oracle. If a storage system is running an Oracle database, it is imperative that the storage system be stressed and benchmarked using the Orion tool. Only after running this tool can a true representation of how the storage system will perform under a true Oracle workload be presented to the architect and used for the proper configuration of a storage system.

» See All Articles by Columnist James Koopmann

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

Oracle Archives

Learn Tools & Techniques to Justify and Fund Your IT Investments. Download Complimentary Report Now!
Download: SQL Backup & DBA Best Practices eBook
IT in 2018: Download Free eBook By The Author Of "Does IT Matter?" Simple Registration Is Required.
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers. Sponsored by HP, Citrix, and Intel.
Webcast: Five Virtualization Trends to Watch. Produced for HP, Citrix, and Intel.


Latest Forum Threads
Oracle Forum
Topic By Replies Updated
GET DATA FROM .DBF FILE, ORACLE 9i revelation 5 May 5th, 10:55 AM
Could not locate Java runtime. Oracle installation error revelation 0 April 10th, 12:06 AM
Database Backup junOOni 4 March 20th, 06:28 AM
Helpme to How to Write Text File intelram_18 1 March 17th, 02:54 PM







JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES