From: cherkus@fastball.unimaster.com
Subject: Re: Will DEC OSF/1 become usable on "small" machines?
Date: Wed, 7 Sep 1994 03:24:04 GMT [thread overview]
Message-ID: <CvqpG5.Ft7@mv.mv.com> (raw)
In-Reply-To: CvK9EG.9pF@news.cern.ch
Dan Pop wrote in article <CvK9EG.9pF@news.cern.ch> :
>
>I'm currently using a 3000/300LX with OSF/1 v 2.1.
The 'Ford Escort' of the DEC product line, sigh...
>The system has 32 MB RAM, a _very_ noisy 1GB hard disk (RZ26L) and a
>malfunctioning keyboard (LK401-AA, Rev C01 - the problem has already
>been described here).
The RZ26L is quite a disappointment considering how quiet, fast
and reliable the RZ26 and the RZ28 drives are. I don't suppose
you've enquired about swapping it out for the RZ26?
>The OS is a memory pig:
>
>ues5:~ 31> ps aux | egrep 'X11/X|PID'
>USER PID %CPU %MEM VSZ RSS TT S STARTED TIME COMMAND
>root 2317 2.0 6.5 37.6M 1.9M ?? S Sep 01 58:47.99 /usr/bin/X11/X
>danpop 16286 1.0 0.9 1.30M 288K p7 S + 17:12:27 0:00.05 egrep X11/X|PID
>
>So, a plain egrep takes 1.3 MB of virtual memory and the X server 37.6
>MB! Until a couple of weeks ago I was running the same X clients on a
>(non-DEC) X terminal with only 8 MB of RAM.
As others have pointed out, VSZ includes all shared libs mapped
into your process, which, for X, is a lot of stuff. This doesn't
prove your point.
>This means a lot of paging for each command, which implies a lot of
>noise (remember the RZ26L) and very poor interactive response.
Ah, reality strikes. The disk is thumping, so indeed you are doing
I/O, regardless of what ps says. It might be VM activity or it might
be file system activity. DEC OSF/1 has a unified buffer cache so free
pages can be used by either the file system or the VM (for text/data).
But, you need to characterize your workload if we are to help you tune
your system to try to avoid this kind of bad response time.
Without more info, I suggest you read the OSF/1 Performance Tuning
Guide a bit to see if you can tune the system some. In particular, you
might want to tune 'ubcmaxpercent' so that the file system doesn't eat
all the free pages which in turn lets the VM gets a better chance at
keeping text/data resident.
But, if memory is overcommitted tuning isn't much help. Your vmstat
below shows that you have 2+74+35 = 111 threads running on the system.
That's 32 MB divided 111 ways or 300 kb per thread, more or less
(massive hand wave here, but it'll do for now). What are all those
threads doing? Each one has unavoidable fixed memory costs associated
with them.
>Is OSF/1 v 3.0 supposed to improve the memory usage in a significant
>way or am I better off turning the machine into an X terminal connected
>to the PowerPC which served me well when all I had on my desk was an
>X terminal?
I'm not sure about 'significant', but the malloc algorithm is supposed
to be improved in 3.x. Comments, anyone?
>Another question:
>
>ues5:~ 35> 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 74 35 1502 296 1509 1M 287K 535K 143K 526K 55K 43 -11019 83 17 33 50
>
>How am I supposed to interpret -11019 system calls per second?
Your system has stayed up long enough to overflow the 'number of
syscalls since last boot' counter. Congratulations!
In most unixes, the first line of vmstat output is more or less
considered to be useless.
--
Dave Cherkus UniMaster, Inc. cherkus@unimaster.com
next prev parent reply other threads:[~1994-09-07 3:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-03 15:51 Will DEC OSF/1 become usable on "small" machines? Dan Pop
1994-09-06 15:45 ` Will DEC OSF#1 " Stefan Monnier
1994-09-06 22:50 ` Elan Feingold
1994-09-07 0:40 ` Alan Watson
1994-09-07 10:04 ` dominique dierick
1994-09-06 21:14 ` Will DEC OSF/1 " Jaye Mathisen
1994-09-07 3:18 ` Eike Dierks
1994-09-07 3:24 ` cherkus [this message]
1994-09-07 21:28 ` Dan Pop
1994-09-07 22:41 ` Paul Southworth
1994-09-09 12:18 ` Michael O'Connor
1994-09-10 1:22 ` Steve Lionel
1994-09-10 7:49 ` Jerry Leslie
1994-09-10 16:49 ` Steve Lionel
1994-09-11 0:01 ` Peter da Silva
1994-09-18 20:35 ` Andrew Gallatin
1994-09-18 21:33 ` Jerry Leslie
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