From: Matthias Nimscholz <sierra666@gmx.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] langsames USB
Date: Thu, 21 Jul 2005 12:47:37 +0200 [thread overview]
Message-ID: <1121942857.12631.8.camel@desktux.sierra.lan> (raw)
In-Reply-To: <42DBACED.5030406@atomix.de>
[-- Attachment #1.1: Type: text/plain, Size: 3310 bytes --]
Am Montag, den 18.07.2005, 15:21 +0200 schrieb Jens Gassmann:
> Mit der Kernelversion 2.6.12-r4 habe ich das Problem auch, die -r5
> konnte ich nicht nicht testen,
Guten Tag zusammen,
vor kurzem bin ich mit meinem USB-Stick ebenfalls ausgebremst worden.
Im Gentoo-Forum beschuldigten einige aber nicht den Kernel, sondern HAL.
http://forums.gentoo.org/viewtopic-t-356789-highlight-slow+usb.html
Bei mir was das des Pudels Kern (statt 5h für 600MB nur noch wenige
Minuten)
Grüße
Matthias
Zitat:
USB 2.0 will slow down extremely when writing to an (USB) device with
vfat if you mount it with the "sync"-option. Unfortunately HAL exactly
did this if the device was smaller than 2 GB. So I had to edit the
file /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi and made this
changes:
<!-- Use noatime and sync options for all hotpluggable or removable
volumes smaller than 2GB -->
<match key="volume.size" compare_lt="2147483648">
<match key="@block.storage_device:storage.hotpluggable"
bool="true">
<!-- Was
true before -->
<merge key="volume.policy.mount_option.sync"
type="bool">false</merge>
<merge key="volume.policy.mount_option.noatime"
type="bool">true</merge>
</match>
<match key="@block.storage_device:storage.removable"
bool="true">
<!-- Was
true before -->
<merge key="volume.policy.mount_option.sync"
type="bool">false</merge>
<merge key="volume.policy.mount_option.noatime"
type="bool">true</merge>
</match>
</match>
Code:
<!-- Use noatime and sync options for all hotpluggable or
removable
volumes smaller than 2GB -->
<match key="volume.size" compare_lt="2147483648">
<match key="@block.storage_device:storage.hotpluggable"
bool="true">
<!-- Was
true before -->
<merge key="volume.policy.mount_option.sync"
type="bool">false</merge>
<merge key="volume.policy.mount_option.noatime"
type="bool">true</merge>
</match>
<match key="@block.storage_device:storage.removable"
bool="true">
<!-- Was
true before -->
<merge key="volume.policy.mount_option.sync"
type="bool">false</merge>
<merge key="volume.policy.mount_option.noatime"
type="bool">true</merge>
</match>
</match>
Now I can transfer with much higher speeds (~ 4 MB/s). The only thing is
that it takes a while to umount the device.
[-- Attachment #1.2: Type: text/html, Size: 5433 bytes --]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-07-21 10:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-17 12:12 [gentoo-user-de] langsames USB Daniel Rindt
2005-07-17 18:27 ` Daniel Rindt
2005-07-18 10:01 ` Hans-Werner Hilse
2005-07-18 10:54 ` Daniel Rindt
2005-07-18 9:57 ` Hans-Werner Hilse
2005-07-18 10:51 ` Daniel Rindt
2005-07-18 12:08 ` Hans-Werner Hilse
2005-07-18 13:18 ` Daniel Rindt
2005-07-18 13:21 ` Jens Gassmann
2005-07-18 17:11 ` Daniel Rindt
2005-07-19 10:05 ` Rafer
2005-07-19 12:18 ` Daniel Rindt
2005-07-19 12:41 ` Rafer
2005-07-19 12:45 ` Jens Gassmann
2005-07-19 16:24 ` Daniel Rindt
2005-07-21 10:47 ` Matthias Nimscholz [this message]
2005-07-21 19:55 ` Alexander Veit
2005-07-18 13:37 ` Christoph Rauch
2005-07-18 19:24 ` Alexander Veit
2005-07-21 23:56 ` Daniel Rindt
2005-07-22 8:37 ` Alexander Veit
2005-07-22 8:42 ` Daniel Frickemeier
2005-07-22 20:31 ` Daniel Rindt
2005-07-24 10:27 ` Daniel Frickemeier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1121942857.12631.8.camel@desktux.sierra.lan \
--to=sierra666@gmx.de \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox