"Vonlanthen, Elmar":
> Would it be possible for me to change to the old "inotify"?

No, linux kernel dropped inotify. Only its user interface was left, and
it uses fsnotify internally.


> There is not much difference (without patch it seems to be a little bit
> better):

It is understandable that no-patch cases shows a little better,
since the patch moves the free operation from the "remount" phase to the
"find" phase (in this case).

One thing I don't understand is your "find" in udab=notify didn't take
longer time.
On my test system, /usr has 95246 files and "find" shows

udba=reval:
0.20user 9.84system 0:23.84elapsed 42%CPU (0avgtext+0avgdata 8896maxresident)k
0inputs+0outputs (1major+1253minor)pagefaults 0swaps

udba=notify
0.18user 10.71system 11:15.69elapsed 1%CPU (0avgtext+0avgdata 8912maxresident)k
0inputs+0outputs (3major+1253minor)pagefaults 0swaps

There is much difference expectedly because udba=notify causes lots of
works in aufs.

If you can, please try oprofile (or newer perf) to find the functions
which take long time in remount.


J. R. Okajima

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Reply via email to