Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Major OSF/1 V2.0 performance problems (vm?)
@ 1994-05-26 12:47 Jim Mattson
  0 siblings, 0 replies; only message in thread
From: Jim Mattson @ 1994-05-26 12:47 UTC (permalink / raw)



We just recently acquired a couple of DEC alphas which are now
running OSF1 V2.0.  We tend to do a lot of development work on
a rather large compiler with rather large heap requirements.

Immediately after recompilation, the wall clock time for running
the compiler is atrocious, especially for larger heap sizes.

The machines have 128Mb of physical memory and around 350Mb of 
swap space.  With very little running, typical times for a
brand new 23Mb executable (13Mb real size, 10Mb symbol table) are:

48Mb heap:   19 seconds (17 user, 1 system)
64Mb heap:   64 seconds (16 user, 9 system)
96Mb heap:  153 seconds (15 user, 11 system)

Running the same program again, within a short time interval:

48Mb heap:   19 seconds (17 user, 1 system)
64Mb heap:   17 seconds (16 user, 1 system)
96Mb heap:   17 seconds (15 user, 2 system)

What could it possibly be doing on the first run?  I know it's not
waiting for the disk; it only takes .8 seconds to copy the executable
from disk to disk (.2 seconds to copy it to /dev/null).  The only
real difference I can see in vmstat is that the number of interrupts
peaks at 2K/sec in the slow cases, whereas it peaks at around 300/sec
in the fast cases.

Ps shows:


       F S      UID   PID  PPID %CPU PRI  NI  RSS WCHAN
80808001 U      104 15483 15481  6.0  38   0  66M 5db160


Apparently, judging from the flags:

  SPAGV               0x00008000

                                         Init data space on
                                         demand, from vnode

Presumably, this is _initialized_ data from the executable, and not 
dynamically allocated heap...why would the larger heap sizes cause
the process to spend more time in this state?  Even if this did
include the heap, we're spending 136 seconds to initialize roughly 100Mb
of data space in the worst case.  That's less than a megabyte a second.  
C'mon!

Any ideas?

--jim
-- 
Jim Mattson <mattson@dcs.gla.ac.uk>
Department of Computing Science, Glasgow University
17 Lilybank Gardens, Glasgow G12 8QQ
Scotland						+44 (41) 330-4984


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-05-26 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-26 12:47 Major OSF/1 V2.0 performance problems (vm?) Jim Mattson

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