Re: inode/dcache overhead of sysfs attribute files?

Greg KH (greg@kroah.com)
Wed, 2 Jul 2003 16:57:43 -0700


On Wed, Jul 02, 2003 at 07:48:11PM -0400, Jeff Garzik wrote:
> Has anybody looked into the inode and dcache overhead of all this stuff,
> which I assume is pinned into memory a la ramfs?

Yes, there were some numbers in an old thread about 2000 scsi disks.

> I wonder if sysfs attributes could be accessed via the extended
> attribute VFS API? A file full of EA's can easily be considered a
> key-value database, or attribute-value in this case :) The EA names and
> values need not pin a bunch of inodes and dcache entries, either.
> (though viro may scream at my mention of EAs :))

Don't know, that could be one way. I think wli and shaggy were working
on something along these lines, but haven't heard from them in a long
time about it.

thanks,

greg k-h
-
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/