From owner-freebsd-hackers Tue Jul 13 16:56: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from metriclient-2.uoregon.edu (metriclient-2.uoregon.edu [128.223.172.2]) by hub.freebsd.org (Postfix) with ESMTP id 5B62715157 for ; Tue, 13 Jul 1999 16:55:55 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by metriclient-2.uoregon.edu (8.9.1/8.8.7) id QAA29526; Tue, 13 Jul 1999 16:55:20 -0700 (PDT) Message-ID: <19990713165520.08447@hydrogen.fircrest.net> Date: Tue, 13 Jul 1999 16:55:20 -0700 From: John-Mark Gurney To: Matthew Dillon Cc: Matthew Jacob , freebsd-hackers@FreeBSD.ORG Subject: Re: Replacement for grep(1) (part 2) References: <199907131920.MAA80146@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199907131920.MAA80146@apollo.backplane.com>; from Matthew Dillon on Tue, Jul 13, 1999 at 12:20:37PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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