I have recently upgraded from 9.1 to 10.0 OSS, and am enjoying the new version. However, there's one oddity. I have two USB mass-storage
devices (one
flash-card reader and one MP3 player) and both are now running very much more slowly when transferring files than they used to under 9.1.
Is it likely that my system is now running only at USB1 speeds rather than USB2? What's the best tool for checking this with? Any other ideas? It's currently taking an hour or more to fill a 64MB flash card so you can imagine what's happening with the 512MB mp3 player!
I'd say sunspots... ...or the one billion tonne asteroid heading our way.... ...but I'd be wrong. I reality it is a bug in 10.x Here's what you do... https://bugzilla.novell.com/show_bug.cgi?id=105871 If writing to USB storage devices like USB sticks or USB hard drive is rather slow or if you do not want synchronized writing to these devices, disable the sync mount option. 1. Create the directory /usr/share/hal/fdi/policy/95userpolicy: mkdir -p /usr/share/hal/fdi/policy/95userpolicy/ 2. Create a file with the name nosync.fdi and the following contents: vi /usr/share/hal/fdi/policy/95userpolicy/nosync.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <!-- disable sync for mount --> <match key="block.is_volume" bool="true"> <match key="volume.fsusage" string="filesystem"> <match key="volume.uuid" string="==UUID=="> <merge key="volume.policy.mount_option.sync" type="bool">false</merge> </match> </match> </match> </device> </deviceinfo> 3. Adjust the line <match key="volume.uuid" string="==UUID=="> according to your hardware. Run 'lshal' to retrieve the "volume.uuid" and enter this id instead of ==UUID== 4. Finally restart the HAL service with rchal restart
Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
Hey, i play this all the time. I'm on 11 right now. http://www.logicmazes.com/theseus.html#big -- kai ponte www.perfectreign.com || www.livebeans.com linux - genuine windows replacement part
In a previous message, "Kai Ponte"
I reality it is a bug in 10.x
Here's what you do...
Many thanks for the pointer. John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
Kai Ponte wrote:
I reality it is a bug in 10.x
Here's what you do...
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
On Thursday 02 March 2006 05:52 pm, James Knott wrote:
Kai Ponte wrote:
I reality it is a bug in 10.x
Here's what you do...
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
Huh? I haven't noticed. I have two USB memory cards (SD 512MB and an El-Cheapo USB Key) and a 200GB hard drive in a USB Enclosure. The fix seemed to work for all. My transfer rates went from fscking slow to acceptable on all three devices. -- kai - www.perfectreign.com www.livebeans.com - the new NetBeans community
kai wrote:
On Thursday 02 March 2006 05:52 pm, James Knott wrote:
I reality it is a bug in 10.x
Here's what you do...
https://bugzilla.novell.com/show_bug.cgi?id=105871 Unless I'm mistaken, that fix applies to only one device. I have two
Kai Ponte wrote: pen drives. I did that fix for one and it's fine. The other is still slow.
Huh? I haven't noticed. I have two USB memory cards (SD 512MB and an El-Cheapo USB Key) and a 200GB hard drive in a USB Enclosure.
The fix seemed to work for all. My transfer rates went from fscking slow to acceptable on all three devices.
Well, as I mentioned, I have 2 pen drives. One is 128 MB and the other 1 GB. When I copied about 300 MB to the 1 GB last week, it took such a long time that I went and did something else, while waiting for it. The 128 MB functions well, after I applied that patch for it. Prior to that, it was also slow. Some time, I'll have to do some time comparisons.
On Friday 03 March 2006 04:27 am, James Knott wrote:
kai wrote:
On Thursday 02 March 2006 05:52 pm, James Knott wrote:
Kai Ponte wrote:
I reality it is a bug in 10.x
Here's what you do...
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
Huh? I haven't noticed. I have two USB memory cards (SD 512MB and an El-Cheapo USB Key) and a 200GB hard drive in a USB Enclosure.
The fix seemed to work for all. My transfer rates went from fscking slow to acceptable on all three devices.
Well, as I mentioned, I have 2 pen drives. One is 128 MB and the other 1 GB. When I copied about 300 MB to the 1 GB last week, it took such a long time that I went and did something else, while waiting for it. The 128 MB functions well, after I applied that patch for it. Prior to that, it was also slow. Some time, I'll have to do some time comparisons
Well, as you see on the list the actual line should work for all devices. Now, I'd like to see what happens when you xfer the 300MB to the 128MB drive. :) -- kai - www.perfectreign.com www.livebeans.com - the new NetBeans community
On 02/03/06 19:52, James Knott wrote:
Kai Ponte wrote:
I reality it is a bug in 10.x
Here's what you do...
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
Could you not put multiple <device></device> blocks into the file? That still does not address the fact that this solution refers to specific devices. What happens when your boss brings over his pair of 500GB USB drives full of summer vacation mpegs for you to watch? Every hardware change requires hal be restarted with a newly modified file. Is there a way to specify one or more specific device types, instead of individual devices?
In a previous message, Darryl Gregorash
That still does not address the fact that this solution refers to specific devices.
If you read through the comments, someone has made an improvement that applies to all USB devices: <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <!-- disable sync for mount --> <match key="block.is_volume" bool="true"> <match key="volume.fsusage" string="filesystem"> <match key="@info.parent:storage.bus" string="usb"> <merge key="volume.policy.mount_option.sync" type="bool">falsehttp://www.headstrong-games.co.uk/ Board games that won't break the bank Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
On 03/03/06 01:43, John Pettigrew wrote:
In a previous message, Darryl Gregorash
wrote: That still does not address the fact that this solution refers to specific devices.
If you read through the comments, someone has made an improvement that applies to all USB devices:
<snip>
(The changed line is <match key="@info.parent:storage.bus" string="usb">, the last 'match key' line.)
John
AHA, there it is, about 2 or 3 screenfuls below where I got bored scrolling through it all. Many thanks.
John Pettigrew wrote:
(The changed line is <match key="@info.parent:storage.bus" string="usb">, the last 'match key' line.)
Well, that works on my desktop system, but not my ThinkPad. Then again, the old version didn't work there either. I wonder what the difference is?
Darryl Gregorash wrote:
On 02/03/06 19:52, James Knott wrote:
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
Could you not put multiple <device></device> blocks into the file?
That still does not address the fact that this solution refers to specific devices. What happens when your boss brings over his pair of 500GB USB drives full of summer vacation mpegs for you to watch? Every hardware change requires hal be restarted with a newly modified file.
Is there a way to specify one or more specific device types, instead of individual devices?
I haven't tried multiple blocks. Also, the problem is with writing, not reading. So, if all you're doing is looking at the pictures, no problem. Now if the boss insists you give him pictures of your vacation...
On 03/03/06 06:35, James Knott wrote:
Darryl Gregorash wrote:
On 02/03/06 19:52, James Knott wrote:
Unless I'm mistaken, that fix applies to only one device. I have two pen drives. I did that fix for one and it's fine. The other is still slow.
Could you not put multiple <device></device> blocks into the file?
That still does not address the fact that this solution refers to specific devices. What happens when your boss brings over his pair of 500GB USB drives full of summer vacation mpegs for you to watch? Every hardware change requires hal be restarted with a newly modified file.
Is there a way to specify one or more specific device types, instead of individual devices?
I haven't tried multiple blocks. Also, the problem is with writing, not reading. So, if all you're doing is looking at the pictures, no problem. Now if the boss insists you give him pictures of your vacation...
Well, he does want to make sure those ladies who went with you to Cancun were indeed your wife and daughters, so ... ;) John Pettigrew's reply to me does seem to contain the "big-picture" fix. Probably an even better fix would be not to have had the damn "sync" option as default in the first place.
participants (5)
-
Darryl Gregorash
-
James Knott
-
John Pettigrew
-
kai
-
Kai Ponte