Port-cobalt archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: adding NIC to Qube2- performance better?
acruhl%gmail.com@localhost wrote:
> Apparently there is a limitation on bandwidth the PCI bus can handle
> with NetBSD. Adding a card probably won't help.
BTW, is there any other OS which gets better result on cobalt?
Anyway, NICs which have hardware checksums support
(like 3c905B/C, or most gigabit card) might improve
performance a bit.
i82540 with wm(4) on Qube2700 shows:
---
# dmesg|grep wm0
wm0 at pci0 dev 10 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 9
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:07:f6:6a:5d:1c
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
---
Without ip4csum/tcp4csum:
---
# ifconfig wm0 -ip4csum -tcp4csum -udp4csum
# ttcp -ts 192.168.20.1
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 192.168.20.1
ttcp-t: socket
ttcp-t: connect
ttcp-t: 16777216 bytes in 6.80 real seconds = 2409.97 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 3.40, calls/sec = 301.25
ttcp-t: 0.0user 5.0sys 0:06real 74% 0i+0d 0maxrss 0+2pf -13+41csw
---
With ip4csum/tcp4csum:
---
# ifconfig wm0 ip4csum tcp4csum udp4csum
# ttcp -ts 192.168.20.1
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 192.168.20.1
ttcp-t: socket
ttcp-t: connect
ttcp-t: 16777216 bytes in 6.28 real seconds = 2610.96 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 3.14, calls/sec = 326.37
ttcp-t: 0.0user 4.6sys 0:06real 75% 0i+0d 0maxrss 0+2pf -12+43csw
#
---
Don't complain about ~25M speed on 1G card ;-p
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index