Chinaunix首页 | 论坛 | 博客
  • 博客访问: 232579
  • 博文数量: 52
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 731
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-25 17:46
文章分类
文章存档

2009年(13)

2008年(39)

我的朋友

分类: LINUX

2008-12-07 00:14:06

本人最近会把proc目录详解给大家弄一下,欢迎翻译,有问题则留言。虽然是英文的,但都比较好理解,如有问题,请留言,我们共同为Linux社区而努力。我们翻译效果还不一定好,因为这玩意毕竟是老外搞的吗!!!咯咯,翻译可能引起误解。这玩意看懂需要tcp/ip方面的知识,学好proc对于性能优化是相当重要的。这次proc /sys/sunrpc介绍一下。proc /sys/sunrpc主要是供一些内核黑客去调试和调解Sun 的nfs和RPC的。
[root@jiangtao sys]# cd sunrpc/
[root@jiangtao sunrpc]# ls
max_resvport  nfs_debug  tcp_slot_table_entries
min_resvport  nlm_debug  transports
nfsd_debug    rpc_debug  udp_slot_table_entries
一  max_resvport
Maximum port number that xprt_bindresvport will use. The default is 1023.
二    min_resvport

Minimum port number that xprt_bindresvport will use. The default is 650.

三  nfs_debug

Set to one to turn nfs debugging on. The default is 0.

四 nfsd_debug

Set to one to turn nfsd debugging on. The default is 0.

五  nlm_debug

Set to one to turn nlm debugging on. The default is 0.

六 rpc_debug

Set to one to turn rpc debugging on. The default is 0.

七  tcp_slot_table_entries

tcp_slot_table_entries sets the maximum number of (TCP) RPC requests that can be in flight. The default value is 16. You can increase the value, but that will also tie up more threads on the server.

八 udp_slot_table_entries

udp_slot_table_entries sets the maximum number of (UDP) RPC requests that can be in flight. The default value is 16. You can increase the value, but that will also tie up more threads on the server.

阅读(2255) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~