Author Topic: A Nice Surprise  (Read 4976 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
A Nice Surprise
« on: February 20, 2006, 02:19:43 pm »
I just bought a Sitecom LN-029 USB2 NIC having struck out on buying a CF based 10/100 NIC locally and deciding to spend the grand total of £24 at Maplins (uk electronic buff store) on a USB NIC. hehe.. even managed to persuate the guy at the store to open the box so I could see if OpenBSD recognised it as I had intended to get a CF NIC and didn't have the USB supported list with me.

Anyway, I though USB, it's got to be really slow and I certainly aren't going to get USB2 speeds out of it, however, here's the results of 2 transfers.

andrews@aslinhome ~ $ time scp pak1.pak mungo:quake/id1
pak1.pak                                      100%   33MB 423.5KB/s   01:19

real    1m21.767s
user    0m1.024s
sys     0m0.200s
andrews@aslinhome ~ $ time scp pak1.pak mungo:quake/id1
pak1.pak                                      100%   33MB 548.4KB/s   01:01

real    1m4.063s
user    0m1.064s
sys     0m0.180s
andrews@aslinhome ~ $

The first transfer was over my NL2511-CF WLAN CF card and the second one was over the USB NIC, it's actually pretty reasonable... certainly just cutting the overhead of the WLAN stuff from the transmission increases throughput quite a bit.

it's got me wondering what a CF based 10/100 card would be like though now

anyway I think I will be using this a lot for those long compiles now, certainly if nothing else my Zaurus should stay a little cooler than it was with the Wifi card in all that time.

- Andy
« Last Edit: February 20, 2006, 02:22:14 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
A Nice Surprise
« Reply #1 on: February 21, 2006, 10:23:17 am »
*sigh*

Ah well the NIC wasn't quite as good as I thought it was.

As soon as I started using NFS over it I started to get unresponsive server messages.

Suspecting that I was getting packet drop because it was full duplex I configured it to 10BaseT without the mediaopts to set it to full-duplex.

And I still got unresponsive messages

Then I noticed that the LEDs on the thing were still saying 100Mbs so checking with ifconfig I got...

media : 10BaseT (100BaseTX full-duplex)

damn, ah well it's getting retired until I see some driver updates.

(and no my crummy Wifi Access Point which doubles as a switch doesn't have an option to fix the port rate either )

- Andy
« Last Edit: February 21, 2006, 10:24:11 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
A Nice Surprise
« Reply #2 on: February 21, 2006, 10:52:45 am »
I know that you're using obsd, but under Linux 2.4 I had to tweak the driver for realtek8150-based usb nic to work reasonably well on my Z.
-albertr

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
A Nice Surprise
« Reply #3 on: February 21, 2006, 12:15:28 pm »
Quote
I know that you're using obsd, but under Linux 2.4 I had to tweak the driver for realtek8150-based usb nic to work reasonably well on my Z.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115587\"][{POST_SNAPBACK}][/a][/div]

This isn't a realtek device it's a ASIX Electronics AX88172 controller and it's supposed to be well supported in OpenBSD... apparently

Actually I just managed to get this 'heap' of a WLAN router to switch to 10Mbit Half Duplex so I will see if this works better. The strange thing is that it goes to 100Mbit if I set 10BaseT immediately but if I switch to 100BaseTX it switches to 10BaseT (very strange), I can then switch the port to 10BaseT and both the router and the NIC agree 10BaseT.... (methinks time to scrap this router at some point).

- Andy
« Last Edit: February 21, 2006, 12:23:35 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Sequethin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
A Nice Surprise
« Reply #4 on: February 26, 2006, 03:22:33 pm »
Im using a linksys card, seen as axe0. Works fine through usb, never had a problem with nfs or otherwise.