亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3544 | 回復(fù): 3
打印 上一主題 下一主題

[proxy] ats的ram_cache相關(guān)參數(shù) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2012-11-12 21:01 |只看該作者 |倒序瀏覽
proxy.process.cache.ram_cache.total_bytes
proxy.config.cache.ram_cache_cutoff

這2個參數(shù)需要改嘛?還是用系統(tǒng)默認(rèn)合適。
我的機器是64G內(nèi)存,硬盤1T空間。



論壇徽章:
0
2 [報告]
發(fā)表于 2012-11-12 23:48 |只看該作者
   # default the ram cache size to AUTO_SIZE (-1) based on cache size
   #   (approximately 1 MB of RAM cache per GB of disk cache)
   # alternatively, set to a fixed value such as 20971520 (20MB)
CONFIG proxy.config.cache.ram_cache.size INT -1
CONFIG proxy.config.cache.ram_cache_cutoff INT 4194304



對你的配置,默認(rèn)的CONFIG proxy.config.cache.ram_cache.size = -1 == 1TB * 1/1000 == 1GB, 這個肯定不是你想要的吧? 那就自己設(shè)置一個吧。先建議用50%的內(nèi)存測試。

cuteoff是一個線,大約這個線的內(nèi)容,永遠(yuǎn)不會讓它進ram_cache。這個可得根據(jù)你的情況來設(shè)置

論壇徽章:
0
3 [報告]
發(fā)表于 2012-11-13 11:23 |只看該作者
我的線上的一個正向代理的,內(nèi)存命中率只有0...
proxy.node.bandwidth_hit_ratio=0.162774
proxy.node.bandwidth_hit_ratio_int_pct=16
proxy.node.hostdb.hit_ratio=0.104159
proxy.node.hostdb.hit_ratio_int_pct=10
proxy.node.proxy_running=1
proxy.node.cache.percent_free=0.868574
proxy.node.cache_hit_ratio=0.210684
proxy.node.cache_hit_ratio_int_pct=21
proxy.node.cache_hit_ratio_avg_10s_int_pct=21
proxy.node.cache_hit_mem_ratio=0.000000
proxy.node.cache_hit_mem_ratio_int_pct=0
proxy.node.cache_hit_mem_ratio_avg_10s_int_pct=0
proxy.node.bandwidth_hit_ratio_avg_10s_int_pct=26
proxy.node.bandwidth_hit_ratio_avg_10s=0.257511
proxy.node.http.cache_hit_fresh_avg_10s=79.000000
proxy.node.http.cache_hit_mem_fresh_avg_10s=0.000000
proxy.node.http.cache_hit_revalidated_avg_10s=10.000000
proxy.node.http.cache_hit_ims_avg_10s=8.000000
proxy.node.http.cache_hit_stale_served_avg_10s=0.000000
proxy.node.http.cache_miss_cold_avg_10s=356.000000
proxy.node.http.cache_miss_changed_avg_10s=2.000000
proxy.node.http.cache_miss_not_cacheable_avg_10s=0.000000
proxy.node.http.cache_miss_client_no_cache_avg_10s=0.000000
proxy.node.http.cache_miss_ims_avg_10s=8.000000
proxy.node.http.cache_read_error_avg_10s=0.000000
proxy.node.cache_total_hits_avg_10s=97.000000
proxy.node.cache_total_hits_mem_avg_10s=0.000000
proxy.node.cache_total_misses_avg_10s=366.000000
proxy.node.cache_hit_ratio_avg_10s=0.209503
proxy.node.cache_hit_mem_ratio_avg_10s=0.000000
proxy.node.hostdb.total_lookups_avg_10s=868.000000
proxy.node.hostdb.total_hits_avg_10s=781.000000
proxy.node.hostdb.hit_ratio_avg_10s=0.899770

論壇徽章:
0
4 [報告]
發(fā)表于 2012-12-06 15:01 |只看該作者
本帖最后由 yychn 于 2012-12-07 15:38 編輯

回復(fù) 3# ppop123


    加上CONFIG proxy.config.http.record_tcp_mem_hit INT 1 看看,默認(rèn)不統(tǒng)計內(nèi)存命中的
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP