<div>Thanks for your information. </div>
<div> </div>
<div>NextHop<br><br></div>
<div class="gmail_quote">On Tue, Feb 2, 2010 at 1:31 AM, Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Tue, Feb 02, 2010 at 01:19:16AM +0800, quan nexthop wrote:<br><br>> HI Igor Sysoev:<br>><br>> Could you please give us an explaination for these ?<br>><br>> > Caching in ramdisk is usually not good idea, since there is OS VM cache.<br>
> You just waste memory and CPU time.<br>> [nexthop] If we want to get a high performace, can we cache using RAMdisk ?<br>> According to your comments, it seems that cache in ramdisk have a lower<br>> performace.<br>
><br>> I do a google search with ramdisk cache, it seems that Cache in RamDisk will<br>> get a high performance.<br>> <a href="http://lowendmac.com/tech/diskcache.shtml" target="_blank">http://lowendmac.com/tech/diskcache.shtml</a><br>
><br>> I am confusing it.<br>> Could you please give us more information about it ?<br><br></div>RAMdisk has no lower performace. It just wastes memory: OS stores two copies<br>of an object: one in OS cache and second in RAMdisk. Some tmpfs<br>
implementations may eliminate this double copy.<br>
<div class="im"><br>> On Tue, Feb 2, 2010 at 12:33 AM, Igor Sysoev <<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>> wrote:<br>><br>> > On Fri, Jan 29, 2010 at 10:44:46AM -0600, AMP Admin wrote:<br>
> ><br>> > > So I was thinking of creating a ramdisk and then pointing proxy_cache at<br>> > the<br>> > > ramdisk. do you think that will be a good combo?<br>> > ><br>> > > If so, to the people that use proxy_cache, how much space is it using on<br>
> > > average so I can make it the right size?<br>> ><br>> > Caching in ramdisk is usually not good idea, since there is OS VM cache.<br>> > You just waste memory and CPU time.<br>> ><br>> ><br>
> > --<br>> > Igor Sysoev<br>> > <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>> ><br>> > _______________________________________________<br>> > nginx mailing list<br>
> > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>> > <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>> ><br><br>> _______________________________________________<br>
> nginx mailing list<br>> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>> <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br><br><br></div>--<br>
<div>
<div></div>
<div class="h5">Igor Sysoev<br><a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br></div></div></blockquote></div><br>