Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2008 23:20:02 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: md devices mounted with async
Message-ID:  <48558782.9000703@FreeBSD.org>
In-Reply-To: <20080615185746.60efea11@gumby.homeunix.com.>
References:  <20080614224742.17316919@gumby.homeunix.com.>	<48545212.4040006@FreeBSD.org>	<20080615013158.7dd19cf0@gumby.homeunix.com.>	<48546B92.5050906@FreeBSD.org>	<20080615035555.0b5d4b1c@gumby.homeunix.com.>	<4854FF77.80901@FreeBSD.org> <20080615185746.60efea11@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
RW wrote:

> But isn't the normal point of async to avoid having the cpu waiting for
> the disk with nothing to do. If there's nothing to block on, the cpu can
> be consistently utilized without async. I suppose with SMP it might
> help spread the work between cpus, but with a single cpu it seems like
> it would just end-up doing the same work in a different order.

Yes, but even on a single CPU your application can potentially dispatch 
more work in the meantime.  e.g. it could be doing other device or 
network I/O.

Kris



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