LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-04-2010, 05:47 PM   #1
gizmo78
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Calculating IOPS


Hi,

Can anyone give me a help in calculating the IOPS for my system please?

I had understood that IOPS could be calculated by monitoring IOSTAT. The r/s (reads/sec) and w/s (write/sec) combined basically gave you the peak IOPS.

However having monitored iostat for my app during a performance test, the figures I'm seeing lead me to believe that iostat couldn't be a reliable way to calculate IOPS. I get values of over 10,000 for w/s! I didn't think this was possible given the storage system i have (4 x 7500rpm sata disks in raid 5).

Can anyone help me? How *should* I calculate IOPS? How could I get over 10 thousand writes per second? Is it cahcing?

Thanks for any help,
Gizmo
 
Old 10-05-2010, 04:47 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,103

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Depends how you define I/O. From the applications perspective, that is the rate its reads and writes are being serviced. So as a (logical) service rate, it has some validity. And yes, a perfect example of the benefits of caching.
There are benchmarks that will give you the performance of your system, but not for your own application. These use direct I/O to (deliberately) remove the caching from the equation.
blktrace is a block device driver tool that shows the actual I/O merging and subsequent physical I/O call. Now supports per-partition monitoring, so that might be an option if you have all your data on particular partition(s) - with no other files on those partitions(s).
There are user-land tools for it, but I haven't looked at it since it was beta code, so I'm not aware of the current status.
 
  


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
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
IOPS on multiple server single mount point system hyperactive22 Linux - Server 1 05-29-2010 02:29 AM
IOPs Performance Drop on Different Kernel Releases jdang Linux - Kernel 4 10-11-2009 05:18 AM
LXer: Intel IOPs gain better Debian Linux support LXer Syndicated Linux News 0 03-20-2007 05:16 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration