From owner-freebsd-hackers Wed Sep 2 05:45:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA11160 for freebsd-hackers-outgoing; Wed, 2 Sep 1998 05:45:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA11153 for ; Wed, 2 Sep 1998 05:45:08 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id MAA10604; Wed, 2 Sep 1998 12:46:59 +0200 From: Luigi Rizzo Message-Id: <199809021046.MAA10604@labinfo.iet.unipi.it> Subject: Re: Reading/writing /usr/ports is VERY slow (fwd) To: mike@smith.net.au (Mike Smith), hackers@FreeBSD.ORG Date: Wed, 2 Sep 1998 12:46:58 +0200 (MET DST) In-Reply-To: <199809012312.XAA01133@word.smith.net.au> from "Mike Smith" at Sep 1, 98 11:12:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike, thanks a lot for the very detailed reply. just a stupid question, but is there any obvious problem in using like a 400MB partition only for ports with just 1 CG. And another one... your suggestion works as long as there is only one writer, if there is concurrent activity you are not going to get any advantage ? > One of the substantial contributors to this problem has been the > FreeBSD policy of limiting the number of cg's by faking the disk > layout. The intention here was to reduce the amount of space wasted in and because of this and big disks, CGs tend to be large so perhaps the hysteresis to be used in allocations (isn't that what you proposed ?) should be computed as a percentage of the CG (or whole partition ?) size rather than a fixed constant. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message