From owner-freebsd-questions@FreeBSD.ORG Thu Mar 30 20:59:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2839E16A420 for ; Thu, 30 Mar 2006 20:59:02 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19CA643D60 for ; Thu, 30 Mar 2006 20:58:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id ECB861A4DAB; Thu, 30 Mar 2006 12:58:58 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3E53251695; Thu, 30 Mar 2006 15:58:58 -0500 (EST) Date: Thu, 30 Mar 2006 15:58:58 -0500 From: Kris Kennaway To: usleepless@gmail.com Message-ID: <20060330205858.GA21147@xor.obsecurity.org> References: <442B2FC6.9040001@123.com.sv> <20060330011834.GA84658@xor.obsecurity.org> <442BF0BB.8010504@123.com.sv> <20060330202145.GA17856@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Miguel , freebsd-questions@freebsd.org, Kris Kennaway Subject: Re: terrible performance in 6.1beta4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 20:59:02 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 30, 2006 at 10:49:01PM +0200, usleepless@gmail.com wrote: > Kris, >=20 > > Yes, this is my impression of the problem too. Any time your process > > is waiting on disk I/O it is going to perform terribly (on any OS - > > disks are slow), and the way to fix this is to make sure it does as > > little I/O as possible (by allowing everything to be cached in RAM). >=20 > just for my curiosity, do you share my opinion on the fsync issue? Actually I seem to recall that on Linux with default settings fsync() lies and does not actually sync data before returning, so maybe it's worth turning off on FreeBSD too if you're comfortable with the implications of this. Kris --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFELEaRWry0BWjoQKURAiBCAKC79U3cKxjWXO0fxaP9IpD9xxEunwCggND9 QtlqUFFqFwgWaOWzngP6Zto= =1Sfk -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--