Subject: Re: individual hme sbus cards vs quad hme sbus cards
To: None <port-sparc@NetBSD.org>
From: Sean Davis <dive-nb@endersgame.net>
List: port-sparc
Date: 08/10/2006 18:20:44
On Thu, Aug 10, 2006 at 08:00:53PM +0200, doomwarrior wrote:
>
> >then transferring 100MB of /dev/zero takes 114 seconds sparc->i386 and
> >112 i386->sparc, according to similar crude timing methods. I've
> >played with what is in use on the various ends but have been unable to
> >push the time to transfer 100MB of /dev/zero below about 100 seconds,
> >and that good a result was with only one process on the SPARC, reading
> >from /dev/zero and writing to the network. (The 114-second run had two
> >processes on the SPARC; the 112 had only one, reading from the net and
> >writing to /dev/null. I don't know why writing was faster than
> >reading.)
> >
>
> huh i got a hme today and put it into my SS20 router. But I'm not really
> happy with the result.
> my SS20 config:
<snip>
> my switch:
> Dlink DGS-1008D (Gigabit Ethernet)
>
> so i start my apache on the 'sparky' and wget from my pc, first with
> le0, second with the hme0
>
> 96.419.840 876.52K/s ETA 00:00
> 96.419.840 2.13M/s ETA 00:00
>
> only 2Megs per seconds. I thourghed I would get at least a boost to
> 5Megs or so. What can I do to speed up the system to (at least)
> 3Megs, because I want to upgrade to a faster internet connection,
> without changing my lovely 'sparky'.
I'm not sure what specifically is going on with your setup, but I've got an
Ultra 1 here with both an onboard and an sbus HME, fast/wide SCSI, and I can
toss 400MB across the network at 5.77MB/s average. It'll burst at around
9MB/s with things such as ttcp.
Your sparc is both faster mhz-wise, and a dual-cpu machine, so I'd think it
would outperform a 167mhz Ultra 1.
Ultra 1:
NetBSD 2.99.16 (ANSIBLE) #2: Tue Mar 8 12:35:40 EST 2005
dive@jane.endersgame.net:/disks/wd1a/nb/sparc64/current/obj/sys/arch/sparc64/compi
le/ANSIBLE
total memory = 160 MB
avail memory = 149 MB
bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
mainbus0 (root): SUNW,Ultra-1: hostid 808cb9bb
cpu0 at mainbus0: SUNW,UltraSPARC @ 166.999 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: Sun Happy Meal
Ethernet (SUNW,hme)
hme0: Ethernet address 08:00:20:8c:b9:bb
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1 at sbus0 slot 1 offset 0x8c00000 vector 4 ipl 6: Sun Happy Meal
Ethernet (SUNW,hme)
hme1: Ethernet address 08:00:20:8c:b9:bb
nsphy1 at hme1 phy 1: DP83840 10/100 media interface, rev. 0
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcons at mainbus0 not configured
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST34501WCSUN4.2G, 0558> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.00ns offset 15), 16-bit (20.000MB/s) transfers
PC:
NetBSD 3.99.23 (JANE) #0: Sat Jul 22 03:09:58 EDT 2006
dive@jane.endersgame.net:/sys/arch/i386/compile/JANE
total memory = 2046 MB
avail memory = 2008 MB
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon (686-class), 2166.58 MHz, id 0x681
skc0 at pci0 dev 9 function 0: irq 11
skc0: interrupt moderation is 0 us
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0 at skc0 port A: Ethernet address 00:11:d8:3a:76:87
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
satalink0 at pci0 dev 13 function 0
satalink0: Silicon Image SATALink 3112 (rev. 0x02)
satalink0: SATALink BA5 register space disabled
satalink0: bus-master DMA support present
satalink0: primary channel wired to native-PCI mode
satalink0: using irq 3 for native-PCI interrupt
atabus0 at satalink0 channel 0
satalink0: secondary channel wired to native-PCI mode
atabus1 at satalink0 channel 1
satalink0: port 0: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <ST3250823AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA)
satalink0: port 1: device present, speed: 1.5Gb/s
wd1 at atabus1 drive 0: <ST3250823AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA)
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 480003200 (234376 MB)
boot device: raid0
root on raid0a dumps on wd0b
My switch is a Netgear GS108, nothing special.
kernel configs can be provided on request, though aside from cleaning out
all the stuff that's in GENERIC and I don't want, I haven't really done
much.