(30th Dec, 2012 05:02 AM)Wesso Wrote: [ -> ]Small update: I have installed RaspBMC on the same kind of SD card, put it in the same raspberry, compiled NZBGet 9.0... I can now download up to 4.5 MBytes/s, definitely a improvement. Not sure what the bottleneck in Xbian could be.
What setup have you got for a 4.5MB speed?
With xbmc stopped I can get 1.8 to my ext4 partition on a powered usb hdd. The test earlier in the thread gives me a 26 Mb/s write speed on the same partition.
I've having same slow performance on my usb 2.0 powered hdd. Actually it is even worse cause I'm getting 500KB/s over Samba (I know smb is not the best but I expect more)
I believe by default xbian's usbmount uses fuse ntfs drive. Have anyone tired ntfs-3g driver? I haven't tested it yet but it should be less CPU hungry and improve read/write speed. I'm considering using exfat but again it uses fuse so there will be some overhead.
I found that overclocking was the best fix!
Turbo-mode maxes out my connection @3.7mbs, "xbian" setting seems to max around 3.2.
This is writing to an ext4 powered external USB drive.
I've mounted my external ext4 partition via uuid in fstab, though there's a 10gb ntfs partition on the same HDD.
I'll disable the automount and see if there's any difference, though it seems to be a cpu issue in my case. Transmission in daemon mode maxes my connection without a problem, while there's still a cap on usenet speeds..the 3.2mb I mentioned.
I bought a 1TB 2.5" usb 3.0, its attached over an USB 2.0 hub, and I'm getting this:
Code:
~# hdparm -Tt /dev/sda1
/dev/sda1:
Timing cached reads: 2 MB in 30.72 seconds = 66.68 kB/sec
Timing buffered disk reads: 2 MB in 28.44 seconds = 72.00 kB/sec
~# mount
/dev/sda1 on /mnt/ext type ext4 (rw,relatime,sync,data=ordered)
What could I look at?
Thanks in advance!
Cheers,
Dario
@
subbia
Try use Y-cable for external poower
Try any partition app that can move partition start point to right sector
Does your USB hub use USB2.0 or USB1.1?
HDD1 hfs
21.2805 s, 24.6 MB/s -> xbmc on
20.0094 s, 26.2 MB/s -> xbmc off
HDD2 ntfs
40.6789 s, 12.9 MB/s -> xbmc on
21.6187 s, 24.3 MB/s -> xbmc off
cp 500MB - hfs -> ntfs = cca 40s
cp 500MB - ntfs -> hfs = cca 155s
rsync
ntfs -> hfs
sent 524352104 bytes received 35 bytes 6132773.56 bytes/sec -> 5.84MB/s
total size is 524288000 speedup is 1.00
hfs -> ntfs
sent 524352145 bytes received 39 bytes 2723907.45 bytes/sec -> 2.59MB/s
total size is 524288000 speedup is 1.00
(4th Mar, 2013 09:06 PM)subbia Wrote: [ -> ]~# mount
/dev/sda1 on /mnt/ext type ext4 (rw,relatime,sync,data=ordered)
[/code]
What could I look at?
Thanks in advance!
Cheers,
Dario
your usbmount.conf is set to mount usb hot pluggable devices with "sync" settings.
change it.
(/etc/usbmount/usbmount.conf)
just deleted "sync" in /etc/usbmount/usbmount.conf
on the line MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime,rw"
and I got a nice performance boost of roughly 2MB/s more on network transfers that way
no I was wondering:
somewhere else I read that I would have to manually sync the device before unplugging it,
but if it's constantly connected, wouldn't it automatically sync on shutdown?
thanks in advance!
(19th Jul, 2013 10:25 AM)robotuin Wrote: [ -> ]no I was wondering:
somewhere else I read that I would have to manually sync the device before unplugging it,
but if it's constantly connected, wouldn't it automatically sync on shutdown?
thanks in advance!
yes, the sync mount option is safety precaution for people used to "just unplug" the hdd during operations.
if you run ti like this, no worries. and if you want to unplug, just do "umount /mountpoint" before. umount / reboot / shutdown is of course doing sync automatically.
THX!
Now I can enjoy the speed boost permanently and without a bad feeling
(19th Jul, 2013 06:16 PM)mk01 Wrote: [ -> ] (19th Jul, 2013 10:25 AM)robotuin Wrote: [ -> ]no I was wondering:
somewhere else I read that I would have to manually sync the device before unplugging it,
but if it's constantly connected, wouldn't it automatically sync on shutdown?
thanks in advance!
yes, the sync mount option is safety precaution for people used to "just unplug" the hdd during operations.
if you run ti like this, no worries. and if you want to unplug, just do "umount /mountpoint" before. umount / reboot / shutdown is of course doing sync automatically.
For the record you can sync the drive manually by this key combination if you have a keyboard plugged in:
Hold the alt + print screen keys and press the s key.
This is handy if you need to disconnect a drive without powering down.
(26th Jul, 2013 02:57 AM)f1vefour Wrote: [ -> ]For the record you can sync the drive manually by this key combination if you have a keyboard plugged in:
Hold the alt + print screen keys and press the s key.
This is handy if you need to disconnect a drive without powering down.
Very handy! Thanks!