Hi all,
I've got my pi2 recently to make a seedbox/streambox/whatever out of it. So I hooked up my HDD (Transcend StoreJet 25H3, USB 3.0) to use it as a NAS using samba.
Setup is: HDD is connected to pi2 by usb, pi is connected to router (pretty old ASUS WL-500gP V2) by ethernet, and data is accessed from win7 (on ASUS Zenbook UX32VD) using SMB. Commands on pi are executed via putty and Im using raspbian os installed on class 10 16gb sd card.
I have no problem with detecting data on win, however, the speed is ridiculously low. When I try to transfer a file it does that at around 40KB/s. It is getting so absurd that I have to stop rtorrent to listen to music otherwise it just cant play mp3 properly.
So naturally I was thinking its my old router's fault. But before changing it I decided to run a series of tests to find out the actual speed between pi and hdd (maybe it was pi's lack of ram or whatever?). But both hdparm and dd showed decent results: around 8MB/s writing speed and about 14MB/s reading speed.
So to try it out i decided to make a backup of raspbian on the above-mentioned hdd and... it was slow as hell. I left it for more than 24 hours and it backed up only about 2gb, at that point I've aborted the process. If the writing speed was really 8mb/s backing up 16gb system would have taken around half an hour.
So my question is: if there's no wireless mediator between hdd and pi (its connected directly to pi's usb port) but the writing process is still extremely slow, then where is the bottleneck?
P.S. I have read a number of discussions here and elsewhere, but the main explanation is poor speed due to wireless connection, but I dont see a wireless problem here.
P.P.S. Im really new to linux and raspbian, so I might be missing smth obvious. Any help would be appreciated.