From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 29 Sep 2012 18:39:03 +0200 Message-ID: From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] usbether Topicbox-Message-UUID: bbe5a484-ead7-11e9-9d60-3106f5b1d025 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.