page cache

2011-03-10 Thread Corin Langosch
Hi,

I love aufs but wonder if it's kernel page cache friendly.

In my setup I have a shared folder with lot's of tools, libs, etc. 
installed. I now mount this read-only to several locations and start the 
tools from there. Does this result in reduced memory usage (as it would 
be the case if I started the same tool several times from the same path 
without using aufs)?

mount -t aufs -o br:/home/custom1=rw:/home/shared=rr none /home/merged1
mount -t aufs -o br:/home/custom2=rw:/home/shared=rr none /home/merged2

/home/merged1/tool
/home/merged2/tool

The program tool and its libs are of course not overwritten in any 
of the custom paths.

BTW: Is aufs really no longer maintained anymore like wikipedia 
(http://en.wikipedia.org/wiki/UnionFS) tells me? Which one is better in 
terms of longtime support?

Thanks,
Corin


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d


Re: page cache

2011-03-10 Thread Michael S. Zick
On Thu March 10 2011, Corin Langosch wrote:
 Hi,
 
 I love aufs but wonder if it's kernel page cache friendly.
 
 In my setup I have a shared folder with lot's of tools, libs, etc. 
 installed. I now mount this read-only to several locations and start the 
 tools from there. Does this result in reduced memory usage (as it would 
 be the case if I started the same tool several times from the same path 
 without using aufs)?
 
 mount -t aufs -o br:/home/custom1=rw:/home/shared=rr none /home/merged1
 mount -t aufs -o br:/home/custom2=rw:/home/shared=rr none /home/merged2
 
 /home/merged1/tool
 /home/merged2/tool
 
 The program tool and its libs are of course not overwritten in any 
 of the custom paths.
 
 BTW: Is aufs really no longer maintained anymore like wikipedia 
 (http://en.wikipedia.org/wiki/UnionFS) tells me? Which one is better in 
 terms of longtime support?
 

JRO is still turning out an update every Monday.
I would think that means the wikipedia comment is incorrect.  ;-)

Mike
 Thanks,
 Corin
 
 
 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 
 



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d