Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 20:20:52 +0100
From:      Raul <raul@turing.b2n.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: TCP Reassembly Issues
Message-ID:  <4ECE9914.6020502@turing.b2n.org>
In-Reply-To: <CABLqceRyohFFYtdnW%2Bt%2B63kwk00cbkJVz3oXWqrR=xijkg14CA@mail.gmail.com>
References:  <CAPNZ-Wq38=F3o2hYuYF_unBj3SZQ52XhVhdcwQ8PE_vU9xc2YA@mail.gmail.com> <CABLqceRyohFFYtdnW%2Bt%2B63kwk00cbkJVz3oXWqrR=xijkg14CA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El 24/11/2011 17:07, kerbzo escribió:

> I 'm experiencing a similar issue but I don't know if mine could be
> considered normal behaviour: even if net.inet.tcp.reass.curesegments
> is set to 1680 and does not icrease, the output of vmstat -z shows a
> high tcpreass fail value that I don't remember in previous (8-STABLE)
> builds:

I see both, 'net.inet.tcp.reass.cursegments' reaching default 
'net.inet.tcp.reass.maxsegments' after 38 minutes of uptime, apparently 
for never going down despite the amount of traffic and vmstat -z also 
show tcpreass failures.

I also see sudden packet 'bursts' discarded by memory problems maybe 
related:
[....]
%date && netstat -s -p tcp | grep mem
jueves, 24 de noviembre de 2011, 19:39:23 CET
                 5115 discarded due to memory problems
%date && netstat -s -p tcp | grep mem
jueves, 24 de noviembre de 2011, 19:39:30 CET
                 5268 discarded due to memory problems
[....]

My settings:
[....]
%cat /etc/sysctl.conf | grep -v ^\#
debug.cpufreq.lowest=1000

%cat /boot/loader.conf  | grep -v ^\#
vfs.zfs.prefetch_disable=0
aio_load="YES"
cc_cubic_load="YES"

%sysctl net.isr
net.isr.numthreads: 1
net.isr.maxprot: 16
net.isr.defaultqlimit: 256
net.isr.maxqlimit: 10240
net.isr.bindthreads: 0
net.isr.maxthreads: 1
net.isr.direct: 0
net.isr.direct_force: 0
net.isr.dispatch: direct
[....]

cc cubic although loaded, not used in this 'pristine' reboot.
About firewalling, pf using altq.

Pretty recent compile:
[....]
%sysctl -a | grep RC2
kern.osrelease: 9.0-RC2
kern.version: FreeBSD 9.0-RC2 #0: Thu Nov 24 00:39:07 CET 2011
[....]

Regards,
Raúl.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ECE9914.6020502>