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

From: Andrew Morton (akpm@digeo.com)
Date: Mon Mar 17 2003 - 15:23:57 EST


Matthew Wilcox <willy@debian.org> wrote:
>
> Anyway, I think dcounters should probably be allocated from kmalloc_percpu()
> rather than as part of the dcounter struct.

That will still consume up to 4 kilobytes per 32-bit counter. We'd
need to merge Kiran & Dipankar's interlace allocator to do this less
grossly.

Which is why I'm waiting to see some profiles and benchmarks. Judging from
the last set of profiles, in which ext2_count_free_blocks() was not present,
this may not be justified.

-
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:21 EST