<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">&lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt;</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>&gt; HI Igor Sysoev:<br>&gt;<br>&gt; Could you please give us an explaination for these ?<br>&gt;<br>&gt; &gt; Caching in ramdisk is usually not good idea, since there is OS VM cache.<br>
&gt; You just waste memory and CPU time.<br>&gt; [nexthop]  If we want to get a high performace, can we cache using RAMdisk ?<br>&gt; According to your comments, it seems that cache in ramdisk have a lower<br>&gt; performace.<br>
&gt;<br>&gt; I do a google search with ramdisk cache, it seems that Cache in RamDisk will<br>&gt; get a high performance.<br>&gt; <a href="http://lowendmac.com/tech/diskcache.shtml" target="_blank">http://lowendmac.com/tech/diskcache.shtml</a><br>
&gt;<br>&gt; I am confusing it.<br>&gt; 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>&gt; On Tue, Feb 2, 2010 at 12:33 AM, Igor Sysoev &lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt; wrote:<br>&gt;<br>&gt; &gt;  On Fri, Jan 29, 2010 at 10:44:46AM -0600, AMP Admin wrote:<br>
&gt; &gt;<br>&gt; &gt; &gt; So I was thinking of creating a ramdisk and then pointing proxy_cache at<br>&gt; &gt; the<br>&gt; &gt; &gt; ramdisk. do you think that will be a good combo?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; If so, to the people that use proxy_cache, how much space is it using on<br>
&gt; &gt; &gt; average so I can make it the right size?<br>&gt; &gt;<br>&gt; &gt; Caching in ramdisk is usually not good idea, since there is OS VM cache.<br>&gt; &gt; You just waste memory and CPU time.<br>&gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; --<br>&gt; &gt; Igor Sysoev<br>&gt; &gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; nginx mailing list<br>
&gt; &gt; <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>&gt; &gt; <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>&gt; &gt;<br><br>&gt; _______________________________________________<br>
&gt; nginx mailing list<br>&gt; <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>&gt; <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>