mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: David Brownell <dbrownell@users.sourceforge.net>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-usb-devel@lists.sourceforge.net
Subject: usbnet ethernet duplex issue?
Date: Fri, 17 Jun 2005 12:27:15 -0700	[thread overview]
Message-ID: <20050617192715.GK27572@waste.org> (raw)

I'm experimenting with a Netgear FA-120 USB 2.0 to Ethernet device and
seeing some strange behavior.

If I run a 100MB transfer (TCP, via nc and dd) over out LAN, with the
Netgear on the sending end, I get about 10MB/s, as expected.
Receiving, I get ~5MB/s. If I do simultaneous send and receive, the
throughput is a few K per second at best.

If I do the same transfers between a pair of isolated laptops, with
the Netgear on one end and Intel e100 or e1000 on the other, I see about
500-900K per second in either direction.

There are no errors detected by the usbnet driver and ethtool reports
that the device is autonegotiating, full duplex. Setting autoneg off
and duplex to half lets the isolated transfers go at wirespeed.

So the question is, what's up with duplex? Everything I can find about
the hardware (including the ASIX datasheet) claims it's full-duplex
capable but aside from the error counters, it's really behaving like a
half-duplex device.

-- 
Mathematics is the supreme nostalgia of our time.

             reply	other threads:[~2005-06-17 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17 19:27 Matt Mackall [this message]
2005-06-17 19:39 ` David Brownell
2005-06-20 11:47 ` [linux-usb-devel] " David Hollis
2005-06-26 21:47   ` Matt Mackall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050617192715.GK27572@waste.org \
    --to=mpm@selenic.com \
    --cc=dbrownell@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®