Raniz l33t
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Tue Apr 18, 2006 9:26 am Post subject: Network performance on UltraSPARC 5 |
|
|
I've set up an UltraSPARC 5 with netBSD as my router, but I'm currently having some performance issues.
I'm on a 100MBit full-duplex connection.
My friend has a server located in our school and when I download from it I max out at ~4MB/s. But when he downloads from it (to his computer at home) he max out at ~9.5MB/s.
I've noticed that the computer spends most it's time waiting for something (top reported ~80% interrupt time when downloading), changing ipfilter's log policy from everything to blocks reduced that to ~70%, but I'm still capped at ~4MB/s.
This is when I download to the router, when downloading to a machine behind the router I'm capped at ~3.5MB/s.
The reason that I've described all this is that I'm hoping that someone will know what's wrong
But the real reson for this thread is that I wan't to know if installing Gentoo on that machine is likely to increase performance.
I've also heard some rumors about ipfilter/ipnat running on Linux, does anyone know of this? Two reasons to stay with *BSD (or switch to Solaris) are those, iptables is a pain in the *ss compared to ipfilter/ipnat.
I've tried both OpenBSD and netBSD - netBSD performing a tad better. I've been thinking about trying Solaris on it, but my friend discouraged me saying that it was hard making it secure enough when you haven't worked with Solaris before.
Here's the device info from netBSD's dmesg:
Code: | mainbus0 (root): SUNW,Ultra-5_10: hostid 80a22042
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 270 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
...
Sun Microsystems PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1: Sun Happy Meal Ethernet, rev. 1
hme1: interrupting at ivec 3019
hme1: Ethernet address 08:00:20:ea:ce:f0
ukphy0 at hme1 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0006b8, model 0x000c, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci3 dev 1 function 0 not configured
hme2 at pci3 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme2: interrupting at ivec 301a
hme2: Ethernet address 08:00:20:ea:ce:f1
ukphy1 at hme2 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0006b8, model 0x000c, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci3 dev 2 function 0 not configured
hme3 at pci3 dev 2 function 1: Sun Happy Meal Ethernet, rev. 1
hme3: interrupting at ivec 301b
hme3: Ethernet address 08:00:20:ea:ce:f2
ukphy2 at hme3 phy 1: Generic IEEE 802.3u media interface
ukphy2: OUI 0x0006b8, model 0x000c, rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci3 dev 3 function 0 not configured
hme4 at pci3 dev 3 function 1: Sun Happy Meal Ethernet, rev. 1
hme4: interrupting at ivec 3018
hme4: Ethernet address 08:00:20:ea:ce:f3
ukphy3 at hme4 phy 1: Generic IEEE 802.3u media interface
ukphy3: OUI 0x0006b8, model 0x000c, rev. 1
ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto |
|
|