tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: System Performance
@ 2002-08-28  3:32 alan.nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: alan.nguyen @ 2002-08-28  3:32 UTC (permalink / raw)


Thank very much indeed for those who responded to my problem.
A special thank to Alan (alan@nabeth.cxo.cpqcorp.net) who gave me an absolutely
clear explaination.
I'm extremely impressed.

Please see my question at the end.




     On systems with a unified buffer cache (one that has access
     to all of free memory for caching file system data), I don't
     believe that it does much good to pay attention to the amount
     of free memory.  Some file system I/O can quickly use up all
     of free memory, but if it is only read I/O, giving the memory
     back is very cheap.  Page-outs are probably a better indicator
     of being out of memory.  I don't think the system goes to any
     great lengths to page out data unless there is need.

     As for how much is too much, that depends on what you're
     willing to tolerate and how the system is used.  The whole
     point of demand paged (virtual) memory is so that you can
     use more virtual memory than you have physical memory.  You
     use real memory to lower the amount of paging to tolerable
     levels.  If you can't tolerate any paging, limit the amount
     of memory the buffer cache can use and limit the amount of
     virtual memory allowed to however much physical memory you
     have left (by limiting page/swap space and policing users
     who figure out how to use mmap(2)).

     If your workload is one where you expect to be paging regardless
     of the amount of memory, then careful attention of the I/O design
     of the page/swap space is needed.  Swapping probably prefers
     high sequential data rates in the page/swap space.  Paging may
     prefer higher request rates, since it likely to be scattered
     around more.  Short-stroked (*), high bandwith disks (*) on
     their own I/O subsystem may be the right solution in some cases.

     Finding bottlenecks in the I/O load can be hard.  Oversimplified
     a bit, you want to find those I/O components that are working
     at close the their maximum sustained I/O rates.  Whether that
     "rate" is the data rate or request rate depends on the I/O
     load.  The problem with "maximum" I/O rate is you have to
     look at something realistic.  The maximum theortical rate
     for a particular SCSI bus might simply be bus speed times
     data width; Wide (16 bit) UltraSCSI (20 Mhz), has a maximum
     of data rate of around 40 MB/sec.  For short bursts, some
     device may be able to get that.  However, the sustained data
     rate might be lower.  The maximum is further complicated by
     the I/O load that simply can't drive the bus to saturation.

     I/O rates are also sensitive to whether the load stresses
     high request rate or high data rate.  In a high request rate
     load, the I/O size may be small, and you'll never have to
     worry about saturating the data rate of the bus or devices.
     However, the devices may be at their maximum request rate,
     even if the bus seems to have plenty of head-room for higher
     request or data rates.

     Benchmarking the system with a variety of artificial, but
     similiar to the actual, I/O loads may offer a hint at what
     realistic maximums are.  Once you know that you can compare
     actual loads to plusible maximums to see if you have a bottle
     neck.

     I don't recall reading anything about an 80% load rule.  For
     systems with a single CPU, it is hard to buy a wide range
     of CPU performance because vendors tend to stop selling the
     slower CPUs when the faster ones are available in quantity.
     For systems that support multiple CPUs, a lot of idle CPU
     capacity isn't an economically good thing to have sitting
     around (well, it good for the vendor).  Some spare capacity
     is good if your work-load has performance spikes.  The
     amount to have spare depends on the work-load the affect
     of the spike has on response time for the other users.  80%
     usage leaves 20% idle, which may be a nice number for many
     work-loads.  If you have a highly predictable workload
     that won't have high load spike, you can run closer to the
     maximum capacity.

     The tuning guide might offer some recommendations.  If you
     don't have paper copies, PDF and HTML copies are on the
     documentation CDROM.

     (*) Short-stroked is a term that describes disks that use
     less capacity than their total.  The presumption is that if
     you the limit the capacity you limit the seek range, and
     that helps seek performance.

     (*) Most, if not all, high capacity disks use zoned based
     records that puts more data on the out tracks (because of
     the long circumference) than on the inner tracks.  Most
     such disks also have higher data rates on the outside
     tracks.  If you were to dedicate disks to such an I/O
     that needed both characteristics and were willing to throw
     away part of the capacity, you'd want to limit the used
     space to the faster tracks.


My Question

Hi Tru64 Managers,

We have a number of servers that we'd like to monitor & adjust their performance
in CPU, Memory & I/O.
The servers are on UNIX OS 4.0F with latest patch. We use tools such as,
collect, Performance Manager. top, vmstat, iostat, xload, netstat, mrtg to
monitor and collect data.

What we'd like to know is what are the facts that we could judge that  the
servers are lacking of Memory, I/O and CPU

For Memory, if the processes  page out  & free memory is low then this may
indicate the lack of memory, is it correct ? How do we determine/model  how much
consitency of the  pageout or how much time the system does the pageout, then we
could conclude that the system is lacking of memory. Can we say that whenever
the pageout occurs then the system is lacking of memory.
How we determine/model the swapout ? the ps command shows which process got
swapped out as a W indicates in (s) status column.

How do we determine the I/O got a problem ?

For CPU performance: is it correct that what a CPU is paid for is it MUST be
used for more than 80%

Anyone has any experience/opinion , please help.

Thanks.

Alan.Nguyen@au.transport.bombardier.com






^ permalink raw reply	[flat|nested] 2+ messages in thread
* SUMMARY:System performance
@ 2001-05-02 16:21 bryan.mills
  0 siblings, 0 replies; 2+ messages in thread
From: bryan.mills @ 2001-05-02 16:21 UTC (permalink / raw)
  To: tru64-unix-managers

Yesterday I asked about monitoring system performance=2E  Thanks to all who=20=
responded=2E

There are various unix commands which can be used, namely,

vmstat
iostat
netstat
swapon
uptime
sys_check

Then there are the packages available,

BMC Patrol
Monitor
Collect   http://www=2Etru64unix=2Ecompaq=2Ecom/collect
Pawz  http://www=2Ecompaq=2Ecom/services/management/ms_capacity=2Ehtml
BigBrother http://bb4=2Ecom with the larrd extension http://www=2Edeadcat=2Enet



Of the packages suggested I'm going to have a go with collect first as=20=
that one seems to be the most popular=2E


<quote>
We have various  Alpha servers ranging from a Digital 1200 through a=20=
Compaq DS20, an ES40 and a GS60=2E  All use Tru64 4=2E0F=2E  We have a pot of=20=
money available in next years budget to upgrade some or all of the=20=
servers, but I don't know how to figure out which machines need which=20=
upgrades=2E  I know that certain applications are disk dependant, and=20=
others are memory dependant, but I need to quantify figures=2E  What I need=20=
is a way to measure performance of the major potential bottlenecks,=20=
namely CPU, Memory, Disk I/O and network thru-put=2E  If anyone has some=20=
useful commands / scripts that I can use to monitor each I'd be most=20=
grateful=2E
</quote>

Bryan Mills - Technical Analyst

mailto:bryan=2Emills@lynx=2Eco=2Euk



Bryan Mills - Technical Analyst

Phone: (0121) 386 6464
FAX: (0121) 384 6096

mailto:bryan=2Emills@lynx=2Eco=2Euk


This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed=2E  It may contain information which
is privileged and confidential within the meaning of applicable law=2E  If
you are not the intended recipient, please contact the sender as soon as
possible=2E  The views expressed in this communication are not necessarily
those held by LYNX Express Limited=2E

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-28  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-28  3:32 Summary: System Performance alan.nguyen
  -- strict thread matches above, loose matches on Subject: below --
2001-05-02 16:21 SUMMARY:System performance bryan.mills

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