Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 01:34:31 -0400 (EDT)
From:      Charles Henrich <henrich@crh.cl.msu.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Poor program load time
Message-ID:  <199506230534.BAA09033@crh.cl.msu.edu>

next in thread | raw e-mail | index | archive | help
I have very often exprienced cases where I will attempt to run a program (be it
ls or xterm) where for no apparent reason it takes seconds to load and execute.
This is on a P100 w/ 32mb ram and 1gb SCSI disk (but It occurs on all 2.0.5-R
systems).

My guess is the problem is with the merged vm cache code.  As my cache is
always full of file data, when I attempt to execute a program there is some
sort of contention while the system determines just what the hell it should
throw out to get me up and running.

AIX has a similar sort of merged cache but program execution is virtually
instantaneous.  One thing I've noticed with AIX is that when a program is first
run it is started with a "higher" priority and as time goes on the priority is
lowered.  Now, could FreeBSD do the same thing to give "new" processes a kick
in the butt so to the end user response time improves?

Now all the above is based on supposition on a topic I know virtually nothing
about, so If I sound like a rambling idiot please correct me, but explain why
the load times are so damn long some times please!

-Crh

    Charles Henrich     Michigan State University     henrich@crh.cl.msu.edu

                     http://rs560.msu.edu/~henrich/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506230534.BAA09033>