Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 12:44:10 +0100
From:      "OxY" <oxy@field.hu>
To:        <freebsd-net@freebsd.org>
Cc:        freebsd-performance@freebsd.org
Subject:   packet drop with intel gigabit / marwell gigabit
Message-ID:  <000a01c64a81$45eb6850$0201a8c0@oxy>

next in thread | raw e-mail | index | archive | help
hi!

i had the packet drop problem with the marwell yukon gigabitcard:
(system is an amd 2000+xp, 512mb ram, fbsd 6.0-p5)

when the apache ran, with no http, just used to share files and the =
traffic was
2-2,5MB/S i had 14-17% packet drop on the gigabit interface..
with the sysctl i succesfully pulled it down to 12-14%, but it was =
terrible,=20
so i bought an intel pro/1000 gt.
with this i have 3-6% drop with same traffic load on the other =
interface..
when i stop the apache packet drop falls down to 0-0.1%, which is great.
but with apache it's terrible..

first i changed some sysctl settings, benchmarked all change with
iperf (udp test).i changed these:

kern.maxfiles=3D65536
kern.ipc.maxsockbuf=3D50000000
kern.ipc.nmbclusters=3D5000000
kern.ipc.somaxconn=3D4096
net.inet.tcp.inflight.enable=3D1
net.inet.tcp.inflight.max=3D10737254400
net.inet.tcp.recvspace=3D65536
kern.ipc.shmmax=3D409600000
net.inet.tcp.delayed_ack=3D0
kern.polling.burst_max=3D1000
kern.polling.each_burst=3D120
kern.polling.idle_poll=3D1
kern.polling.user_frac=3D5
kern.polling.reg_frac=3D50
kern.polling.enable=3D1
net.inet.udp.maxdgram=3D57344

i have three variables in load.conf:

kern.ipc.maxsockets=3D"81920"
kern.maxusers=3D"512"
kern.ipc.nsfbufs=3D"65536"

then i tried 4BSD and ULE scheduler, ULE was better, but i accept any =
suggestion and tip :)

and after all i realized that it's not a bit better, than before...
please give me some hints, advices, tips, sysctl settings, kernel config =
parameters, anything to get rid of the packet loss..
here's my kernel config: http://field.hu/kernconf.txt
thanks!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c64a81$45eb6850$0201a8c0>