免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4876 | 回复: 5
打印 上一主题 下一主题

HP-UX 11.23 buffer cache 参数调整 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-06 15:09 |只看该作者 |倒序浏览
# ./kmeminfo
tool: kmeminfo 9.07 - libp4 9.354 - libhpux 1.241 - HP CONFIDENTIAL
unix: /stand/current/vmunix 11.23 64bit IA64 on host "NMP_IT_1"
core: /dev/kmem live
link: Thu Aug 20 08:46:41 SST 2009
boot: Tue Jun 14 15:53:34 2011
time: Tue Jul  5 14:44:56 2011
nbpg: 4096 bytes
----------------------------------------------------------------------
Physical memory usage summary (in page/byte/percent):
Physical memory       =  2089388    8.0g 100%  
Free memory           =   184687  721.4m   9%  
User processes        =   811048    3.1g  39%  details with -user
System                =  1079950    4.1g  52%  
  Kernel              =   406274    1.5g  19%  kernel text and data
    Dynamic Arenas    =   192089  750.3m   9%  details with -arena
      vx_inode_cache  =    39102  152.7m   2%  
      vx_global_pool  =    31665  123.7m   2%  
      spinlock        =    15512   60.6m   1%  
      VFD_BT_NODE     =    15502   60.6m   1%  
      ALLOCB_MBLK_LM  =     9941   38.8m   0%  
      Other arenas    =    80367  313.9m   4%  details with -arena
    Super page pool   =     5388   21.0m   0%  details with -kas
    UAREA's           =    17296   67.6m   1%  
    Static Tables     =   150453  587.7m   7%  details with -static
      nbuf            =    65392  255.4m   3%  bufcache headers
      pfdat           =    48970  191.3m   2%  
      vhpt            =    16384   64.0m   1%  
      text            =     7601   29.7m   0%  vmunix text section
      bufhash         =     4096   16.0m   0%  bufcache hash headers
      Other tables    =     8009   31.3m   0%  details with -static
  Buffer cache        =   673676    2.6g  32%  details with -bufcache
  UFC file mrg        =        0     0.0   0%  


buffer cache 占用了32%的内存,怎么像11.31 那样调整呢?

论坛徽章:
0
2 [报告]
发表于 2011-07-06 15:19 |只看该作者
查到了是
dbc_min_pct类似于filecache_min

dbc_max_pct类似于filecache_max

论坛徽章:
0
3 [报告]
发表于 2011-07-06 15:49 |只看该作者
最好不要超20%

论坛徽章:
0
4 [报告]
发表于 2011-07-06 15:54 |只看该作者
一般都是5%-10%

论坛徽章:
0
5 [报告]
发表于 2011-07-08 10:00 |只看该作者
还要参考一下sar -b 的cache命中率

论坛徽章:
0
6 [报告]
发表于 2011-07-11 15:59 |只看该作者
这个得看情况了
如果是跑oracle用的裸设备,最好在10%以下
如果是文件系统,最好高一点,50%也不是不可以

要根据你的业务来定
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP