lkml.org 
[lkml]   [2003]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Ext2-devel] [PATCH] distributed counters for ext2 to avoid group scaning
From
Date
>>>>> Matthew Wilcox (MW) writes:
MW> And then we have 3 of these (an additional 3k..). Per
MW> blockgroup. My 4GB / has 30 blockgroups; my 30GB /home has 232.
MW> So that's a little under 8 per GB. My _laptop_ has a 40GB drive,
MW> so that's on the order of 320 blockgroups -- almost an additional
MW> megabyte of ram consumed for these counters.

no-no!

_one_ dcounter to maintain number of free blocks _per_ fs.
_one_ dcounter to maintain number of inode blocks _per_ fs.
_one_ dcounter to maintain number of dirs _per_ fs.

3 dcounter per fs. no more.




-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.034 / U:4.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site