Troubles with em on FreeBSD 7
Oleksandr Samoylyk
oleksandr at samoylyk.sumy.ua
Sun May 4 23:16:47 UTC 2008
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
More information about the freebsd-net
mailing list