Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: slow i/o
Date: 1996/03/05	[thread overview]
Message-ID: <4hi3qn$hu8@nntpd.lkg.dec.com> (raw)
In-Reply-To: 313A7458.41C6@jell.fullerton.edu


In article <313A7458.41C6@jell.fullerton.edu>, Fu-Ming Tao <ftao@jell.fullerton.edu> writes:
>
>We have an alpha 600 5/266 (128 MB) that we run Gaussian94 on.  We have
>noticed rather low cpu usage (~20%), possibly due to low i/o.  We tried to
>improve performance by changing ubc_maxpercent from 100 to 40, to no
>avail.  Below is some output.  Maybe it's helpful...  Any tips would be
>greatly appreciated, and if it's RTFM, please include the title :-)
>
>Thanks for your help,
>Fu-Ming
>
># vmstat
>
>Virtual Memory Statistics: (pagesize = 8192)
>  procs    memory         pages                          intr        cpu
>  r  w  u  act  free wire fault cow zero react pin pout  in  sy  cs  us
>sy  id
>  2 50 13  9798 3603 1672 386K  74K  78K  170  50K    0  57  98 360  45
>6  50

The vmstat results are showing a summary of the paging activity
since the system booted.  It isn't very useful in determine whether
the system is paging now.  However the amount of free is probably
current, so that seems unlikely.  A listing which includes a few
short intervals while the program is running would be more useful,
since it could be used to verify that you have a high idle time.

>
># iostat
>
>      tty     rz0      rz1      rz5      fd0     cpu
> tin tout bps tps  bps tps  bps tps  bps tps  us ni sy id
>   0    7  89   5 2299  44    0   0    0   0  45  0  6 50

This makes it pretty clear that rz1 is busy.  For 1 and 2 GB
disks that I've seen, this is probably close to capacity when
reading from the file system.  If you do have an I/O problem,
then this is the disk that is the bottleneck.


>
># swapon -s

Not especially useful...  and the ps(1) listing was too hard to read
wrapped the way it was.

Assuming that it is an I/O bottleneck, some things to look for...

1.  Does the program write as much data as it reads?  If so, look
    into reading from one disk and writing to another.

2.  If the I/O is consistently reads or writes (or segregated)
    then you probably want to increase the available bandwidth.

    a.  If you're using UFS, try Advfs.  If you're using Advfs
	try UFS.  There might some minor difference that could
	allow better bandwidth performance.

    b.  Get a faster disk for the data.  This includes array
	subsystems that support higher bandwidth; stripe sets,
	RAID-3 and some RAID-5.

    c.  Use striping on the host.  LSM with the appropriate
	license supports volume striping.  Advfs supports
	selective file striping.  Prefer to spread the members
	of the stripe set across multiple adapters.
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




           reply	other threads:[~1996-03-05  5:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <313A7458.41C6@jell.fullerton.edu>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox