Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Will DEC OSF/1 become usable on "small" machines?
@ 1994-09-03 15:51 Dan Pop
  1994-09-06 15:45 ` Will DEC OSF#1 " Stefan Monnier
  1994-09-06 21:14 ` Will DEC OSF/1 " Jaye Mathisen
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Pop @ 1994-09-03 15:51 UTC (permalink / raw)


I'm currently using a 3000/300LX with OSF/1 v 2.1.

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 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.

This means a lot of paging for each command, which implies a lot of
noise (remember the RZ26L) and very poor interactive response. 

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?

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?

And a final question. When we tried to install the AFS client software
on OSF/1 1.3, the kernel building procedure bombed out because the 
AdvFS code redefined the strcat() standard library function. DEC sent us
a patch to fix the problem. A couple of days ago, we received the AFS
software for OSF/1 v 2.x and we tried to install it. The AdvFS strcat()
bug was still present, despite the fact that DEC knows about the problem.
So, we had to remove the AdvFS from the kernel to install AFS. Will 3.0
finally fix this annoying bug? The place of strcat() is in the standard
C library, not in the Advanced File System code!

Dan
--
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland


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

* Re: Will DEC OSF#1 become usable on "small" machines?
  1994-09-03 15:51 Will DEC OSF/1 become usable on "small" machines? Dan Pop
@ 1994-09-06 15:45 ` Stefan Monnier
  1994-09-06 22:50   ` Elan Feingold
  1994-09-06 21:14 ` Will DEC OSF/1 " Jaye Mathisen
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 1994-09-06 15:45 UTC (permalink / raw)


In article <CvK9EG.9pF@news.cern.ch>, Dan Pop <danpop@cernapo.cern.ch> wrote:
> The OS is a memory pig:

Yes, indeed !

> 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.

On my system, the X server uses 10.6 virtual Megabytes (I've been
logged in for two weeks with a reasonable amount of windows open in
the four workspaces I use (thanks ctwm)). 32 is probably more than
normal (maybe sign of a bug (like the -terminate "bug" with xdm), or
maybe because the size has grown that big at some point... don't
forget the virtual size almost never "grows back" (mfree doesn't help
here)).

Also keep in mind that the Mach microkernel uses VM tricks all the
time (like copy-on-write), which implies that the virtual size
reported by ps is not always correct (the kernel is reported as 280M,
even though only 100M is reserved on the swap (70M actually used)).

On the other hand the RSS size (this one seems more or less correct,
if you compare with the vmstat numbers) is more interesting since it
correspond to real memory use.


	Stefan


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

* Re: Will DEC OSF/1 become usable on "small" machines?
  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 21:14 ` Jaye Mathisen
  1 sibling, 0 replies; 6+ messages in thread
From: Jaye Mathisen @ 1994-09-06 21:14 UTC (permalink / raw)


>>>>> "Dan" == Dan Pop <danpop@cernapo.cern.ch> writes:
In article <CvK9EG.9pF@news.cern.ch> danpop@cernapo.cern.ch (Dan Pop) writes:


    Dan> So, a plain egrep takes 1.3 MB of virtual memory and the X
    Dan> server 37.6 MB! Until a couple of weeks ago I was running the
    Dan> same X clients on a (non-DEC) X terminal with only 8 MB of
    Dan> RAM.

    Dan> This means a lot of paging for each command, which implies a
    Dan> lot of noise (remember the RZ26L) and very poor interactive
    Dan> response.

This is not accurate.  Note that the RSS (actual RAM usage was only
1.9MB's, which while still large, is not a lot or RAM).  

Many commands will show up as being large, but I suspect it has more
to do with how shared libs are mapped, and overall memory management,
as opposed to the program actually consuming that much memory.

-- 
 Jaye Mathisen, COE Systems Manager                (406) 994-4780
 410 Roberts Hall,Dept. of Computer Science
 Montana State University,Bozeman MT 59717	osyjm@cs.montana.edu


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

* Re: Will DEC OSF#1 become usable on "small" machines?
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Elan Feingold @ 1994-09-06 22:50 UTC (permalink / raw)



>> The OS is a memory pig:
> Yes, indeed !

Remember that OSF/1 is a 64 bit architecture/OS, which means that 
32 Mb of RAM on an Alpha is roughly "equivalent" to 16 Mb on a 32 bit 
machine.  Bear in mind that the different instruction set makes it 
hard to do a straight comparison, but keep this in mind when you think 
about OSF/1 being a memory hog :)

