- 论坛徽章:
- 0
|
请问,千兆流量需要什么样的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. |
|