You are not logged in.
With HAL write speed to my USB stick is very slow - about 70 kB/s. Read speed is ok.
If I stop hal and manually mount than read/write speed is the usual usb2 high speed (significantly faster).
I noticed this on all my 3 computers running Archlinux.
Is this known to anyone else?
Offline
I haven't had this problem with others distros + usb harddrive using HAL. I can try with Arch+HAL when I get home though.
Offline
Run 'mount' and check if your usb devices are mounted with the 'sync' option.
Offline
Yes, it is with sync. Now how do I tell HAL which mount options to use? I just searched through hal documentation and edited my /etc/hal/fdi/policy/90-user-methods.fdi that I originaly took from http://wiki.archlinux.org/index.php/HAL
(I couldn't post the contents here because the forum deletes contents)
I added the highlited line and restarted hal but it still mounts with sync.
Offline
You should add the async options in your fstab file to mount it async instead of sync.
Offline
In fstab I'd need to add a line for each device (sda1, sda2, sdb1, sdb2) and specify a different mountpoint for each one. That's how I had it before I started using HAL, but it is inconvenient for usage.
I'd like to have fstab free of /dev/sdx entries and just tell HAL to mount without sync
Offline
If you want to disable sync, edit /etc/hal/policy/preferences.fdi and add something like:
<device>
<match key="block.is_volume" bool="true">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.policy.mount_option.sync" type="bool">false</merge>
</match>
<match key="@block.storage_device:storage.removable" bool="true">
<merge key="volume.policy.mount_option.sync" type="bool">false</merge>
</match>
</match>
</device>
(I couldn't post the contents here because the forum deletes contents)
If you want to write XML code on this forum select Disable HTML in this post on your post.
Offline
Thanks, but it still mounts with sync, Here's the whole /etc/hal/fdi/policy/preferences.fdi:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fsusage" string="filesystem">
<merge key="volume.ignore" type="bool">true</merge>
<match key="@block.storage_device:storage.removable" bool="true">
<merge key="volume.ignore" type="bool">false</merge>
<merge key="storage.policy.should_mount" type="bool">true</merge>
</match>
</match>
<match key="block.is_volume" bool="true">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.policy.mount_option.sync" type="bool">false</merge>
</match>
<match key="@block.storage_device:storage.removable" bool="true">
<merge key="volume.policy.mount_option.sync" type="bool">false</merge>
</match>
</match>
</device>
</deviceinfo>
Offline
I'm sorry, I can't help you, this is as far as I go. Try the HAL documentation and mailing lists/IRC.
Offline
It turned out this has nothing to do with hal, but with konqueror, which I use to mount usb stick. I suspected this after I noticed it works fine when I mount with pmount.
Solution: from a specific device properties, mounting tab, untick synchronous checkbox.
Offline