- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Slow I/O performance
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
04-17-2008 05:18 AM
04-17-2008 05:18 AM
I have rp4440 box.
It has PCI RAID 6402 controller and
connected to two MSA30-SB enclosures filled with 27 146GB 15k disks.
I have created one logical drive with RAID 1+0 through 26 disks (1 disk is spare).
On it I have several standard VxFS filesystems.
Two week ago had failed one battery on RAID controller. After changing battery I/O had getting slower.
When I copy big file (oracle datafile) from one filesystem to another (both are on logical disk decribed above) transfer rate for this disk are about 50000 blks/s (sar) and busy 99-100%.
But I have another identical box and the same copy has rate about 170000-180000 blks/s.
What can be the problem?
Controller cache is OK 50% read/50% write.
glance on this cp process shows wait reason CACHE.
How can I find reason for this slow I/O?
Thanks.
Marian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 05:23 AM
04-17-2008 05:23 AM
Re: Slow I/O performance
How much swap do you have?
What are the values of
dbc_max_pct dbc_min_pct
How much swap do you have?
Run glance (press m) and post the Memory report. It will show how much cache you have available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 05:45 AM
04-17-2008 05:45 AM
Re: Slow I/O performance
I think, there is no problem with swap and memory. There is 24g memory and 20g swap,
there is no swap problem. All these sar values swpin/s bswin/s swpot/s bswot/s are 0.
$swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 20480 0 20480 0% 0 - 1 /dev/vg00/lvol2
reserve - 20479 -20479
memory 19670 12855 6815 65%
total 40150 33334 6816 83% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 06:13 AM
04-17-2008 06:13 AM
Re: Slow I/O performance
Any errors on the controllers?
Is this SAN connected or is the transfer going across network?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 07:20 AM
04-17-2008 07:20 AM
Re: Slow I/O performance
knowing nothing about this special storage device, many other have the features
"write_cache": report the write operation as successfull, when it reached the cache
OR
"write_through": ignore the chache and wait for the data benn written to the real disk
The firmware of RAID often switches to write-through, when a single pass of failure is recognized, like
- no redundand power supply found
- battery low
The term used in your RAID my differ.
The effect of a switch to something like "write_through" results in a performance degration, NTHL.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 07:23 AM
04-17-2008 07:23 AM
Re: Slow I/O performance
glance on this cp process shows wait reason CACHE.
glance WAIT of CACHE is filesystem CACHE, has nothing to do with the controller.
What is your filesystem buffer cache set to ?
11.11 kmtune|grep dbc
11.23 kctune|grep dbc
If it is set to the default then that is probably the issue. Reduce to 5% or less depending on type of environment and amount of memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 10:33 PM
04-17-2008 10:33 PM
Re: Slow I/O performance
dbc_max_pct 4
dbc_min_pct 2
Can anybody help me,
where should I start to find root of this problem?
Marian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 10:46 PM
04-17-2008 10:46 PM
Re: Slow I/O performance
Is that correct?
I'll put this out there for discussion...
Isn't that too much swap?
I've never used more than 8GB of swap.
Could swap that size affect performance negatively?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 02:29 AM
04-18-2008 02:29 AM
Re: Slow I/O performance
Marian,
From your swapinfo -tam, your %used is 83% quite high, may be you should consider add more swap space.
have your put in any performance patches before ?
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 05:05 AM
04-18-2008 05:05 AM
Re: Slow I/O performance
# sautil /dev/ciss1
# saconfig /dev/ciss1
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 07:58 AM
04-18-2008 07:58 AM
Re: Slow I/O performance
dbc_max_pct 4
dbc_min_pct 2
On a box with 24GB of main memory is translates into almost 1GB of File system cache. That's probably a fine setting for to run Oracle production, but maybe not optimal for significant file copy jobs.
Is that the same on the identical box?
It probably is.
It is tempting to look for causes in the OS (settings), but the biggest clue is still that the MSA was bounced and brought back. So that's the most likely root problem cause area. There has to be a difference, somewhere.
Detailed study of the sa tools like Torsten suggest is probably the most productive step to find the difference, or at the very least remove an area of potential concern.
With the test as described, both input and output might be a factor. This can be possibly be divided into two chunks.
Test read performance with
dd if=some-large-file of=/dev/null bs=1024k
Test write performance with
dd if=/dec/zero of=some-temp-target bs=1024k count=20000
When the MSA was fixed, was HPUX rebooted?
Could the reboot have picked up a latent tuning change?
My first thought was scsi_max_qdepth, but that's dynamic. Still... is it the same (and larger than the default 8!) on both systems? But a command like scsictl could have been used to set queue_depth for a selected device and that change may have been lost over a reboot (ditto for any too using SIOC_SET_LUN_LIMITS ioctl options).
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2008 05:35 AM
04-19-2008 05:35 AM
Re: Slow I/O performance
It is better to add more swap space as suggested above. The processes have already reserved (20479) all your device swap size (20480) (reserve line on swapinfo).
If you have rebooted this particular system, is there any chance that your lancard settings (HD/FD) are somehow changed on the NIC or the switch. lanadmin -x would give you the info. Did you look clearyly the dmesg and syslog.log for any tips.
What is your sar -b (buffer activity - look for %rcache and %wcache output).
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2008 01:10 AM
04-20-2008 01:10 AM
Re: Slow I/O performance
Hmm, I've never heard anyone say, add more swap to fix a performance problem. I've only heard adding more memory.
>O'Kevin: Isn't that too much swap? Could swap that size affect performance negatively?
Only if you were actually doing I/O to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 04:26 AM
04-21-2008 04:26 AM
Re: Slow I/O performance
I've posted output from sautil and saconfig.
Hein,
I tested read and write performance and both was very bad.
read - 40.000-45.000 blks/s
write - 35.000-40.000 blks/s
Second box was:
read - 350.000 blks/s
write - 150.000 blks/s
Box was after replacing bad battery rebooted.
I think problem will be with MSA controller.
What do you think?
Should I shutdown server and power off and then restart?
Thank you.
Marian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 09:32 AM
04-21-2008 09:32 AM
Re: Slow I/O performance
check these parameters on the 2nd box:
Disk write cache enabled at spin up............ no
...
Disk write cache enabled in current page....... no
Disk write cache disabled in default page...... yes
I would enable the disk write cache on this array - its UPS function will prevent, that there may be unwritten cache data on power interupts.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 10:13 AM
04-21-2008 10:13 AM
Re: Slow I/O performance
---- SCSI DEVICE 1:14 [DISK] -------------------------------------------------
Connector Location............................... external
Channel Number................................... 1
SCSI ID.......................................... 14
Device Type...................................... DISK
Disk Capacity.................................... 146.8 GB
Device Status.................................... OK
Device Vendor ID................................. COMPAQ
Device Product ID................................ BF14689BC5
Device Serial Number............................. DN01P7807U5S0733
Device Firmware Version.......................... HPB1
SCSI Transfer Rate............................... Ultra-320
Output from MSA2:
---- SCSI DEVICE 2:0 [DISK] --------------------------------------------------
Connector Location............................... external
Channel Number................................... 2
SCSI ID.......................................... 0
Device Type...................................... DISK
Disk Capacity.................................... 146.8 GB
Device Status.................................... OK
Device Vendor ID................................. COMPAQ
Device Product ID................................ BF14689BC5
Device Serial Number............................. DN01P7807U660733
Device Firmware Version.......................... HPB1
SCSI Transfer Rate............................... Sync
Rate Ultra320 vs. sync ?
Maybe the controller log will help
sautil with get_disk_err_log and get_fw_err_log option can help.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 11:44 AM
04-21-2008 11:44 AM
SolutionMSA1:
Physical Disk Flags:
Disk present and operational................... yes
Non-disk device detected....................... no
Wide SCSI transfer enabled..................... yes
Synchronous (Fast/Ultra) transfer enabled...... yes
Narrow disk tray detected...................... no
Wide transfer failed, reverted to narrow....... no
Ultra SCSI transfer enabled.................... yes
Ultra-2 SCSI transfer enabled.................. yes
MSA2:
Physical Disk Flags:
Disk present and operational................... yes
Non-disk device detected....................... no
Wide SCSI transfer enabled..................... yes
Synchronous (Fast/Ultra) transfer enabled...... yes
Narrow disk tray detected...................... no
Wide transfer failed, reverted to narrow....... no
Ultra SCSI transfer enabled.................... no
Ultra-2 SCSI transfer enabled.................. no
So this looks like the second channel is operating slower than the first - this would explain your performance problems.
Not sure what is causing this, but maybe a controller reset could solve this.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2008 12:42 AM
04-22-2008 12:42 AM
Re: Slow I/O performance
thank you.
Controller reset has solved this issue.
Marian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2008 01:20 AM
04-22-2008 01:20 AM
Re: Slow I/O performance
Have fun!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
