Re: [PATCH] distributed counters for ext2 to avoid group scaning

From: William Lee Irwin III (wli@holomorphy.com)
Date: Mon Mar 17 2003 - 04:48:23 EST


On Sun, Mar 16, 2003 at 06:01:55PM +0300, Alex Tomas wrote:
>> ext2 with concurrent balloc/ialloc doesn't maintain global free
>> inodes/blocks counters. this is due to badness of spinlocks and
>> atomic_t from big iron's viewpoint. therefore, to know these values
>> we should scan all group descriptors. there are 81 groups for 10G
>> fs. I believe there is method to avoid scaning and decrease memory
>> footprint.

On Mon, Mar 17, 2003 at 01:37:12AM -0800, William Lee Irwin III wrote:
> benching now

Bad news. I don't have big enough fs's to do this one. Working it...

$ df -HT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext2 4.2G 2.8G 1.2G 72% /
/dev/sdb1 ext2 9.1G 7.0G 1.6G 82% /home
/dev/sdb2 ext2 9.1G 42M 8.6G 1% /results
/dev/sdd1 ext2 19G 8.0G 9.2G 47% /work
/dev/sde1 ext2 19G 1.7G 16G 10% /test
$

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:19 EST