Elan


The above view is mine and not my company's.


-- 
===============================================================================
|| Elan Feingold (Cornell '94)    || "Two of the most famous products of     ||
|| Software Engineer II           ||  Berkeley are LSD and Unix. I don't     ||
|| Digital Equipment Corporation  ||  think that is a coincidence."          ||
|| Work: 603.881.1115             ||                       - Anonymous       ||
===============================================================================


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

* Re: Will DEC OSF#1 become usable on "small" machines?
  1994-09-06 22:50   ` Elan Feingold
@ 1994-09-07  0:40     ` Alan Watson
  1994-09-07 10:04       ` dominique dierick
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Watson @ 1994-09-07  0:40 UTC (permalink / raw)


>Remember that OSF/1 is a 64 bit architecture/OS, which means that 
>32 Mb of RAM on an Alpha is roughly "equivalent" to 16 Mb on a 32 bit 
>machine.  

I have some difficulty believing this.   Alpha instructions are still
only 32-bits wide.  There may be some `doubling' in the kernel, where
16-bit data types may have had to be replaced by 32-bit data types, but
I would be surprised if the wider architecture alone caused a
significant increase elsewhere.

Presumably someone at DEC has so hard data on this (that is, on the
comparisons between Ultrix on MIPS, OSF/1 on MIPS, and OSF/1 on
Alpha).  Would they care to post it?

--
Alan Watson                        | BCPL acts more as a servant offering its
alan@oldp.astro.wisc.edu           | services to the best of its ability
Department of Astronomy            | without complaint, even when confronted
University of Wisconsin -- Madison | with apparent nonsense.
                                   |             -- Richards & Whitby-Strevens


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

* Re: Will DEC OSF#1 become usable on "small" machines?
  1994-09-07  0:40     ` Alan Watson
@ 1994-09-07 10:04       ` dominique dierick
  0 siblings, 0 replies; 6+ messages in thread
From: dominique dierick @ 1994-09-07 10:04 UTC (permalink / raw)





In article <34j25t$1v1@news.doit.wisc.edu>, alan@oldp.astro.wisc.edu (Alan Watson) writes:
>Remember that OSF/1 is a 64 bit architecture/OS, which means that 
>32 Mb of RAM on an Alpha is roughly "equivalent" to 16 Mb on a 32 bit 
>machine.  

>>I have some difficulty believing this.   Alpha instructions are still
>>only 32-bits wide.  There may be some `doubling' in the kernel, where
>>16-bit data types may have had to be replaced by 32-bit data types, but
>>I would be surprised if the wider architecture alone caused a
>>significant increase elsewhere.

I don't think the memory consumption is plainly x 2 ( from experience in
a lot of benchmarks and porting efforts), but supposing at runtime
an application uses large in-memory linked lists or pointers to objects
of whatever size, remember then that you are on a 64 bit machine where
pointer addresses consume more then 32 bits.

Anyhow, this is the same discussion as in the 16 to 32 bit migration
time. There is no such thing as a free lunch in my opinion. Today very few
people make a problem of a 32 bit system consuming more then a 16 bit
system. In a few years when other vendors *will* introduce 64 bit OS's, also this
discussion will fade away. And frankly spoken, Digital will have the advantage
of having a lot of experience optimizing memory use for 64 bit ;-)


Dominique

-- 
=============================================================

****  ****  ****      *   **         ****  *   *  ****
*  *  *     *        *    **         *  *   * *   *  *
*  *  ****  ***     *     **   ****  ****    *    ****
*  *     *  *      *      **         *  *   * *   *
****  ****  *     *       **         *  *  *   *  *

	Dominique Dierick                                   
	Digital Equipment Corporation, Brussels                       
                                                           
	dierick@cygnusx1.bro.dec.com   Phone : 32-2-729-75-48 
	dierick@brsux0.bro.dec.com                          
                                                           
	Only speaking for myself here, not for Digital ...  
                                                           
=============================================================


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

end of thread, other threads:[~1994-09-07 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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