Received: from eggs.gnu.org ([2001:4830:134:3::10]:43719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPWEV-0004U0-C7 for qemu-devel@nongnu.org; Tue, 19 Jul 2016 10:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPWET-0004zl-8t for qemu-devel@nongnu.org; Tue, 19 Jul 2016 10:42:50 -0400 References: <1468523008-30013-1-git-send-email-clord@redhat.com> <2857be54-dac6-d702-b628-3f64330976e4@redhat.com> <25abf017-a74d-69e0-fce7-184f48b04db0@redhat.com> From: Paolo Bonzini Message-ID: Date: Tue, 19 Jul 2016 16:42:38 +0200 MIME-Version: 1.0 In-Reply-To: <25abf017-a74d-69e0-fce7-184f48b04db0@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 00/32] Dynamic module loading for block drivers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Colin Lord , qemu-devel@nongnu.org Cc: kwolf@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com On 19/07/2016 15:47, Colin Lord wrote: > However, the protocol drivers do tend to see noticeable performance > benefits. Most of them get modularized in the first three patches of > this series. This includes the iscsi, glusterfs, ssh, curl, and rbd > drivers. Indeed, but... protocol drivers don't have probes, do they? There is a distinction between "formats" and "protocols", and only formats need to be probed for. > A minimal configuration excluding all of these drivers takes > around 3 ms to reach main(), and each of these drivers respectively add > times of approximately 0.2, 0.9, 1.2, 2.5, and a massive time of 41.6 ms > to the time to main. So some of these aren't even a huge benefit by > themselves but they do add up, and also it makes sense to modularize all > of the protocol drivers if we're already modularizing one. All this I entirely agree with. Paolo