Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2001 01:18:10 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "David E. Cross" <crossd@cs.rpi.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: async isn't all that async?
Message-ID:  <001f01c1593f$c1694d40$1401a8c0@tedm.placo.com>
In-Reply-To: <200110192014.QAA35160@cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
I'd suggest that before jumping to conclusions that you run a few tests.
Mount a filesystem sync, then run bonnie, note the time, then remount
it async and run the same test again.  If there's no difference in the
speed then start getting concerned.

Ted Mittelstaedt                                       tedm@toybox.placo.com
Author of:                           The FreeBSD Corporate Networker's Guide
Book website:                          http://www.freebsd-corp-net-guide.com


>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David E. Cross
>Sent: Friday, October 19, 2001 1:15 PM
>To: freebsd-questions@FreeBSD.ORG
>Subject: async isn't all that async?
>
>
>I was doing a profile recently between FreeBSD and Linux and I notice that
>FreeBSD's -o async really isn't that async.  Specifically the Linux operation
>completed and then 15 seconds later the disk writes were committed, under
>FreeBSD many of the operations seemed to be waiting on disk (I ktraced,
>no mention of '-i sync' in anything... so no open options, to fcntl()s).
>
>Could someone shed a bit of light on this?
>
>--
>David Cross                               | email: crossd@cs.rpi.edu
>Lab Director                              | Rm: 308 Lally Hall
>Rensselaer Polytechnic Institute,         | Ph: 518.276.2860
>Department of Computer Science            | Fax: 518.276.4033
>I speak only for myself.                  | WinNT:Linux::Linux:FreeBSD
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001f01c1593f$c1694d40$1401a8c0>