lkml.org 
[lkml]   [2012]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/7] fs, notify: Add file handle entry into inotify_inode_mark
On Tue, 13 Nov 2012, Cyrill Gorcunov wrote:

> > The question is, how many `struct inotify_inode_mark's are instantiated
> > system-wide? Could be millions?
>
> Well, hard to tell, to be fair. On my testing machine only apache has been
> using inotify system as far as I remember, but for sure nothing except memory
> limit the number of inotify. But I think if one running machine with millions
> of inotify it's rather powerful machine with enough memory.
>

Seems easy to determine if you boot with slub_nomerge on the command line
and then read /sys/kernel/slab/inotify_inode_mark/objects. On my system,
that happens to be 210, but I'm sure you could come up with a realistic
synthetic workload to make it much higher.


\
 
 \ /
  Last update: 2012-11-13 10:01    [W:0.095 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site