Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Poor performance on news disk
@ 1995-09-15  4:00 Vicki Jordan
       [not found] ` <43js9m$k2i@cliff.island.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Vicki Jordan @ 1995-09-15  4:00 UTC (permalink / raw)



OSF1 V3.2, Alpha 300/300LX (128MB), Seagate Elite 9 GB disk, INN 4.1SEC...

We have been experiencing some dramas with our news disks lately,
posting takes 2 to 3 minutes (an improvement from "forever" before we
moved off the AdvsFs).  
 
It seems that once we get a fair bit of activity, processes (generally 
news processes) go into WAIT state.  Is it an I/O problem, or something 
misconfigured?  In this top output, the dump is across the network 
and is on /bigdisk.

How do other people handle the news load?

$ df /bigdisk
Filesystem   512-blocks        Used       Avail Capacity  Mounted on
/dev/rz5c      16221222     5990352     8608746    41%    /bigdisk

$ top
pid: 32179;  load averages:  1.86,  0.83,  0.59 :08:27
89 processes:  1 running, 3 waiting, 20 sleeping, 64 idle
Cpu states:     % user,     % nice,     % system,     % idle
Memory: Real: 79M/119M act/tot  Virtual: 46M/1226M use/tot  Free: 1024K

  PID USERNAME PRI NICE   SIZE   RES STATE   TIME    CPU COMMAND
 2791 news      46    0  2552K  278K run     0:00  9.00% top
 2373 news      42    0  1848K  663K sleep   0:00  6.00% in.nnrpd
  764 news      42    0 48000K 23666K WAIT 1122:32  5.10% innd
 2769 news      42    0  2160K  966K WAIT    0:29  4.50% in.nnrpd
31227 root      42    0  3696K 2490K WAIT    0:18  1.80% dump
31139 news      46    2  1664K  466K sleep   0:02  1.60% innxmit
 3906 news      44    0  1672K  286K sleep   0:00  1.30% ksh
 9132 root      44    0 11496K 10346K sleep 110:52  1.10% named
 4899 news      44    0  1368K  204K sleep   0:00  0.40% script
  826 root      44    0  1384K   32K sleep   0:07  0.30% rlogind
 2414 news      44    0  1368K  114K sleep   0:00  0.30% script
  702 root      42   -2  5984K  335K sleep  46:55  0.20% Xdec
  707 root      44    0  6872K  229K sleep  28:37  0.20% xdm
  540 root      44    0  1880K  147K sleep  13:04  0.10% sendmail
31245 news      46    2  1480K  155K sleep  36:37  0.00% innxmit
~

-- 
Vicki Jordan                                V.Jordan@latrobe.edu.au
Information Technology Services              phone: +61 3 9479 1500
La Trobe University                            fax: +61 3 9479 1999
Bundoora Vic 3083 Australia



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

* Re: Poor performance on news disk
       [not found] ` <43js9m$k2i@cliff.island.net>
@ 1995-09-18  4:00   ` Ross Alexander
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Alexander @ 1995-09-18  4:00 UTC (permalink / raw)


rthomas@port.island.net (Robb Thomas) writes:

>If you can, avoid using file systems that do not sort their freelist.
>I know that a System V file system falls into this catagory.  The
>UFS file system may also be one of these very braindead file systems
>as well.  (does anyone know)?

The OSF/1 UFS FS (really the Berkeley FFS) uses a bitmap freelist and
is thus always sorted (for a suitable definition of `sorted', of
course.)  I've mounted OSF/1 UFS disks on little-endian 4.4BSD machines
and it works fine - even the partition labels match fine.

>[...] A number of Unix file systems are very braindead.  So
>braindead, that they don't bother to sort their FreeList during
>usage.  [...]

These would generally be USG derived unixen.  They also tend to have
the 65k inode limit, which is a killer for partitions larger than
about 140 MB in a news spool context.  The USG filesytem is very dated
and should be avoided at any cost.

>[...]

>Rumor: Split NEWS SPOOL vs rest of the system to seperate spindles.

Hardly a rumour.  Multiple spindles gives you an opportunity to
have multiple outstanding I/Os and reduces the likelyhood of needing
to seek on a given spindle (especially in the journaling areas like
/usr/local/news and /var/log/news).  Hot areas (under INN):

	/usr/local/news
	/var/log/news
	/var/spool/news/out.going	(if you have downstream sites)
	/var/spool/news/over.view	(if/how you're running overchan)

plus the obvious traffic in the /var/spool/news/foo directories.  I've
got this stuff spread across three spindles (am planning to go to
five) and an MFS; the load's balanced to about 20%.  Giving alt.* it's
own disk is a good first step.

(FWIW, I usually build my news filesystems as "-b 4096 -f 512 -i 2048
-a 8 -d 2" under SunOS or BSD.  Under DEC OSF/1, you're kind of stuck with
-b 8192 -f 1024, which is a pretty poor default for news (and a bogus
restriction.)  The small block/frag values hold down internal
fragmentation, and the small inode allocation quantum avoids inode
starvation at the expense of burst transfer speeds.)

regards,
Ross



	

--
Ross Alexander, ve6pdq  --  (403) 675 6311  --  rwa@cs.athabascau.ca



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

end of thread, other threads:[~1995-09-18  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-15  4:00 Poor performance on news disk Vicki Jordan
     [not found] ` <43js9m$k2i@cliff.island.net>
1995-09-18  4:00   ` Ross Alexander

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