前言

因为交易系统部的同事在测试研究Intel DPDK和Solarflare的低延迟性能,硬件是Dell R730,OS为RHEL7.2,之前也对DPDK有所了解借这个机会再多接触一些,前者是开源方案但需要强大的技术团队支撑,而后者却是小众但几乎垄断全球交易所的商业方案,随着PCIe SSD,分布式存储,万兆交换机的崛起,这个市场也变得越来越活跃了。Solarflare make servers faster and more secure.

更新记录

2016年11月25日 - 初稿

扩展阅读

参考文档

测试过程

install sfc

yum install packages

yum install gcc make kernel-devel perl autoconf automake libtool pciutils net-tools -y

#解压执行安装

cd openonload-201606/scripts

./onload_install

#reload onload

onload_tool reload

#remove sfc

#unload onload

onload_tool unload

#remove sfc

modprobe –r sfc

#if found any sfc rpm, then remove them

rpm -qa | grep sfc

rpm -e *sfc*.rpm

#unintall onload

onload_uninstall

tuning测试低延迟有条件建议先host直连再选择交换机,简单的ping无法验证具体数据,可以采用sfnettest来评估

UDP - 1700ns

TCP - 1900ns

#collect sfreport

./sfreport.pl

#update firmware

sfupdate --write

dracut -f

#if reboot not work, you need cut power and startup after one minute

init 6

#tuned-adm

tuned-adm list

tuned-adm profile latency-performance

#sfnettest

onload -p latency ./sfnt-pingpong udp 10.0.21.10

onload -p latency ./sfnt-pingpong tcp 10.0.21.10

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