From: Gorka Guardiola <paurea@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usbether
Date: Sat, 29 Sep 2012 18:39:03 +0200 [thread overview]
Message-ID: <CACm3i_hY0ZMk6uVZwio8B_dkw9a_tjHjF-vV+J0LTt-x=nV2eg@mail.gmail.com> (raw)
In-Reply-To: <eb671f2f86aab845d96c2c02a3cd6e8e@hamnavoe.com>
On Sat, Sep 29, 2012 at 6:16 PM, Richard Miller <9fans@hamnavoe.com> wrote:
> So, has anyone had success using usbether to connect a plan 9 system
> to the outside world? I am hoping someone can give me an encouraging
> report. I'm a bit worried that it's a fundamental problem with the
> plan 9 usb architecture, which is basically synchronous - the host
> adapter driver in the kernel will poll a device for input only when
> the user-level driver process does a read. This is ok for things like
> usbdisk which have an rpc-like protocol, but seems less well suited to
> things like ethernet and serial interfaces, where the equivalent
> non-usb kernel drivers use qio to read ahead into a queue of buffers
> until the user-level consuming process gets around to reading them.
>
> Would anyone like to share experiences or comments?
>
>
I had a similar problem with serial a while ago. The problem was that
it was taking too long doing too many system calls, doing big reads
and buffering may help you?
G.
next prev parent reply other threads:[~2012-09-29 16:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-29 16:16 Richard Miller
2012-09-29 16:39 ` Gorka Guardiola [this message]
2012-09-29 17:03 ` erik quanstrom
2012-09-29 18:01 ` Richard Miller
2012-09-29 18:19 ` Gorka Guardiola
2012-09-29 18:24 ` Richard Miller
2012-09-29 21:38 ` Gorka Guardiola
2012-09-29 21:46 ` Richard Miller
2012-09-29 21:48 ` erik quanstrom
2012-10-01 19:20 ` Richard Miller
2012-09-30 9:20 ` Charles Forsyth
2012-09-30 10:24 ` Richard Miller
2012-09-30 13:54 ` Charles Forsyth
2012-09-29 18:41 ` erik quanstrom
2012-09-29 19:49 ` Charles Forsyth
2012-09-30 23:29 ` Tristan
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='CACm3i_hY0ZMk6uVZwio8B_dkw9a_tjHjF-vV+J0LTt-x=nV2eg@mail.gmail.com' \
--to=paurea@gmail.com \
--cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).