Re: limited network bandwidth with 3.2.x kernels

Bill Fink
2012-02-15T08:18:21Z

On Wed, 15 Feb 2012, Eric Dumazet wrote:

> Le mercredi 15 février 2012 à 02:52 -0500, Bill Fink a écrit :
>
> > Would it be useful to check if there was any difference in
> > TCP parameters between the 3.1 and 3.2 kernels by performing
> > the following on each:
> >
> > grep . /sys/module/tcp_*/parameters/*
> >
> > -Bill
>
> I did yesterday and found nothing interesting.

Do your SYSCTL1 and SYSCTL2 files include /sys/module/tcp_*
as well as /proc/sys? Not that I know of anything that might
have changed in /sys/module/tcp_* between 3.1 and 3.2, but
you never know what a particular distro might have tweaked.

-Bill

> # diff SYSCTL1 SYSCTL2
> 13a14
> > kernel.sched_cfs_bandwidth_slice_us = 5000
> 18c19
> < kernel.tainted = 513
> ---
> > kernel.tainted = 4609
> 33c34
> < kernel.threads-max = 48402
> ---
> > kernel.threads-max = 48398
> 35c36
> < kernel.random.entropy_avail = 2200
> ---
> > kernel.random.entropy_avail = 1715
> 38,39c39,40
> < kernel.random.boot_id = da6427fc-eb8e-40a8-8809-8cae94a65fb5
> < kernel.random.uuid = 118c4362-a2a2-4973-ab3e-a09a0ed306ff
> ---
> > kernel.random.boot_id = 2f77031a-9e65-4358-9c02-09058831507a
> > kernel.random.uuid = 44cdd730-9c00-4a85-87c3-0a5b1c7c1278
> 52a54
> > kernel.cap_last_cap = 35
> 102,103c104,105
> < kernel.osrelease = 2.6.41.10-3.fc15.i686
> < kernel.version = #1 SMP Mon Jan 23 15:44:18 UTC 2012
> ---
> > kernel.osrelease = 2.6.42.3-2.fc15.i686
> > kernel.version = #1 SMP Thu Feb 9 01:39:19 UTC 2012
> 111c113
> < kernel.msgmni = 1675
> ---
> > kernel.msgmni = 1674
> 116c118
> < kernel.pty.nr = 2
> ---
> > kernel.pty.nr = 3
> 152,155c154,157
> < fs.inode-nr = 9875 61
> < fs.inode-state = 9875 61 0 0 0 0 0
> < fs.file-nr = 7328 0 309733
> < fs.file-max = 309733
> ---
> > fs.inode-nr = 23853 1607
> > fs.inode-state = 23853 1607 0 0 0 0 0
> > fs.file-nr = 6112 0 309720
> > fs.file-max = 309720
> 157c159
> < fs.dentry-state = 9913 1327 45 0 0 0
> ---
> > fs.dentry-state = 27730 17922 45 0 0 0
> 168c170
> < fs.epoll.max_user_watches = 337762
> ---
> > fs.epoll.max_user_watches = 337644
> 272c274
> < net.netfilter.nf_conntrack_count = 62
> ---
> > net.netfilter.nf_conntrack_count = 26
> 284,285c286,287
> < net.core.wmem_default = 114688
> < net.core.rmem_default = 114688
> ---
> > net.core.wmem_default = 163840
> > net.core.rmem_default = 163840
> 301d302
> < net.ipv4.route.gc_interval = 60
> 601c602
> < net.ipv6.conf.all.regen_max_retry = 5
> ---
> > net.ipv6.conf.all.regen_max_retry = 3
> 630c631
> < net.ipv6.conf.default.regen_max_retry = 5
> ---
> > net.ipv6.conf.default.regen_max_retry = 3
> 659c660
> < net.ipv6.conf.lo.regen_max_retry = 5
> ---
> > net.ipv6.conf.lo.regen_max_retry = 3
> 688c689
> < net.ipv6.conf.eth0.regen_max_retry = 5
> ---
> > net.ipv6.conf.eth0.regen_max_retry = 3