Messages in this thread | | | Date | Mon, 6 Oct 2003 10:41:28 -0700 | From | Greg KH <> | Subject | Re: [RFC 0/6] Backing Store for sysfs |
| |
On Mon, Oct 06, 2003 at 07:38:06PM +0200, Christian Borntraeger wrote: > Greg KH wrote: > > > On Mon, Oct 06, 2003 at 02:29:15PM +0530, Maneesh Soni wrote: > >> > >> 2.6.0-test6 With patches. > >> ----------------- > >> dentry_cache (active) 2520 2544 > >> inode_cache (active) 1058 1050 > >> LowFree 875032 KB 874748 KB > > > > So with these patches we actually eat up more LowFree if all sysfs > > entries are searched, and make the dentry_cache bigger? That's not good > > :( > [...] > > information for that kobject. So I don't see any savings in these > > patches, do you? > > I do. As stated earlier, with 20000 devices on a S390 guest I have around > 350MB slab memory after rebooting. > With this patch, the slab memory reduces to 60MB.
That's good. But what happens after you run a find over the sysfs tree? Which is essencially what udev will be doing :)
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/
| |