Subject: Re: Poor network performance with Sun Ultra-5
To: None <port-sparc64@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc64
Date: 04/10/2006 16:51:50
> I've borrowed an Ultra-5 from a friend and set it up as a
> router/firewall. As such it works great. The only problem is the
> network performance.
> I'm on a 100mbit (up/down full duplex) connection but downloading
> from my friends webserver (he lives in the neighbourhood with the
> same connection/subnet as me) directly to the router peaks at
> ~4.4MB/s. Downloading from the university here in Lund peaks at the
> same rate. If I download to any of the machines behind the router
> the peaks are a bit lower.
> My friend peaks at ~9.5MB/s when downloading from the university with
> an Ultra-10 as router.
It's a bit of a wild guess, but are you sure you're actually getting
full duplex? I have a switch that's supposed to be full-duplex-capable
and with certain interfaces, when I let it autonegotiate, or
hand-configure full-duplex on both ends, I get bad performance; letting
the switch autosense and forcing the machine to half-duplex improves
matters greatly. You might give that a try and see if it helps.
I also notice your dmesg shows a ukphy under hme1-hme3. My hme uses
nsphy, like your hme0, which leads me to suspect that you may be using
a suboptimal phy driver. If they're not already there, you might try a
kernel with all the *phy drivers to see which one likes your hmes.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B