Hi All,

I works with AM335x Starter Kit from TI, I modify the cpsw driver to works with 
2 ports (cpsw0 and cpsw1).

Before this modification I have tested the performance on native driver with 
this command.

on OBSD
nc -l 1234 > /dev/null


on host connected by switch 100Mbit/s full duplex (MAC OX 10.10)

nc  192.168.169.62 1234 < CentM

where CentM il file with 100MByte (created with makefile 100m CentM).

On BSD5.5 or 5.6 the time for this transfert is 93s = 8,6 Mbit/s

I have try the same transfert with Linux (on same board) the time is 9s = 
89Mbit/s

The performance of transfert on OBSD is poor why ?

Driver ?
Kernel ?
Or mistake on my configuration.

I need ARM card with 2 ethernets (giga) Port to configure in routing from port 
1 to port 2. I hope 200Mbit/s (linux performance) for this routing.

Thank for your help.
Bernard
_________________________________
result of ifconfig 
# ifconfig cpsw0
cpsw0: flags=28843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu 1500
        lladdr d4:94:a1:84:28:f2
        priority: 0
        groups: egress
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 192.168.169.62 netmask 0xffffff00 broadcast 192.168.169.255


__________________________________
result of dmessg
# dmesg
OpenBSD 5.6-current (GENERIC-OMAP) #0: Tue Oct 28 01:01:45 AEDT 2014
    j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/GENERIC-OMAP
real mem  = 268435456 (256MB)
avail mem = 255725568 (243MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
omap0 at mainbus0: BeagleBone
prcm0 at omap0 rev 0.2
sitaracm0 at omap0: control module, rev 1.0
intc0 at omap0 rev 5.0
edma0 at omap0 rev 0.0
dmtimer0 at omap0 rev 3.1
dmtimer1 at omap0 rev 3.1
omdog0 at omap0 rev 0.1
omgpio0 at omap0: rev 0.1
gpio0 at omgpio0: 32 pins
omgpio1 at omap0: rev 0.1
gpio1 at omgpio1: 32 pins
omgpio2 at omap0: rev 0.1
gpio2 at omgpio2: 32 pins
omgpio3 at omap0: rev 0.1
gpio3 at omgpio3: 32 pins
omap0: device tiiic unit 0 not configured
omap0: device tiiic unit 1 not configured
omap0: device tiiic unit 2 not configured
ommmc0 at omap0
sdmmc0 at ommmc0
ommmc1 at omap0
sdmmc1 at ommmc1
com0 at omap0: ti16750, 64 byte fifo
com0: console
cpsw0 at omap0: version 1.12 (0), address d4:94:a1:84:28:f2
ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 4: OUI 
0x001374, model 0x0007
ukphy1 at cpsw0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 
0x001374, model 0x0007
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd0: 3781MB, 512 bytes/sector, 7744512 sectors
sdmmc1: can't enable card
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (853680ee25c0e223.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!


__________________________________________
Bernard M. Merindol, Grenoble France
bern...@merindol.org GSM: +33-6-08-75-03-52


Reply via email to