On Mon, 17 September 2007 00:06:24 +0200, Goswin von Brederlow wrote: > > How probable is it that the dentry is needed again? If you copy it and > it is not needed then you wasted time. If you throw it out and it is > needed then you wasted time too. Depending on the probability one of > the two is cheaper overall. Idealy I would throw away dentries that > haven't been accessed recently and copy recently used ones. > > How much of a systems ram is spend on dentires? How much on task > structures? Does anyone have some stats on that? If it is <10% of the > total ram combined then I don't see much point in moving them. Just > keep them out of the way of users memory so the buddy system can work > effectively. As usual, the answer is "it depends". I've had up to 600MB in dentry and inode slabs on a 1GiB machine after updatedb. This machine currently has 13MB in dentries, which seems to be reasonable for my purposes. Jörn -- Audacity augments courage; hesitation, fear. -- Publilius Syrus - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html