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, 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=65536 kern.ipc.maxsockbuf=50000000 kern.ipc.nmbclusters=5000000 kern.ipc.somaxconn=4096 net.inet.tcp.inflight.enable=1 net.inet.tcp.inflight.max=10737254400 net.inet.tcp.recvspace=65536 kern.ipc.shmmax=409600000 net.inet.tcp.delayed_ack=0 kern.polling.burst_max=1000 kern.polling.each_burst=120 kern.polling.idle_poll=1 kern.polling.user_frac=5 kern.polling.reg_frac=50 kern.polling.enable=1 net.inet.udp.maxdgram=57344 i have three variables in load.conf: kern.ipc.maxsockets="81920" kern.maxusers="512" kern.ipc.nsfbufs="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>
