- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get the max I/O for the disk ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 09:29 PM
07-07-2003 09:29 PM
How to get the max I/O for the disk ?
HI, I'd like to get the max I/O for the disk?
Where actually i used the glance but it give the resulte by 100%, where i what is the max I/O for the disk.
Example :
the result from galnce
it is equal to 45%
I want to know how much it is equal 100% (the maximum) ?
is it clear ?
many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 09:40 PM
07-07-2003 09:40 PM
Re: How to get the max I/O for the disk ?
You could use 'sar -d 5 5' to view each disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 09:48 PM
07-07-2003 09:48 PM
Re: How to get the max I/O for the disk ?
Yes, I believe the question is clear. You want to know the maximum throughput (in Kbytes or Mbytes) possible for a given disk. Right ?
However, the answer is not as easy. There are however a couple of tools available that can help you there. For throughput I'd recommend IoZone. See http://www.iozone.org/
Note however that throughput does NOT equal responsetime. If you want to measure "performance" you'll need other tools.
Hopefully this gets you started,
Regards
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 09:49 PM
07-07-2003 09:49 PM
Re: How to get the max I/O for the disk ?
Yes, I believe the question is clear. You want to know the maximum throughput (in Kbytes or Mbytes) possible for a given disk. Right ?
However, the answer is not as easy. There are however a couple of tools available that can help you there. For throughput I'd recommend IoZone. See http://www.iozone.org/
Note however that throughput does NOT equal responsetime. If you want to measure "performance" you'll need other tools.
Hopefully this gets you started,
Regards
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 05:43 AM
07-10-2003 05:43 AM
Re: How to get the max I/O for the disk ?
So the 45% in the example above says that 45 percent of the time the disk drive was in use - not that it was doing 45% of the work it is capable of doing.
For tuning purposes, we tend to feel that a disk is starting to feel pressure at 30 to 40 percent utilization.
You can confirm this in the GUI glance plus (command gpm& in an Xwindows session). Open the IO by disk report. If you click once on a disk to select it and then double-click to open it, there are metrics in the second popup screen on the percentage of jobs in the disk queue. This is vital information to me when tuning disk performance.
Best Regards,
Peg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 05:51 AM
07-10-2003 05:51 AM
Re: How to get the max I/O for the disk ?
Your best bet to find out theoretical capacity is this:
ioscan -fnC disk
Then go to the manufacturer's web site and look up the specifications. You will find the actual performance of the disk somewhat lower than the specification.
Note: You profile has you at 0 for 23 on handing out points in answers to your question. While points are not mandatory, the system here is if you get help, to assign them. A practical way of looking at it is you encourage more people to try harder to answer your question by handing out points.
I hope my post helped you.
Peace.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 06:31 AM
07-10-2003 06:31 AM
Re: How to get the max I/O for the disk ?
timex dd if=/dev/zero bs=1k count=10240 of=/dev/rdsk/cXtYdZ
This will give the total elapsed time required to write a 10MB file in blocks of 1k. You can then do the math to figure out MB per second.
If /dev/zero is not available, then execute
the following to create:
For 10.20:
# mknod /dev/zero c 3 0x000003
For 11.x
# mknod /dev/zero c 3 0x000004
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:33 AM
07-10-2003 08:33 AM
Re: How to get the max I/O for the disk ?
If you plot BYDSK_PHYS_IO_RATE Vs BYDSK_UTIL
follow the trend till you hit 100% util.
To get this information do an extract
extract -xp -d -r
get MS Excel out & start plotting.
That said, the easiest thing to do is to use sar & see what the servcice time of the disk is. Say "sar -d 300 10" (get 5 minutes averages & 10 samples)
If you have a service time of 5.5ms for a single disk then it takes 5.5ms to return 1 IO. Thus 1000/5.5 is the number of IO's per SECOND it will do (182 IO/s). Bingo saturation IOP level. A word of warning, you do not want to design your disks to be running near 100% utilisation, disk queues will start to form & things get sticky, 75%-80% is the maximum.
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:44 AM
07-10-2003 08:44 AM
Re: How to get the max I/O for the disk ?
1 - dd tests on disks only show how fast dd can run your disk at. Any one will tell you that
dd if=/dev/rdsk/cXtYdZ bs=512 of=/dev/null
will be really slow, where as
dd if=/dev/dsk/cXtYdZ bs=4096k of=/dev/null
will be better
2 - Terminology
Bandwidth is ammount of data, kB/s or MB/s
Throughput is IO/s & has NOTHING to do with bandwidth..
However, they are related by block size so
Bandwidth [kB/s] ~ block sz [kB] * IO/s
Generally speaking doing a single IO of 512bytes will take as long as 64kB (hence the point 1)
3 - Use your data
To take manufactrers figures & do calculations on them could be very misleading, your data on your current system is the best source. Of course if you want to switch from 10,000 rpm to 15,000 rpm disks you would expect a similar performance improvement (~35% more IO), but to use the service times they quote could mean the system is under or over specified.
Regards
Tim