Home » Mailing lists » Devel » [Q] missing unused dentry in prune_dcache()?
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list [message #7920 is a reply to message #7916] |
Mon, 30 October 2006 16:09   |
Eric Dumazet
Messages: 36 Registered: July 2006
|
Member |
|
|
On Monday 30 October 2006 16:34, Kirill Korotaev wrote:
> > Quick search maybe, but your patch adds 2 pointers to each dentry in the
> > system... That's pretty expensive, as dentries are already using a *lot*
> > of ram.
>
> I don't see much problems with it... it is cache and it can be pruned if
> needed. Some time ago, for example, my patch introducing the same list for
> inodes was commited.
The ratio of dentries/PAGE is higher than ration of inodes/PAGE.
(On a x86_64 machine, 19 dentries per PAGE, 5 ext3 inodes per PAGE=
Therefore I suspect that the number of pages locked in dentry_cache because of
one inuse dentry is higher.
>
> > Maybe an alternative would be to not have anymore a global dentry_unused,
> > but only per-sb unused dentries lists ?
>
> I don't know global LRU implementation based on per-sb lists, do you?
> If someone suggest the algorithm for more or less fair global LRU
> based on non-global list we will implement it. However, so far,
> AFAICS there were problems with it.
Using 32 bytes per dentry for unused LRUs sounds too much, maybe we should
revert LRUS handling to timestamps or things like that.
|
|
|
 |
|
[Q] missing unused dentry in prune_dcache()?
By: vaverin on Wed, 25 October 2006 12:30
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Wed, 25 October 2006 13:58
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Thu, 26 October 2006 11:36
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Fri, 27 October 2006 08:05
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Fri, 27 October 2006 11:50
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Fri, 27 October 2006 13:47
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: dev on Fri, 27 October 2006 14:34
|
 |
|
[PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: vaverin on Fri, 27 October 2006 14:05
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: vaverin on Mon, 30 October 2006 14:24
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: dev on Mon, 30 October 2006 15:27
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: dev on Mon, 30 October 2006 15:06
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: dev on Mon, 30 October 2006 06:22
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: vaverin on Wed, 01 November 2006 13:32
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: vaverin on Tue, 14 November 2006 06:12
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: vaverin on Tue, 31 October 2006 13:08
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
By: dev on Wed, 01 November 2006 10:48
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
Re: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
|
 |
|
[PATCH 2.6.19-rc3] VFS: missing unused dentry in prune_dcache()
By: vaverin on Fri, 27 October 2006 13:42
|
 |
|
Re: [PATCH 2.6.19-rc3] VFS: missing unused dentry in prune_dcache()
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Thu, 26 October 2006 11:49
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Thu, 26 October 2006 13:58
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Fri, 27 October 2006 06:32
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
By: vaverin on Fri, 27 October 2006 06:50
|
 |
|
Re: [Q] missing unused dentry in prune_dcache()?
|
 |
|
[Q] missing ->d_delete() in shrink_dcache_for_umount()?
By: vaverin on Tue, 31 October 2006 13:24
|
 |
|
Re: [Q] missing ->d_delete() in shrink_dcache_for_umount()?
|
Goto Forum:
Current Time: Mon Aug 25 19:16:35 GMT 2025
Total time taken to generate the page: 0.06441 seconds
|