From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from risingsoftware01.propagation.net ([66.221.33.65]) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JoZZ8-0005a0-7G for linux-mtd@lists.infradead.org; Wed, 23 Apr 2008 07:38:54 +0000 Date: Wed, 23 Apr 2008 17:38:41 +1000 From: Hamish Moffatt To: Artem Bityutskiy Subject: Re: [RFC] slight UBI scan time improvement Message-ID: <20080423073840.GA9472@cloud.net.au> References: <1208882552.11721.13.camel@sauron> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1208882552.11721.13.camel@sauron> Cc: Nancy , linux-mtd@lists.infradead.org, Bruce_Leonard@selinc.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Apr 22, 2008 at 07:42:32PM +0300, Artem Bityutskiy wrote: > Hi, > > I've prepared 2 UBI patches which may slightly improve the scan time. I > am not sure though. Would you guys please try them and tell if UBI scan > time changed? Thanks in advance. Hi Artem, Thanks for your patch.. unfortunately I don't see a significant difference, although it is slightly faster. Before: [ 0.950000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) [ 0.960000] Scanning device for bad blocks [ 1.000000] Bad eraseblock 494 at 0x03dc0000 [ 1.050000] Bad eraseblock 1300 at 0x0a280000 [ 1.140000] Bad eraseblock 2554 at 0x13f40000 [ 1.160000] Bad eraseblock 2923 at 0x16d60000 [ 1.200000] Bad eraseblock 3349 at 0x1a2a0000 [ 1.230000] Bad eraseblock 3790 at 0x1d9c0000 [ 6.900000] UBI: attached mtd9 to ubi0 After: [ 0.950000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) [ 0.960000] Scanning device for bad blocks [ 1.000000] Bad eraseblock 494 at 0x03dc0000 [ 1.050000] Bad eraseblock 1300 at 0x0a280000 [ 1.140000] Bad eraseblock 2554 at 0x13f40000 [ 1.160000] Bad eraseblock 2923 at 0x16d60000 [ 1.200000] Bad eraseblock 3349 at 0x1a2a0000 [ 1.230000] Bad eraseblock 3790 at 0x1d9c0000 [ 6.890000] UBI: attached mtd9 to ubi0 Hamish -- Hamish Moffatt VK3SB