Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: anthony@yoyo.cc.monash.edu.au (Anthony Baxter)
Subject: Re: Wanted: System tune-up hints for Decsystem 2100
Date: Tue, 22 Sep 1992 10:30:58 GMT	[thread overview]
Message-ID: <1992Sep22.103058.20970@monu6.cc.monash.edu.au> (raw)
In-Reply-To: VSSQBGL5@cc.swarthmore.edu

hirai@cc.swarthmore.edu (Eiji Hirai) writes:

>anthony@yoyo.cc.monash.edu.au (Me) wrote:
>> Does anyone have any other helpful suggestions for improving system
>> performance?

>> options              AUDIT
>> options              SYS_TRACE
>> pseudo-device        audit
>> pseudo-device        sys_trace

>You might think about eliminating these and turning off any sort of
>auditing.  At least turn off acct by "accton" and comment out the entry in
>/etc/rc.

Probably a good move. A quick check reveals that only one of the
administrators checks the audit logs at all, and even then, 'infrequently'.
sys_trace also can go - development of software is done on another machine,
then dragged across once working.
>Another performance gain can be had by editing /usr/sys/conf/mips/param.c
>and enabling cache_bufcache:
>> int     cache_bufcache = 1;
What does this do? I saw something about 'enables hardware buffer caching',
but how is this different to 'not enabled buffer caching'?


>Here are some non-kernel stuff which you've probably looked at already:

>Does the machine receive email from the outside world?  If it doesn't, kill
>the sendmail process and disable from /etc/rc.local.  You can still send
>email out - you just can't receive.

Mail is one of the major uses of the machine. On busy days, we'd have over a
thousand pieces of mail going through the machine. I'm looking at 'zmailer'
as a replacement to sendmail, it seems to be designed for heavy mail usage
systems. I have no idea if it will consume less or more resources than
sendmail - anyone out there care to comment?

>If you're not mounting any NFS directories, disable biod from
/etc/rc.local.

We're mounting the news spool read-only, then posting via NNTP. This is
a) to reduce the load on the news server, and
b) because we also wanted to have local news groups, but didnt want to have
the overhead of a full news feed. (Basically, symlinking the two news trees
together, and hacking a few scripts to build an active file, and make sure
posts to local newsgroups also gets sent through a local relaynews).

>Are there useless entries in /etc/crontab, or /var/spool/at?

We're running Vixie-cron, the extra functionality it provides more than
compensates for any possiblly increased overhead. 

>If lots of people are running emacs at the same time, then you might think
>about the draconian method of asking them use jove or something that takes
>up less memory.

Fortunately, most of the users on the system would would use emacs got sick
of waiting for it to start up, and switched to a smaller editor. (sort of
self-limiting in a way :)

>What other services do you provide on your system, or were you just
>interested in kernel mods?

The system is set up as a 'general access' machine - any staff or student of
our University can get an account, as opposed to the computer centre
machines which require that you be doing an approved computing subject. Most
of what is run are things like mail, news, talk, and simple interactive
things like that. Unfortunately, the mailer that a lot of the users use
(pine) is a memory pig from hell (TM), and nn and tin arent much better.

After an initial flurry of reducing the kernel, balancing the disks, and
such, most of the changes have been to programs on the system. Some that
have been done:

finger was rewritten (its used a lot, and was rather inefficient)

a daemon collects the load average, and various other kernel statistics,
and makes them availiable in a shared memory segment. Then programs which
used to collect this data were rewritten to instead get it from the shm
segment (quite a noticeable improvement)

Anything that was initially written in sh5 that was used much was rewritten
in C.

(as well as the above speed-up related ones, we also replaced many with
equivalents that provided more functionality/less bugs, such as sendmail,
passwd, cron, &c....)

As a 'Hey DEC, could this be fixed', I'll add the following postscript:
This decsystem 2100 had recently been up for nearly two months. The swap
fragmentation amount (aka the 'wasted' number in pstat -s) was over 
25 gigabytes. Not bad, considering we only had 24M real and 128M virtual
memory. Is this (minor, but initially worrying) bug fixed in Ultrix 4.3?



Anthony
-- 
           anthony baxter                  rdt : anthony@rdt.monash.edu.au.
 gaunix : anthony@yoyo.cc.monash.edu.au.  work : anthony@aaii.oz.au
     digital technology  /  general access unix group  /  a a i i
           monash university     melbourne,  australia


  reply	other threads:[~1992-09-22 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-09-18 17:52 Wanted: System tune-up hints for Decsystem 2100 Anthony Baxter
1992-09-21 17:50 ` Eiji Hirai
1992-09-22 10:30   ` Anthony Baxter [this message]
1992-09-22 18:10     ` Eiji Hirai
1992-09-22 19:28       ` Mike Iglesias
1992-09-23  5:29       ` Anthony Baxter
1992-09-23 15:38         ` Terry Gray
1992-09-22 18:37     ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
1992-09-23  5:35       ` Anthony Baxter
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