免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: yjh777
打印 上一主题 下一主题

[网络子系统] 请教高手:PACKET_MMAP PF_RING 的主要区别在哪里? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2013-03-15 17:26 |只看该作者
回复 10# 瀚海书香

kernel$ modinfo pf_ring.ko
filename:       pf_ring.ko
alias:          net-pf-27
description:    Packet capture acceleration and analysis
author:         Luca Deri <deri@ntop.org>
license:        GPL
srcversion:     017A1CD2FF553EE42B167DF
depends:        
vermagic:       3.5.0-21-generic SMP mod_unload modversions 686
parm:           min_num_slots:Min number of ring slots (uint)
parm:           perfect_rules_hash_sizeerfect rules hash size (uint)
parm:           transparent_mode:0=standard Linux, 1=direct2pfring+transparent, 2=direct2pfring+non transparentFor 1 and 2 you need to use a PF_RING aware driver (uint)
parm:           enable_debug:Set to 1 to enable PF_RING debug tracing into the syslog (uint)
parm:           enable_tx_capture:Set to 1 to capture outgoing packets (uint)
parm:           enable_ip_defrag:Set to 1 to enable IP defragmentation(only rx traffic is defragmentead) (uint)
parm:           quick_mode:Set to 1 to run at full speed but with upto one socket per interface (uint)



   

论坛徽章:
0
12 [报告]
发表于 2013-03-15 17:27 |只看该作者
回复 10# 瀚海书香

ubuntu:/sys/module/pf_ring/parameters$ ll
总用量 0
drwxr-xr-x 2 root root    0  3月 15 17:26 ./
drwxr-xr-x 6 root root    0  3月 14 14:14 ../
-rw-r--r-- 1 root root 4096  3月 15 17:26 enable_debug
-rw-r--r-- 1 root root 4096  3月 15 17:26 enable_ip_defrag
-rw-r--r-- 1 root root 4096  3月 15 17:26 enable_tx_capture
-rw-r--r-- 1 root root 4096  3月 15 17:26 min_num_slots
-rw-r--r-- 1 root root 4096  3月 15 17:26 perfect_rules_hash_size
-rw-r--r-- 1 root root 4096  3月 15 17:26 quick_mode
-rw-r--r-- 1 root root 4096  3月 15 17:26 transparent_mode
lujian@lujian-ubuntu:/sys/module/pf_ring/parameters$ cat *
0
0
1
4096
4096
0
0




   

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
13 [报告]
发表于 2013-03-16 08:50 |只看该作者
没错!

回复 4# 251300891


   

论坛徽章:
0
14 [报告]
发表于 2013-03-18 09:15 |只看该作者
回复 13# chishanmingshen

没错什么呢?pf_ring有收费版本,现在需要找丢包的问题。有没有遇到过?


   

论坛徽章:
0
15 [报告]
发表于 2013-03-18 14:32 |只看该作者
回复 3# 瀚海书香


    瀚海书香有找到设置的参数了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP