From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Wed, 12 Oct 2016 10:48:53 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] What does your fileserver consist of? Topicbox-Message-UUID: a4cd8c1a-ead9-11e9-9d60-3106f5b1d025 > I was wondering whether or not it'd be feasible to hook up something > like http://tinyurl.com/jgov5gc (Amazon.com) to something small like a > Raspberry Pi 3, or if the I/O would be too much for that kind of > computer to handle. Probably feasible but it is likely to be slow, because Plan 9's usb implementation is not particularly efficient, and the pi's usb host adapter hardware is especially bad. Someone with a usb disk might be able to quote actual bandwidth numbers. I have a Seagate 1TB usb drive (SSD), which does not work at all with Plan 9. Haven't looked into it deeply, but it appears usb/disk isn't parsing the usb interface descriptors correctly. ep7.0 storage csp 0x500608 csp 0x620608 vid 0x0bc2 did 0x231a Seagate Expansion dwcotg There are two interfaces, and instead of selecting the correct one (0x500608) usb/disk seems to be mixing up the endpoints from both interfaces together: Seagate Expansion NA82688P conf: cval 1 attrib 80 500 mA iface csp storage.6.98 alt 0 attr 2 ival 0 alt 1 attr 2 ival 0 ep id 1 addr 1 dir inout type bulk itype 0 maxpkt 512 ntds 1 ep id 2 addr 130 dir inout type bulk itype 0 maxpkt 512 ntds 1 ep id 1 addr 1 dir inout type bulk itype 0 maxpkt 512 ntds 1 ep id 2 addr 130 dir inout type bulk itype 0 maxpkt 512 ntds 1 ep id 3 addr 131 dir in type bulk itype 0 maxpkt 512 ntds 1 ep id 4 addr 4 dir out type bulk itype 0 maxpkt 512 ntds 1 dev desc 24[4]: 04 24 01 00 dev desc 24[4]: 04 24 02 00 dev desc 24[4]: 04 24 03 00 dev desc 24[4]: 04 24 04 00 My file server is built from an intel atom mini-itx board with a SATA disk. Sequential read speed is over 100 MB/sec, more than enough to saturate my network. By comparison, I get less than 10 MB/sec reading from a usb flash drive on the same machine.