Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 14:30:46 -0600
From:      Kris Bauer <kristoph.bauer@gmail.com>
To:        Raul <raul@turing.b2n.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: TCP Reassembly Issues
Message-ID:  <CAPNZ-WrQdjFEErt6K1uEndSc082q8Q48VHvtbP=5cNXFw7H7Rg@mail.gmail.com>
In-Reply-To: <4ECE9914.6020502@turing.b2n.org>
References:  <CAPNZ-Wq38=F3o2hYuYF_unBj3SZQ52XhVhdcwQ8PE_vU9xc2YA@mail.gmail.com> <CABLqceRyohFFYtdnW%2Bt%2B63kwk00cbkJVz3oXWqrR=xijkg14CA@mail.gmail.com> <4ECE9914.6020502@turing.b2n.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 24, 2011 at 1:20 PM, Raul <raul@turing.b2n.org> wrote:

> El 24/11/2011 17:07, kerbzo escribi=F3:
>
>
>  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 f=
or
> 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=3D1000
>
> %cat /boot/loader.conf  | grep -v ^\#
> vfs.zfs.prefetch_disable=3D0
> aio_load=3D"YES"
> cc_cubic_load=3D"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=FAl.
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

I am seeing the same sorts of things in netstat & vmstat:

# netstat -s -p tcp |grep mem
742935 discarded due to memory problems

# vmstat -z |grep tcpreass
tcpreass: 40, 16464, 16340, 124, 131485,955443, 0

I also this filling up of reass.cursegments occur within an hour of reboot.

Thanks,
Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPNZ-WrQdjFEErt6K1uEndSc082q8Q48VHvtbP=5cNXFw7H7Rg>