AIX Disk 'O' problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users AIX Disk 'O' problem
# 1  
Old 01-06-2003
AIX Disk 'O' problem

Hello,

I'm running AIX 4.3 on an IBM RS6000 Machine with 9 SCSI drives and 4 processors.

The machine seems to cope fine when data is being written to it but slows down considerably when outputting data.

For example when I FTP a 1Gb file to the machine from an NT box, it goes on no problem in about 2 minutes. However, when I transfer the file back, it takes longer and the AIX machine grinds to a halt for all processes during the transfer.

When using Oracle SQL Loader to load a flat file to the database, it is faster to load the file from another machine over the network into the AIX Oracle instance that it is from the AIX machine to its own oracle instance.

We've used different machines to try and send data to the AIX machine and get the same results.

It appears to be an I/O bottleneck without the input bottleneck - (having used iostat to check the processor usage we found it was 86% idle) does anyone have any clues as to what might be wrong?
# 2  
Old 01-06-2003
It's a rare situation

a) Verify if you have the last microcode for those disks, if not upgrade the microcode level.
to see the actual microcode:
lscfg -vl hdisk* |more
to check if the last go to:
http://techsupport.services.ibm.com/.../download.html

b) Check your network settings.

c) In addition, if its possible to create a striped File System with
an exclusive JFS log where to download the file, go ahead.

To create an exclusive fjslog:
mklv -t jfslog -y ftp_jfslog vgname 1
logform /dev/ftp_jfslog
umount /your_striped_fs
chfs -a log=/dev/ftp_jfslog /your_striped_fs
mount /your_striped_fs
vgname: is the Volume Group that contain the ftp FS.


Note: Remember the emergency FIX for the Remote buffer overflow in ftpd daemon. Look for ftpd.tar.Z in ftp://aix.software.ibm.com/aix/efixes/security/

Also you can read (at www.redbooks.ibm.com):
SC23-2365 Chapter:Monitoring and Tuning Disk I/O.
SG24-4989 RS/6000 Performance Tools in Focus
SG24-6184 AIX Performance and System Tuning Study Guide (chapter's 4 and 5)


Examples of portions of text:


a) Striped LV

When a striped logical volume is defined, then two additional
LV attributes are displayed by the lslv command: STRIPE WIDTH
The number of stripes. STRIPE SIZE The fixed size of each
stripe block. Stripe size can be any power of 2 from 4 KB to
128 KB, but it is often set to 64 KB to get the highest levels
of sequential I/O throughput.

b)Chapter 4. Disk I/O performance monitoring tools 127
4.4.4 Highest LVM performance The following general recommendations
can be used for creating logical volumes with high performance demands.
However, keep in mind that when a logical volume is tuned for better
performance, the availability may be impacted.
• No mirroring, which means the number of copies equals one (1).
• If mirroring is required then:
- Write scheduling policy set to parallel.
- Allocation policy set to strict, which means each copy on separate physical volumes.
• Write verification set to no.
• Mirror write consistency (MWC) set to off.
• Intra policies:
- Center: for hot logical volumes
- Middle: for moderate logical volumes
- Edge: for cold logical volumes
• Inter disk allocation policy set to maximum, which mean that read/write operations are
spread among physical volumes. Additional performance improvement can be gained by creating
a striped logical volume. 4.5 LVM and file system monitoring



--------------------------------
To determine if a SCSI adapter is saturated, summarize all the KB/s values for disks
located on the same adapter and compare the sum with the SCSI adapter throughput.
In general, use 70 percent of the SCSI standard throughput rate. Examples of different
SCSI types and their throughput is provided in the following:
• SCSI-1 throughput rate of 3.5 MB/s (70 percent of 5 MB/s)
• SCSI-2 throughput rate of 7 MB/s (70 percent of 10 MB/s)
• Ultra SCSI throughput rate of 28 MB/s (70 percent of 40 MB/s)
• Ultra2 SCSI throughput rate of 56 MB/s (70 percent of 80 MB/s)
----------------------------------
If you want to look for IO contention see:
http://publib16.boulder.ibm.com/pser...d/appAbody.htm

------------------------------
commands:
filemon, fileplace, defragfs, lslv, chlv, reorgvg, ....

-------------------------------



Regards. Hugo.

Last edited by hugo_perez; 01-07-2003 at 11:01 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What are the differences between 'bash' and 'sh'

Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies

2. UNIX for Advanced & Expert Users

How to remove a file with a leading dash '-' in it's name?

Somehow someone created a file named '-ov' in the root directory. Given the name, the how was probably the result of some cpio command they bozo'ed. I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies

3. Email Antispam Techniques and Email Filtering

Procmail recipe: blocking 'unsubscribe and opt-out' messages....

Here is a crude procmail recipe that I quickly created (NOT a procmail recipe expert, btw) that has been catching lots of spam (current second after the charset_spam recipe posted earlier): :0B * .*If.you.do.not.wish.to.receive...* more_spam :0B * You.requested.to.receive.this.mailing... (0 Replies)
Discussion started by: Neo
0 Replies

4. IP Networking

BELKIN 'F5D5020' 16bit PCMCIA - FreeBSD HOWTO

Hey all, I've bought a few bits from Belkin who seem quite happy to support FreeBSD! Last time I bought a UPS from them and it's still going well :D I saw this on their website that the 16bit PCMCIA card was supported under FreeBSD: http://www.belkin.com/network/F5D5020.html I went to my... (0 Replies)
Discussion started by: WIntellect
0 Replies

5. UNIX for Dummies Questions & Answers

quoting echo 'it's friday'

echo 'it's friday' why appear the > (3 Replies)
Discussion started by: yls177
3 Replies

6. UNIX for Dummies Questions & Answers

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (3 Replies)
Discussion started by: cloudsmell
3 Replies

7. UNIX for Advanced & Expert Users

Terminal 'Local Echo' lost on Modem Dial-out

Can anybody help me? I am developing a utility for automating message paging to a BT alphanumeric pager. I am using a USR 56K Fax-modem connected to /dev/cuab on a Sun Ultra-10. I am using the UNIX 'tip' utility to connect to the modem and I have configured the modem as follows: Baud Rate:... (2 Replies)
Discussion started by: mybeat
2 Replies

8. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

9. Programming

i can't use 'make' in my computer?

I need to compile a file,but 'make' does not work.please tell me how to use it or need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies

10. UNIX for Dummies Questions & Answers

How to subtract 2 hours from 'date' in shell ( /bin/sh ) script ?

I write a sh script that zip and copy to tape all files that older then 2 hours. 1. The way I choose is - touch a file with "now - 2 hours", then use fine with '! -newer' 2. Do you have any other idea to do it ? tnx. (1 Reply)
Discussion started by: yairon
1 Replies
Login or Register to Ask a Question