From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752774Ab1GUIfI (ORCPT ); Thu, 21 Jul 2011 04:35:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6811 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905Ab1GUIfD (ORCPT ); Thu, 21 Jul 2011 04:35:03 -0400 Date: Thu, 21 Jul 2011 09:34:55 +0100 From: Joe Thornber To: Mikulas Patocka Cc: Zdenek Kabelac , Milan Broz , "Alasdair G. Kergon" , dm-devel@redhat.com, gregkh@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCHES] improve sysfs performance, make it O(log n) Message-ID: <20110721083454.GD3700@ubuntu> Mail-Followup-To: Mikulas Patocka , Zdenek Kabelac , Milan Broz , "Alasdair G. Kergon" , dm-devel@redhat.com, gregkh@suse.de, linux-kernel@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 20, 2011 at 06:56:50PM -0400, Mikulas Patocka wrote: > Performance testing --- 10000 dm devices created with dmsetup: > > The numbers are time in seconds to perform these operations: > 1. create 10000 devices > 2. ls -la /sys/block > 3. ls -al /sys/block after a cache flush (echo 3 >/proc/sys/vm/drop_caches) > 4. dmsetup remove_all > > no patches 109 9.8 12 1624 > patch 1 109 9.1 12 15 > patches 1,2 120 0.19 3.0 16 > patches 1,2,3 68 0.17 0.47 12 > patches 1,2,3,4 68 0.15 0.48 11 > all patches 37 0.16 0.46 3.3 Fantastic improvement Mikulas!