Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 02:00:31 -0500 (EST)
From:      "John S. Dyson" <dyson@iquest.net>
To:        julian@whistle.com (Julian Elischer)
Cc:        hackers@FreeBSD.ORG, jason@idiom.com
Subject:   Re: Help,  Linux beats freebsd to death (fwd)
Message-ID:  <199808270700.CAA11565@dyson.iquest.net>
In-Reply-To: <Pine.BSF.3.95.980826081830.2244B-100000@current1.whistle.com> from Julian Elischer at "Aug 26, 98 08:22:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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