From owner-freebsd-fs@FreeBSD.ORG Thu Apr 22 22:04:54 2010 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C84E1065670; Thu, 22 Apr 2010 22:04:54 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 94EA38FC14; Thu, 22 Apr 2010 22:04:53 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA16158; Fri, 23 Apr 2010 01:04:52 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1O54Vv-0008c9-NY; Fri, 23 Apr 2010 01:04:51 +0300 Message-ID: <4BD0C802.3000004@icyb.net.ua> Date: Fri, 23 Apr 2010 01:04:50 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: freebsd-geom@FreeBSD.org, freebsd-fs@FreeBSD.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: vdev_geom_io: parallelize ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 22:04:54 -0000 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? Thanks! -- Andriy Gapon