trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheer Vinukonda <sudhe...@yahoo-inc.com>
Subject Re: ram_cache for big objects
Date Fri, 15 Apr 2016 15:47:22 GMT
One approach is to use a ramdisk (e.g configure tmpfs ). 

    On Friday, April 15, 2016 12:33 AM, ZHAOCHUNBO [赵春波] <ZHAOCHUNBO@kingsoft.com>
wrote:
 

 #yiv3568508005 #yiv3568508005 -- filtered {font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1
1;}#yiv3568508005 filtered {panose-1:2 4 5 3 5 4 6 3 2 4;}#yiv3568508005 filtered {font-family:Calibri;panose-1:2
15 5 2 2 2 4 3 2 4;}#yiv3568508005 filtered {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv3568508005
p.yiv3568508005MsoNormal, #yiv3568508005 li.yiv3568508005MsoNormal, #yiv3568508005 div.yiv3568508005MsoNormal
{margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;font-size:10.5pt;}#yiv3568508005
a:link, #yiv3568508005 span.yiv3568508005MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv3568508005
a:visited, #yiv3568508005 span.yiv3568508005MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv3568508005
span.yiv3568508005EmailStyle17 {color:windowtext;}#yiv3568508005 .yiv3568508005MsoChpDefault
{}#yiv3568508005 filtered {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv3568508005 div.yiv3568508005WordSection1
{}#yiv3568508005 HI all,  I have met one problem:  There is one big file(600MB) and it is
very hot, it is larger than ` ram_cache_cutoff ` setup:CONFIG proxy.config.cache.ram_cache_cutoff
INT 20M    I have noticed that the `rKB/s` on one disk is very high, and the disk usage
is keeping nearly 100%.  Device:         rrqm/s   wrqm/s     r/s     w/s   
rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %utilsde              
0.00   124.00  196.33    2.33 47210.00   505.33   480.36    35.17  182.13  
5.02  99.73    It seems linux pagecache does NOT work when using ATS, and ATS ram_cache
does not work either, am I correct?What is the suggestion value of `proxy.config.cache.ram_cache.size`
and `proxy.config.cache.ram_cache_cutoff` ?  How should I handle this case?    Thanks in
advance.  ---Best Regards,Thomas  

  
Mime
View raw message