On Sat, Sep 29, 2012 at 6:16 PM, Richard Miller <[email protected]> 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.
