Page 2 of 3

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Mon Dec 03, 2012 9:51 pm
by powerlogy
i think i found some tricks. with these i have stable 11.5 MB/s download transfer speed with vsftpd and with samba 10MB/s on 1.5.8 while transmission-daemon not under load off course :D .

echo noop > /sys/block/sda/queue/scheduler
echo 1024 > /sys/block/sda/device/max_sectors
echo 1024 > /sys/block/sda/queue/nr_requests

or in sysctl.conf

/sys/block/sda/queue/scheduler=noop
/sys/block/sda/device/max_sectors=1024
/sys/block/sda/queue/nr_requests raises=1024

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Sun Dec 16, 2012 2:39 am
by robnitro
Not sure what is slowing you down. Maybe the newer stuff uses more cpu as you see 81% sys...

11 seems normal, I got that with openwrt. Never used usb on gargoyle... by then I made my own NAS/CableTV pc.

You might want to disable bwmon (bandwith monitor). It sucks up cpu, but doesn't show up as an application in top/htop (like it's part of the kernel?). Also try the settings in the post before you....

Code: Select all

cd /etc/init.d
./bwmon_gargoyle stop
./bwmon_gargoyle disable
chmod -x bwmon_gargoyle

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Sun Dec 16, 2012 5:36 am
by powerlogy
robnitro wrote:Not sure what is slowing you down. Maybe the newer stuff uses more cpu as you see 81% sys...

11 seems normal, I got that with openwrt. Never used usb on gargoyle... by then I made my own NAS/CableTV pc.

You might want to disable bwmon (bandwith monitor). It sucks up cpu, but doesn't show up as an application in top/htop (like it's part of the kernel?). Also try the settings in the post before you....

Code: Select all

cd /etc/init.d
./bwmon_gargoyle stop
./bwmon_gargoyle disable
chmod -x bwmon_gargoyle
Yeah like you said, i was already disabled bwmon and webmon services because i'm not using them.Thanks for tip anyway! :)

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Sun Dec 16, 2012 2:48 pm
by robnitro
Also what helped me was to use noatime to mount the drive. Not sure how the gargoyle openwrt does it. I had a mount script, so I put in -o noatime... fstab is similar but I couldn't get it to work then with the usb hotplug.

Noatime is much like the tweak people use for windows NTFS- disable last access stamp.

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Thu Jan 24, 2013 5:05 am
by lupus
NAS was significantly faster than ext3
The existing is difficult for me, Im noodle.

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Sat Feb 16, 2013 9:17 pm
by powerlogy
Another tweak for file reads :
in sysctl
/sys/block/sda/queue/read_ahead_kb=1536

or
echo 1536 > /sys/block/sda/queue/read_ahead_kb

Now with vsftpd got 12.20MB/s download file from usb hdd, 12.02MB/s upload file to usb hdd.

I think these are limits of 1043nd's cpu.

My last mount line :

Code: Select all

mount -t ext4 -o rw,noatime,nodiratime,data=writeback,barrier=0,nobh /dev/sda2 /mnt

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Thu Apr 04, 2013 11:00 am
by Slacker
In order to get mount options like noatime going on every mount, without breaking gargoyle's automount, I just edited the appropriate filesystem in /etc/init.d/usb_mount
In my case, NTFS, since I want the drive to work without fuss on windows boxes...

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Thu Sep 05, 2013 3:18 am
by omerjones
robnitro wrote:A tweak I posted on the openwrt forum helped a bit:

echo 1024 > /sys/block/sda/device/max_sectors
OR
add
/sys/block/sda/device/max_sectors=1024 to /etc/sysctl.conf file and then run sysctl -p or reboot.
Hi, I have a seagate HHD of 1TB while trasferring the data from HDD to my laptop it provide data transfer rate of 25 MB , but in vice-versa case it proveide only 15 MB data transfer rate , is this a problem of the my RAM or of my HDD.

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Mon Oct 14, 2013 3:18 am
by shayanjameel08
thanx ..I will test for ext3, ext4 and xfs using Transcend USB Flash drive in my computer.
xfs was fastest on reading, ext4 - best for writing

Re: USB Hard Drive Transfer Rate Testing! Come Get Some!

Posted: Fri Sep 19, 2014 3:28 am
by Imogen
Oh. Yes, I think so, let's make friends.

__________________________________________
fifa 15 coins ps