免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: guotie

请问,千兆流量需要什么样的Linux配置。 [复制链接]

论坛徽章:
0
发表于 2005-08-28 13:21 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

如果真的要达到那么高的流量负载,还是用freebsd比较好,不能否认freebsd带负载能力比linux要强

论坛徽章:
0
发表于 2005-08-28 21:16 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

我现在用LINUX做路由,,,至强P4 2。8G
流量也去到300多M
左右CPU 40%

论坛徽章:
0
发表于 2005-08-29 09:30 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

谢谢大家给我的宝贵意见。
我只有一个千兆的网卡,没有其它相关的实验环境。
要想做认真严谨的测试,必须要有专业的测试工具才行呀。

上面有位兄弟说的64byte小包的测试,是肯定达不到千兆的,这点韩国已经有人做过测试,64byte小包在千兆上的通过率是10%。当然他的测试方法也是有些问题的。

论坛徽章:
0
发表于 2005-08-29 09:32 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

[quote]原帖由 "rickyfang"][/quote 发表:


谢谢。

论坛徽章:
0
发表于 2005-08-29 10:03 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

[quote]原帖由 "platinum"]X86 构架如果想达到 64 字节 NAT 时候的小包千兆线速,难![/quote 发表:


不是难,是目前不可能吧……呵呵,
试过四个至强,可以实现,另外,有人在吹IXP2400,不过偶买不起板子,没有办法证实

论坛徽章:
0
发表于 2005-08-29 10:17 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

NP处理器?板子多少钱呀

论坛徽章:
0
发表于 2005-08-29 10:40 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

原帖由 "独孤九贱" 发表:


试过四个至强,可以实现,另外,有人在吹IXP2400,不过偶买不起板子,没有办法证实


四个至强。。。。晕啊。。。。买不起。。。。

论坛徽章:
0
发表于 2005-08-29 11:17 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

转置netfilter的邮件:
On Fri, Aug 26, 2005 at 12:47:24PM +0900, ?? ? wrote:
>; I have tested the bridging performance of Linux.

please don't try to do performance tests (and be disappointed) without
first learning about all the important optimizations/toggles/switches,
bells and whistles that you can use to tune the performance in cases
like yours.

>; Linux machine;
>;
>; Xeon 3.06GHz * 2 CPU

dual cpu doesn't really help in most packet forwarding cases with only
two interfaces. try booting a UP kernel.

>; 1 G Memory

which memory (speed)?  which chipset?
>; intel e1000 NIC 2 port LC type * 1 driver version

which bus-width? which speed?  where are they in the bus hierarchy?

>; But when I enabled that option(I recompiled the
>; kernel), I got success rate 5%.
>; It was a half of prior result.
>; I did not add any filter rules. I just enabled that
>; option because I wanted to use bridge
>; firewalling.

some degradation is not really surprising since you will add a number of netfilter
hooks to the network stack, each of which will be consulted for every
packet.  Also, enabling bridging packet filter will enlarge "struct
sk_buff", which might cause it to grow another cacheline and thus
introduce more cache misses.

论坛徽章:
0
发表于 2005-08-30 14:59 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

DELL 2.4志强*2 512内存 板载双1000M (什么牌子时间太长我忘了)好像是BOARDCOM什么的
网络相关参数优化,自定优化内核,改HASHSIZE,用Q什么的 测试工具测
CLIENT 和另一端SERVER也是DELL 2.4志强*2 512内存 板载1000M
  CLIENT ------ NAT SERVER --------- SERVER
结果 吞吐量950-980Mb/s(大包,多大我忘了)CPU3-6%
可是pps (packets/s)我用ddos 在client 往server端发看到nat server 的ifconfig中实际转发的大概50000个每秒,top看cpu大概5-10%
一般网吧100台机器 正常应用时峰值大概4000pps 也就是平均 40pps/台
网吧这种应用内存大点带1000没有问题
再做个hashlimit 每客户不超过200pps  带个1500不成问题
学校这种小负载量应用的话 4000-5000 没有问题 大不了限制成 30pps/台

再大规模作noarp multicast NAT 负载均衡 也可以

论坛徽章:
0
发表于 2005-08-30 18:21 |显示全部楼层

请问,千兆流量需要什么样的Linux配置。

to sbyond,
    你的参数优化做了哪些内容?能说说吗?我现在用的NAT SERVER是p42g,512ram,双100m网卡,流量40m,cpu已经到了65%,所以很想了解如何提高网络流量
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP