[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

tux3-2.6.8.1-A5 performance



Hi

Are there anybody who measured TUX performance of tux3-2.6.8.1-A5? The patch
works great but I don't understand why I couldn't get better performance than
a user space Web server (called Flash). Hard to believe, right? The workloads
are all static and 100% memory hit. Here's the workloads and bandwidth I got:

1K single file, none persistent connection: TUX - 221 Mb/s, Flash - 299 Mb/s
10K single file, none persistent connection: TUX - 1232 Mb/s, Flash - 1461
Mb/s
1K single file, persistent connection: TUX - 391 Mb/s, Flash - 892 Mb/s
10K single file, persistent connection: TUX - 1627 Mb/s, Flash - 2033 Mb/s

The parameters tuned on the server are:
sysctl -w net.core.optmem_max=10000000
sysctl -w net.core.rmem_default=10000000
sysctl -w net.core.rmem_max=10000000
sysctl -w net.core.wmem_default=10000000
sysctl -w net.core.wmem_max=10000000
sysctl -w net.core.netdev_max_backlog=300000
sysctl -w net.ipv4.tcp_max_tw_buckets=2000000
sysctl -w net.ipv4.tcp_rmem="30000000 30000000 30000000"
sysctl -w net.ipv4.tcp_wmem="30000000 30000000 30000000"
sysctl -w net.ipv4.tcp_mem="30000000 30000000 30000000"
sysctl -w net.ipv4.tcp_timestamps=0
sysctl -w net.ipv4.tcp_dsack=0
sysctl -w net.ipv4.tcp_sack=0
sysctl -w net.ipv4.tcp_window_scaling=0
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv4.tcp_max_syn_backlog=30000
sysctl -w kernel.rtsig-max=32768
sysctl -w vm.min_free_kbytes=10000

TUX configuration:
echo 0 > /proc/sys/net/tux/logging  (disable logging to save disk space)
echo 3000 > /proc/sys/net/tux/max_backlog
echo 0 > /proc/sys/net/tux/generate_etags
echo 0 > /proc/sys/net/tux/generate_last_mod
echo 1 > /proc/sys/net/tux/noid
echo 50000 > /proc/sys/net/tux/max_connect
echo 1 > /proc/sys/net/tux/cgi_inherit_cpu

So I am wondering:

1. are there any major change from 2.4 patch (TUX 2.x) to 2.6 (TUX 3.x)?
2. are there any significant performance difference between RH Enterprise
release and Fedora 2? And how's Red Hat Content Accelerator 3.2 and 2.6.x
patches?

Thanks in advance for any helpful answer

-Yaoping



[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net