Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network performance on UltraSPARC 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 965
Location: Lund, Sweden

PostPosted: Tue Apr 18, 2006 9:26 am    Post subject: Network performance on UltraSPARC 5 Reply with quote

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

_________________
#312470 @ http://counter.li.org/
Back to top
View user's profile Send private message
yogsothoth
n00b
n00b


Joined: 31 Dec 2004
Posts: 7

PostPosted: Fri Apr 21, 2006 12:44 am    Post subject: Reply with quote

That is strange you are having such poor performance from your Sun. I've always gotten great speeds from the happy meal ethernet in both OpenBSD and Linux. Is that a quad fast ethernet card you are using? Do you have any other nics laying around you can try? Doesn't the Ultra 5 have an onboard nic? I'm doubtful that switching to Gentoo will have much affect on the speeds but I guess it is worth a try. What happens when you turn off packet filtering all together? Do other hosts on your internal network get good speeds?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum