LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-16-2013, 04:33 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 284

Rep: Reputation: 17
Question Calculating DISK IOPS.


Hi,

I would like to know how to calculate DISK IOPS for Raid 5 Disk (4 Disk)? or a lun which is given from Raid 5 Storage? or if I am having 3 Disk with Raid 5 and 2 Disk with Raid 0.

Please suggest
 
Old 09-16-2013, 02:29 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,126

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
iostat will tell you what both the md and sd device are doing under the tps (transactions per second) column. You can't calculate it because the md RAID 5 driver maintains a stripe cache so the number of I/Os coming into md is generally not a simple relationship to the number going out. For RAID 0 an I/O coming in will result in an I/O going out for each disk that the I/O touches. This depends on the relative size and offset of the I/O to the RAID chunk size.
 
Old 09-16-2013, 10:26 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
IMHO, in this case you are "comparing apples and oranges." Instead of pursuing that line of reasoning, which is more-or-less fruitless, I suggest that you should think about finding an alternative metric which is "clearly measurable, and clearly relevant to what I want to do."

"DISK IOPS," quite clearly, is a metric that is entirely dependent upon all of the (many ...) differences that you list in your original post. Therefore, it is tightly bound to every one of them, such that a "DISK IOPS" (or whatever ...) measurement, taken from any one of these scenarios, is pretty well incomparable to a like-named measurement taken from any other one.

Therefore, you need to step back and think of: "what else can I measure?" And, to do that, you need to ask: "What is it, really, that I need (not 'to know,' but ...) to decide?"

Re-frame your question in terms of the business requirement: of what this system, ultimately, must be able to do. (Consider not only "raw performance, when everything's working perfectly," but also, "what if this-or-that disk drive throws a piston?") Instead of anchoring your inquiry upon "an abstract physical metric (such as DISK OPS)," consider the requirements of the application first, and then weigh the various "abstract implementation-specific(!) physical metrics" in relation to it. "The cart pays the bills. The horse is just a means to an end."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to measure IOPS in Linux anon091 Linux - Server 3 04-09-2011 04:22 AM
Calculating IOPS gizmo78 Linux - Hardware 1 10-05-2010 04:47 PM
Could a single spinning disk really be getting 1700 IOPS lukeMajorCS Linux - Server 1 09-11-2010 01:54 PM
LXer: Bcache Testing: IOPS LXer Syndicated Linux News 0 09-08-2010 05:30 AM
Calculating Actual Disk Space with Hard Links JoeyB Linux - General 2 08-24-2009 02:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration