Date: Mon, 05 May 2008 02:16:45 +0300 From: Oleksandr Samoylyk <oleksandr@samoylyk.sumy.ua> To: freebsd-net@freebsd.org Cc: Paul <paul@gtcomm.net> Subject: Re: Troubles with em on FreeBSD 7 Message-ID: <481E43DD.8080300@samoylyk.sumy.ua> In-Reply-To: <481E3C32.8000507@gtcomm.net> References: <481C84B7.6020205@samoylyk.sumy.ua> <bibs14perk47snkpg8fu691kjkc42gh6m2@4ax.com> <481E338D.6040706@samoylyk.sumy.ua> <481E3C32.8000507@gtcomm.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul wrote: > What is your kernel HZ setting? 1000 > in /boot/loader.conf try adding these two lines: > hw.em.rxd=1024 > hw.em.txd=1024 I've already had: # cat /boot/loader.conf loader_logo="beastie" autoboot_delay="3" hw.em.rxd="4096" hw.em.txd="4096" > and then do this in sysctl.conf: > net.inet.ip.intr_queue_maxlen=1024 - already > net.route.netisr_maxqlen=512 Ok. I just increased from default 256 up to 512 > kern.ipc.maxsockbuf=8388608 It was already higher > kern.ipc.nmbclusters=128000 Ok, I just increased nmbclusters. > > I think this should fix your packet loss problem. Are you doing ip > forwarding at all? If so use: > net.inet.ip.fastforwarding=1 It was already in my sysctl.conf -- Oleksandr Samoylyk OVS-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481E43DD.8080300>