*BSD News Article 27169


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!emba-news.uvm.edu!bajoran.emba.uvm.edu!wollman
From: wollman@bajoran.emba.uvm.edu (Garrett Wollman)
Subject: Re: Why are no processes swapped in FreeBSD-1.0?
Message-ID: <1994Feb12.203941.21300@emba.uvm.edu>
Sender: news@emba.uvm.edu
Organization: University of Vermont, EMBA Computer Facility
References: <1994Feb9.003953.7932@sserve.cc.adfa.oz.au>
Date: Sat, 12 Feb 1994 20:39:41 GMT
Lines: 31

In article <1994Feb9.003953.7932@sserve.cc.adfa.oz.au>,
Warren Toomey <wkt@cserve.cs.adfa.oz.au> wrote:
>Looking at the output of ps -aux under FreeBSD-1.0, it seems that NO processes
>are ever swapped out to disk (i.e there are no IW processes marked). However,
>under 386bsd-0.1+patchkits, this does happen. I've ensured that the system has
>had enough time and inclination to swap out some processes (e.g processes
>idle for >30 seconds, lots of memory active in other processes).

The swapper in 386BSD never worked properly.  (It would mark the
process as swapped, but would never actually swap anything out.)  For
FreeBSD 1.0, we disabled it because it actually resulted in worse
performance.  In FreeBSD 1.1, large portions of the VM system have
been completely re-written, and real swapping is actually implemented.
The VM system is also an order of magnitude or more faster than in
1.0.2.

So, in other words, FITNR.

>P.S Why doesn't iostat show disk activity :-) ???

Because the disk stats were never implemented.  This is on the TODO
list prety immediately following 1.1. (We're in a feature freeze at
the moment, so it won't happen in time for 1.1.)

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
 NB: Address soon to | It is a bond more powerful than absence.  We like people
 be changed.         | who like Shashish.  - Claude McKenzie + Florent Vollant