From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 29 Sep 2012 14:41:39 -0400 To: 9fans@hamnavoe.com, 9fans@9fans.net Message-ID: <9680a4c5cb0d2d5ae048e7338c49bb61@kw.quanstro.net> In-Reply-To: <896eab203042b2e267eb2b12d585a553@hamnavoe.com> References: <896eab203042b2e267eb2b12d585a553@hamnavoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] usbether Topicbox-Message-UUID: bc1175dc-ead7-11e9-9d60-3106f5b1d025 On Sat Sep 29 14:02:51 EDT 2012, 9fans@hamnavoe.com wrote: > > why doesn't the device do the buffering? > > By "device" do you mean the hardware usb/ether adapter? It does some i ment #u itself. sorry for being unclear. actually, echoing gorka, i think there's going to need to be enough threads/buffering to decouple the packet pipeline. it might be that the usb packet shuffler should be in the kernel, and usbd should poke it from user land. for a device without more processing power than a cray 2, this could make a big difference. i wrote a sd loopback device that turns a file into a sd device; perhaps the same model would work for ether? (sdloop is in 9atom.) - erik