OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: low network throughput

From: Stephen Marley (stephen.marleycatwoman.cl-is.com)
Date: Mon Jan 03 2005 - 09:56:20 CST


On Mon, Jan 03, 2005 at 01:15:31PM +0100, Hugo de Paix de Coeur wrote:
>
> I did the same test with 'pfctl -d', it's better: 50 * 10^6bits/sec
>
> ifconfig sis0 says:
> sis0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> address: 00:40:f4:60:76:c5
> media: Ethernet 100baseTX full-duplex
> status: active
> inet6 fe80::240:f4ff:fe60:76c5%sis0 prefixlen 64 scopeid 0x1
> inet 192.168.24.2 netmask 0xffffff00 broadcast 192.168.24.255
>
> I manually specified mediaopt..
> And my switch led says the wire is in full-duplex too..
>
Change it to autoselect. You should always use autonegotiation unless
you have a good reason not to. The rule is hard-code both sides or
auto-neg both sides. Did you hard-code your switch too?

> You said you have 95Mb/s with a P500.. under OpenBSD or FreeBSD ? and
> with pf enabled ?

OpenBSD 3.6 with pf disabled was around 95, and with pf enabled it was
slightly slower, but only marginally so.

Kind Regards,
Stephen Marley

--
Network Systems Engineer, Datacentre Operations
Campbell Lee Internet Solutions <http://cl-is.com>