Re: em0 and tunnel performance problem
- From: "OxY" <oxy@xxxxxxxx>
- Date: Wed, 28 Dec 2005 13:38:37 +0100
after digging deeper it found out that the whole em0 driver worth nothing...
when i set the media to auto it's operating in half duplex (i found out after a couple of
benchmarks with iperf), when i set it to 100basetx and full duplex manually the result is
worse...
any idea?
----- Original Message ----- From: "OxY" <oxy@xxxxxxxx>
To: <freebsd-performance@xxxxxxxxxxx>
Sent: Wednesday, December 28, 2005 9:22 AM
Subject: em0 and tunnel performance problem
hi!
i have an intel etherexpress gigabit card on 100mbit port and fbsd 6.0-p1..
my box is a proxy, it's traffic is 100/100mbit constant..
unfortunately i have to use tunnel and that is the source of my problem.
when i enable the tunnel and the packages are going through it the performance is poor..
it seems that it's not full duplex, the speed is around 50/50mbit, and have 10-15% packet loss..
i tried to enable/disable polling, and used these sysctl vars:
kern.polling.enable=1 kern.ipc.somaxconn=2048 net.inet.tcp.inflight.enable=0 net.inet.ip.portrange.randomized=0 net.inet.tcp.sendspace=65536 kern.ipc.maxsockbuf=786432 net.inet.tcp.delayed_ack=0 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.ip.rtmaxcache=1024
without tunnel the speed is 100/100mbit, great.
ps: with linux its all OK, but i wanna use fbsd :)
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"
_______________________________________________ freebsd-performance@xxxxxxxxxxx mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: em0 and tunnel performance problem
- From: Sean Chittenden
- Re: em0 and tunnel performance problem
- References:
- em0 and tunnel performance problem
- From: OxY
- em0 and tunnel performance problem
- Prev by Date: em0 and tunnel performance problem
- Next by Date: Re: em0 and tunnel performance problem
- Previous by thread: em0 and tunnel performance problem
- Next by thread: Re: em0 and tunnel performance problem
- Index(es):