topfs2 Wrote:No way to do it via config, and jaunty builds won't have async. only karmic and beyond.
Unfortunately, karmic also automount in synchronous mode.
Today I made a fresh install of karmic minimal and xbmc 9.11beta2. The 1st thing I've tested was the USB. Here is the result of /proc/mount to an USB device mounted by XBMC 9.11 beta2:
Code:
xbmc@MARK1:~$ cat /proc/mounts | grep JEJE
/dev/sde1 /media/JEJE-16GB vfat rw,sync,nosuid,nodev,relatime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0 0
As can see, the flag sync is there... It's really slow! Slower then with 9.04! While transferring a large file with same USB stick, in 9.04, XBMC show from 950kb/s to 1050kb/s. In karmic with 9.11beta2 the speed in sync mode downs to 800kb/s.
After this, I switch to async by 'sudo mount -o remount,async /media/JEJE-16GB'. The result of /proc/mount is quiet interesting:
Code:
xbmc@MARK1:~$ cat /proc/mounts | grep JEJE
/dev/sde1 /media/JEJE-16GB vfat rw,nosuid,nodev,relatime,uid=1000,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,errors=remount-ro 0 0
When mounted in asynchronous mode, there is no async or sync flag! So, I can only conclude one thing:
async should be the default mode for USB devices, but, for some reason, XBMC insist in automount it with sync flag.
Cheers,
FireMan.