ext2/3/4 group size

Arnd Bergmann arnd at arndb.de
Thu Mar 31 03:34:35 EDT 2011


On Thursday 31 March 2011 08:45:24 Yioryos Asprobounitis wrote:
> 
> I was wondering if it makes any sense when making an ext fs on an SDcard 
> to try to align the erase block of the card with the ext2 group size. 
> eg assuming a card with a 4KB pages and 4MB erase blocks, try something
> like `mkfs.ext3 -b 4096 -g 1024'
> Could it offer any speed advantage in garbage collection or just tax the
> file system with the keep-up of 1000 groups (for a 4GB card)?
> (If I got it all wrong, please explain :-)

In theory, it should help to do this, and I've had the same idea. However,
I haven't seen anyone back it up with numbers, and it may as well have
the opposite effect because of something I haven't thought of.

What kind of card do you use specifically?

	Arnd



More information about the Devel mailing list