From owner-freebsd-hackers Thu Aug 27 00:01:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22112 for freebsd-hackers-outgoing; Thu, 27 Aug 1998 00:01:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22080 for ; Thu, 27 Aug 1998 00:01:28 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id CAA11565; Thu, 27 Aug 1998 02:00:31 -0500 (EST) (envelope-from toor) Message-Id: <199808270700.CAA11565@dyson.iquest.net> Subject: Re: Help, Linux beats freebsd to death (fwd) In-Reply-To: from Julian Elischer at "Aug 26, 98 08:22:08 am" To: julian@whistle.com (Julian Elischer) Date: Thu, 27 Aug 1998 02:00:31 -0500 (EST) Cc: hackers@FreeBSD.ORG, jason@idiom.com From: "John S. Dyson" Reply-To: dyson@iquest.net X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer said: > > Anyone got good ideas? > Jason, can you figure out what system calls are being performed at this > time? > Is it network re;lated, or filesystem related? > Are there pthread related elements? > > > Maybe a ktrace might give some clues.. > (or a profile?) > > this has to be something really silly, because one order of magnitude > is just ridiculous.. > I have seen that postgres is sometimes slow on FreeBSD (at least earlier versions), and it seemed to be related to metadata updates, and writes not being delayed. This is one reason why commercial database engines like to use raw partitions, so that the disk image can be forced to be consistant. Try mounting -async or with softupdates, however FreeBSD still doesn't delay writes (for very obvious reasons), but Linux will (and leave your file inconsistant upon crash.) -- John | Never try to teach a pig to sing, dyson@iquest.net | it makes one look stupid jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message