https://calomel.org/network_performance.htmlMany of today's desktop systems and servers come with on board gigabit network controllers. After some simple speeds tests you will soon find out that you are not be able to transfer data over the network much faster than you did with a 100MB link. There are many factors which affect network performance including hardware, operating systems and network stack options. The purpose of this page is to explain how you can achieve up to 930 megabits per second transfer rates over a gigabit link using OpenBSD as a firewall or transparent bridge.
It is important to remember that you can not expect to reach gigabit speeds using slow hardware or an unoptimized firewall rule set. Speed and efficiency are key to our goal. Lets start with the most important aspect of the equation, hardware.
Network Tuning and Performance Guide
Network Tuning and Performance Guide
很不错的网络性能方面的文章,出了OpenBSD外还涉及FreeBSD/Ubuntu等。值得一读。
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
回复: Network Tuning and Performance Guide
非常好呀,可惜是英文的。长见识了,大概看了一下,其中一条说,在PF中,openbsd 多核无用,(他只用一核,)还有到目前为止(5.0)不管是x86还是amd64大内存对openbsd无用,(至少是大部分应用),看来多核大内存的利用率有待提高呀。还有mtu按最小的走,大了没有,traceroute 来获取最小mtu,长见识而。如果有人翻译一下,又是一个经典技术贴呀!!!
回复: Network Tuning and Performance Guide
关于这条:
"you can not expect to reach gigabit speeds using slow hardware or an unoptimized firewall rule set. "
有一些不同的看法,在老机器上同样安装windows和OpenBSD的ftp服务器,千兆网卡的传输速度基本上一致(25MB/s左右),也可能是受总线速度的限制。
"you can not expect to reach gigabit speeds using slow hardware or an unoptimized firewall rule set. "
有一些不同的看法,在老机器上同样安装windows和OpenBSD的ftp服务器,千兆网卡的传输速度基本上一致(25MB/s左右),也可能是受总线速度的限制。
回复: Network Tuning and Performance Guide
这个应当跟总线无关,跟网络有关,千兆传输应该开启jumpbo 以获得较高的性能。中间有交换机的话,交换机也要支持才行。
回复: Network Tuning and Performance Guide
没有啊,上海ADSL,浏览没问题
回复: Network Tuning and Performance Guide
PF能不能用多核和大内存不清楚,实在没什么条件测试,我的PIII 550 CPU 256MB路由器带一百多用户都才用到30%资源,实在很难评估。但其他应用没问题呢,象数据库和中间件,我跑过16c 16GB的刀片,用得满满当当的啊,各个CPU都在动,目前还没有OB对SMP支持不好的忧虑。兄弟们有其他smp和大内存的经验么?
回复: Network Tuning and Performance Guide
独立的好网卡能降低CPU占用,这点是非常深有体会啊。特别是PCI-E网卡,几乎能跑满1000兆,只要硬盘读取速度跟得上。
回复: Network Tuning and Performance Guide
多核对PF没有什么帮助。大内存应该是有所帮助的,不过这一点不是完全肯定。
回复: Network Tuning and Performance Guide
能否通过加参数编译内核或小改一下PF来实现多核支持呢?
在线用户
正浏览此版面之用户: 没有注册用户 和 1 访客