From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,8141fa624eb2eb0 X-Google-Attributes: gid10b612,public X-Google-Thread: 140334,b2449966b1bb6a26,start X-Google-Attributes: gid140334,public X-Google-Thread: 1164f8,8141fa624eb2eb0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-09-21 20:05:20 PST Xref: sparky comp.sys.dec:5125 comp.unix.ultrix:7065 Newsgroups: comp.sys.dec,comp.unix.ultrix,gaunix.system Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!anthony From: anthony@yoyo.cc.monash.edu.au (Anthony Baxter) Subject: Re: Wanted: System tune-up hints for Decsystem 2100 Message-ID: <1992Sep22.103058.20970@monu6.cc.monash.edu.au> Sender: news@monu6.cc.monash.edu.au (Usenet system) Organization: Monash University, Melb., Australia. References: <1992Sep18.175210.584@monu6.cc.monash.edu.au> Date: Tue, 22 Sep 1992 10:30:58 GMT 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