Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 16:55:20 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Matthew Jacob <mjacob@feral.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Replacement for grep(1) (part 2)
Message-ID:  <19990713165520.08447@hydrogen.fircrest.net>
In-Reply-To: <199907131920.MAA80146@apollo.backplane.com>; from Matthew Dillon on Tue, Jul 13, 1999 at 12:20:37PM -0700
References:  <Pine.BSF.4.05.9907131203350.9543-100000@semuta.feral.com> <199907131920.MAA80146@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon scribbled this message on Jul 13:
>     FreeBSD's swap subsystem has a basic limitation of 4 swap areas.  This
>     is due to the design of the interleaving algorithms.  Increasing this
>     number is simple, but it results in phenominally more kernel memory
>     getting wired.  Within this limitation we can theoretically add and
>     remove swap areas with relative easy.  It would be somewhat easier to do
>     under CURRENT because the swap metadata structures are simpler.

hmmm... so this means that on my home server where I have:
Device      1K-blocks     Used    Avail Capacity  Type
/dev/od0b      262144    31176   230840    12%    Interleaved
/dev/da1b      393216    31136   361952     8%    Interleaved
/dev/da2b      262144    31072   230944    12%    Interleaved
/dev/da3b      131072    31180    99764    24%    Interleaved
/dev/sd4b      393216    30916   362172     8%    Interleaved
/dev/sd5b       65536    30992    34416    47%    Interleaved
/dev/sd6b      131072    30580   100364    23%    Interleaved
Total         1637504   217052  1420452    13%
FreeBSD metriclient-2.uoregon.edu 3.0-RELEASE FreeBSD 3.0-RELEASE #19: Sun May 16 18:36:07 PDT 1999     root@:/a/home/johng/FreeBSD-checkout/30r/sys/compile/hydrogen  i386

does this mean that the kernel is using more wired memory than it should
be?  I have been able to do extensive swapping and when I do, I can get
around 3-4meg/sec for EACH of swapping in and out... so the performance
is pretty decient... and I have 80megs of ram in the machine...

I have:
options         "NSWAPDEV=10"

in my kernel config file...

-- 
  John-Mark Gurney                              Voice: +1 541 684 8449
  Cu Networking					  P.O. Box 5693, 97405

  "The soul contains in itself the event that shall presently befall it.
  The event is only the actualizing of its thought." -- Ralph Waldo Emerson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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