Hello, I am successfully using CONFIG_AUFS_BRANCH_MAX_1023=y for a long time, and it seems the performance is not any different from the *_127 case.
Of course, if hundreds of branches are in aufs union, it's slower, but that is completely understandable because it must lookup files in all branches, and this surely takes some time. I noticed CONFIG_AUFS_BRANCH_MAX_32767 is still commented out in local.mk so I didn't use it yet. Do you recommend it shouldn't be used at all? In Kconfig.in documentation, there is written that the larger value consumes more system resources and has an impact to performance. What 'larger value' does this refer to? Does it mean the 'larger value' of ACTIVE BRANCHES IN AUFS UNION? (this is completely understandable) or does it mean the 'larger value' of CONFIG_AUFS_BRANCH_MAX? I can see in aufs code that the only difference is that if MAX_127 is used, aufs_bindex_t is type 'signed char', while in other cases (for MAX_511, MAX_1023 and MAX_32767) aufs_bindex_t is type 'short'. So in general, MAX_511 should be ABSOLUTELY THE SAME like MAX_32767, am I right? And in general, if I use only 10 branches in my aufs, it should have the same performance for all CONFIG_AUFS_BRANCH_MAX_* settings, am I correct? Thank you very much for answers. Tomas M slax.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
