SDN benchmark -- Cbench最新安装说明
来源:互联网 发布:网络金融理财咨询 编辑:程序博客网 时间:2024/06/05 22:57
SDN benchmark – Cbench最新安装说明
标签(空格分隔): SDN Cbench
持续更新地址:https://www.zybuluo.com/wuzhimang/note/398736
- SDN benchmark Cbench最新安装说明
- 为什么要写这篇浅显的博客
- Cbench安装步骤
- 1 一般安装
- 2 简易安装
- 使用说明
- 可能出现的问题
- 参考资料
1. 为什么要写这篇“浅显”的博客
- 网上搜索到的安装步骤基本都是来源于这篇13年的文章,而这篇文章来源于11年的OFLOPS:User manual,安装步骤都out了,没必要那么繁琐,故需要更新
- 笔者实际做了相关的实验,并不是简单的复制再改改,具体安装步骤已精简过
- 分享也是一种自我提升的过程(但本文内容确实很浅),只是为了方便大家
- Cbench是一个很好的开源工具,安装和使用都应很方便
2. Cbench安装步骤
2.1 一般安装
Cbench是OFLOPS(an OpenFlow testing platform)的一个部件,以下是Cbench,也是OFLOPS的一般安装步骤(已在CentOS 7.2 和 Ubuntu 14.04下安装测试过)
安装相关的依赖包
yum install -y autoconf automake libtool libpcap-devel net-snmp-devel libconfig-devel
或者apt-get install -y autoconf automake libtool libpcap-dev libsnmp-dev libconfig-dev
下载OpenFlow和OFLOPS
git clone git://gitosis.stanford.edu/openflow.git
git clone git://gitosis.stanford.edu/oflops.git
下载NetFPGA并编译
[root@gf01 benchmark]# lsoflops openflow[root@gf01 benchmark]# cd oflops && git submodule init && git submodule update[root@gf01 oflops]# cd netfpga-packet-generator-c-library[root@gf01 netfpga-packet-generator-c-library]# ./autogen.sh && ./configure && make
- 编译安装Cbench(即OFLOPS)
[root@gf01 netfpga-packet-generator-c-library]# cd ..[root@gf01 oflops]# sh ./boot.sh && ./configure && make && make install[root@gf01 oflops]# cd cbench[root@gf01 cbench]# ./cbench -hhelp message......
2.2 简易安装
为方便大家,已将自己下载并更新了的git packages上传到网盘上,下载后简单的安装步骤如下:
- 参考2.1第一步安装依赖包
- 下载源码编译安装
# unzip -q cbench_201606.zip# cd netfpga-packet-generator-c-library && ./autogen.sh && ./configure && make# cd .. && sh ./boot.sh && ./configure && make && make install# cd cbench && ./cbench -h
3. 使用说明
参考 http://www.sdnlab.com/15112.html 或者本人后续的分享
4. 可能出现的问题
- linux下的环境不尽一样,若在编译过程中出现各类缺少相应软件包的问题,即”not found”,可以针对特定的包进行安装,也可以一开始就安装整个Development环境,CentOS下
yum groups install Development Tools
- 若需要手动编译安装libconfig, 可从 http://www.hyperrealm.com/libconfig/ 下载源码包,然后编译安装
- 其他有关安装的疑惑和问题可参考官方文档OFLOPS:User manual的第5-6页
- 其他问题欢迎留言
5. 参考资料
- https://floodlight.atlassian.net/wiki/pages/viewpage.action?pageId=1343657
- http://archive.openflow.org/wk/images/3/3e/Manual.pdf
- http://www.sdnlab.com/15112.html
1 0
- SDN benchmark -- Cbench最新安装说明
- SDN测试工具-iperf、Cbench、sFlow(缺图)
- cbench安装+总结
- redis-benchmark 测试数据说明
- 安装Apache Benchmark
- centos7 安装apache Benchmark
- ceph系统原理 细节 benchmark 不完全说明
- Stream benchmark 测试及相关参数说明
- ceph系统原理 细节 benchmark 不完全说明
- ceph系统原理 细节 benchmark 不完全说明
- emqttd--------mqttd-benchmark-------Erlang安装
- 最新【snapshot】DCMTK3.6.1(MD支持库)安装说明
- benchmark
- Benchmark
- benchmark
- Benchmark
- SDN
- sdn
- 同一Tomcat 多个端口部署不同的项目
- Lua入门教程 0.环境配置
- Sum Root to Leaf Numbers
- 分区管理的内存分配算法
- SVN 中trunk、tags、branches使用
- SDN benchmark -- Cbench最新安装说明
- 1076. Forwards on Weibo (30) PAT
- html学习笔记-2016-6-3 19:21:04
- Python循环语句for和while
- STL 算法
- Android Fragment 生命周期
- leetcode318-Maximum Product of Word Lengths
- java多线程——阻塞与唤醒
- 登陆云主机显示字符画面