Forum
Download/write speed very slow - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: Download/write speed very slow (/thread-132.html)

Pages: 1 2


RE: Download/write speed very slow - min - 12th Jan, 2013 07:12 AM

(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.


RE: Download/write speed very slow - kobazik - 14th Jan, 2013 10:03 PM

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.


Re: Download/write speed very slow - min - 15th Jan, 2013 09:18 AM

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.


RE: Download/write speed very slow - Koenkk - 25th Jan, 2013 01:59 AM

Try removing the sync flag from /etc/usbmount/usbmount.conf. Read this for more info: https://github.com/xbianonpi/xbian/blob/b13291dc6703ad9fce329a2c1e0462f230694a4f/etc/usbmount/usbmount.conf line #22.


RE: Download/write speed very slow - min - 25th Jan, 2013 03:07 AM

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.


RE: Download/write speed very slow - subbia - 4th Mar, 2013 09:06 PM

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


RE: Download/write speed very slow - kraleksandr - 5th Mar, 2013 11:57 PM

@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?


RE: Download/write speed very slow - kaladont - 5th Jun, 2013 12:00 AM

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


RE: Download/write speed very slow - mk01 - 5th Jun, 2013 10:09 AM

(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)


RE: Download/write speed very slow - robotuin - 19th Jul, 2013 10:25 AM

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 Smile

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!


RE: Download/write speed very slow - mk01 - 19th Jul, 2013 06:16 PM

(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.


RE: Download/write speed very slow - robotuin - 22nd Jul, 2013 03:11 AM

THX!
Now I can enjoy the speed boost permanently and without a bad feeling Smile

(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.



Re: Download/write speed very slow - f1vefour - 26th Jul, 2013 02:57 AM

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.


RE: Download/write speed very slow - robotuin - 31st Jul, 2013 10:47 AM

(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!