vdev_geom_io: parallelize ?

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 23 06:08:56 UTC 2010


On Fri, Apr 23, 2010 at 01:04:50AM +0300, Andriy Gapon wrote:
> 
> Just thinking out loud.
> 
> Currently ZFS vdev_geom_io does something like:
> for (...) {
> 	...
> 	g_io_request(...);
> 	biowait(...);
> 	...
> }
> I/O is done in MAXPHYS chunks.
> 
> If that was changed to first issuing all the requests and only after that
> waiting on them, could there be any performance benefit?
> Or cases of vdev_geom_io with size > MAXPHYS are too rare?
> Or something else?

The vdev_geom_io() function is there only to read ZFS labels, it is not
used during regular I/O. Regular I/O requests are handled asynchronously
by the vdev_geom_io_start() function.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100423/4f62cba4/attachment.pgp


More information about the freebsd-fs mailing list