cabriofahrer
Well-Known Member
ntfs-3g ist ein Muss für alle, die externe Festplatten mit NTFS benutzen. Die Lese- und Schreibgeschwindigkeit ist jedoch sehr spärlich. Normalerweise hatte ich da (mit USB 2.0) allenfalls 5 bis 7 MB/s erreicht, in der letzten Zeit, wo das 1 TB-Laufwerk fast voll ist, erziele ich beim Kopieren von Virtual-Box-Images nur noch 1 MB/s. Da frage ich mich schon mal, ob die beiden letztgenannten Umstände (fast volles Laufwerk und Kopieren von virtuellen Maschinen) dabei noch einen gesonderten Grund für diese geringe Geschwindigkeit spielen.
Ein "big_writes" wie in man ntfs-3g als Parameter macht da keinen Unterschied.
In der /usr/local/share/doc/ntfs-3g/README.FreeBSD stehen weitere Tuningtips im Zusammenhang mit "UBLIO", was angeblich unter FreeBSD und MacOS der große Bringer sein soll:
Hat da jemand Erfahrung mit und kann optimale Werte empfehlen? Wenn ich das richtig verstehe, ist UBLIO defaultmäßig aktiviert. Und muss man die Werte (Bsp.: UBLIO_BLOCKSIZE - 262144 (256KB). Larger improves reading/writing speed of...) dann in Byte (also 256 x 1024) eingeben?
Ein "big_writes" wie in man ntfs-3g als Parameter macht da keinen Unterschied.
In der /usr/local/share/doc/ntfs-3g/README.FreeBSD stehen weitere Tuningtips im Zusammenhang mit "UBLIO", was angeblich unter FreeBSD und MacOS der große Bringer sein soll:
Code:
The UBLIO layer is configured through environment variables, which are read
when mounting the filesystem. The following are available:
NTFS_USE_UBLIO - Enable the UBLIO cache.
UBLIO_BLOCKSIZE - Actual reads/writes will be multiples of this quantity.
UBLIO_ITEMS - Number of cache entries, each of UBLIO_BLOCKSIZE length.
UBLIO_GRACE - Number of times a cache entry will refuse being recycled.
UBLIO_SYNC_IO - If enabled, all writes will be immediately executed.
To give an idea about tuning, here are the default values with some notes
(they are only based on some simple benchmarks, and may be wrong):
NTFS_USE_UBLIO - 1. Disabling it drastically decreases performance.
UBLIO_BLOCKSIZE - 262144 (256KB). Larger improves reading/writing speed of
large files, and smaller makes filesystem operations
(creation, deletion, moving, find(1)) perform faster.
Try 2/4MB and 512/256KB for the different approaches. Note
that after that points performance decreases again.
UBLIO_ITEMS - 64. Higher increases speed of filesystem operations. Try 128.
UBLIO_GRACE - 32. Makes the cache items have more chances to be reused.
UBLIO_SYNC_IO - 0. If enabled, highly decreases writing speed, but the data
is immediately written to the disk.
For example (improves performance over large files, but read below):
# env UBLIO_BLOCKSIZE=2097152 ntfs-3g /dev/ad0s1 /mnt
Hat da jemand Erfahrung mit und kann optimale Werte empfehlen? Wenn ich das richtig verstehe, ist UBLIO defaultmäßig aktiviert. Und muss man die Werte (Bsp.: UBLIO_BLOCKSIZE - 262144 (256KB). Larger improves reading/writing speed of...) dann in Byte (also 256 x 1024) eingeben?