*BSD News Article 20002


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!wongm
Newsgroups: comp.os.386bsd.questions
Subject: swap space, X server for syscons-0.2
Message-ID: <CCBL2A.IyH@latcs1.lat.oz.au>
From: wongm@latcs1.lat.oz.au (M.C. Wong)
Date: Wed, 25 Aug 1993 14:46:57 GMT
Organization: Comp Sci, La Trobe Uni, Australia
Lines: 37

Hi,
  In a previous posting, I get some helpful replies by some of those kind souls.
And I got swapinfo to check on the use of my swap partition. And as it reveals,
5 MB is definitely too small. But there is one thing I do not quite understand
the way 386bsd does virtual memory  management. I have tried running some
applications (like xfig, ghostview, etc) and did swapinfo before, during and 
after those app. execution. Initially, my system is not fully loaded to need
any swapping, when those app are loaded, swapinfo reveals about 80% - 100% of
swap space used (varied depending on which app.). But when I quit those new
app, and did swapinfo again, it reveals that the the swap space in use it still
the same as last revealed while the app was running. And, of course I try 
activate every program on the screen (from X) to see if any of those swapped-out
pages are swapped-in again, by running swapinfo again, but it didn't show any
change on the swap space used. I wonder if this is the behaviour (ie the pages
that swapped out are not my on-scree programs but rather system daemons etc?)
expected ? Or should I see a 0% capacity , ie back to original state before I
ran those extra app. (xfig, ghostview etc) ?

  Secondly, someone points me to fetch an updated of X server for XF86_SVGA
that has bug fix for line drawing function. I wonder does there exis a version
for syscons-0.2 as well ? I am running syscons-0.2 and feel that its performance
is better than pccons and codrv, I wonder will syscons makes its way into 
XFree-2.0 ?

  One last question, I remember reading some general guidelines/formula for
allocate swap space from the book "Unix Administration Handbook", but can't
remember exactly what it is, and I don't have access to that book anymore, I
wonder if someone can let me know ? Also, I plan to disklabel my new disk
in such a way that I am leaving some "hole" between parition b and other 
paritions to leave some room for grow for the new additional swap partition,
is that feasible ? Has anyone done it before ? How about if I use the extra
hole to augment an existing file system ?

  Thanks in advance!

-- 
- wongm@latcs1.lat.oz.au