Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 13:59:34 GMT
From:      Tor.Egge@cvsup.no.freebsd.org
To:        phk@phk.freebsd.dk
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf NOTES files options src/sys/kern vfs_bio.c src/sys/ufs/ffs ffs_rawread.c ffs_vnops.c 
Message-ID:  <20030327135934T.tegge@cvsup.no.freebsd.org>
In-Reply-To: <30005.1048751103@critter.freebsd.dk>
References:  <200303262340.h2QNegJg065498@repoman.freebsd.org> <30005.1048751103@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am neither impressed nor thrilled by this.
> 
> We already have pretty firm plans for converting struct bio from a
> "mapped KVM" to a a "virtual/physical scatter/gather" thing in the
> 6-current, and that is the correct way to solve this problem.

That doesn't help getting the data to the userland buffer instead of
into the buffer cache.

> If this is a crucial feature for 5-stable, I would far rather add
> we push ahead with that plan, than see more pbuf based hacks in the
> kernel.

Applications that perform their own caching can have a very low hit
rate in the buffer cache, and at some point the memory bandwith usage
copying data from the buffer cache to userland becomes much more
significant than the occational buffer cache hit.

- Tor Egge



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