ntfs-3g poor write speed

ntfs-3g poor write speed

Estou obtendo velocidades de gravação muito ruins com NTFS

sudo mount -t ntfs -o sync,noatime,gid=users /dev/sdf1 "/media/MNTPNT"

testando com DD

dd if=/dev/zero of=/media/6ED8C60456B3EBDA/test.tmp bs=1k count=128k

2585+0 records in
2585+0 records out
2647040 bytes (2.6 MB) copied, 22.6904 s, 117 kB/s

Isto é para um WD Passport de 1 TB, eu também tenho um WD Passport de 500 GB formatado com ext4 que (última execução registrada do rsync) teve média de gravações de 15 MB/s

sudo cat /dev/sdb | pv -r > /dev/null

Forneceu velocidades de leitura de aproximadamente 40 MB/s

Linux 3.0.0-12-servidor 21/11/11 _x86_64_ (2 CPU)

Responder1

Try bs=32k, bs=64k, or even bs=1M: USB has significant turnaround time - and you use sync mount option. That kills write speed as it disables the write cache.

Responder2

Try to put the parameter big_writes into your mount command:

sudo mount -t ntfs -o async,big_writes,noatime,gid=users /dev/sdf1 "/media/MNTPNT"

Responder3

I think the problem was with sync option, the default is to mount everything with async. Synchronous operations take more time than asynchronous by definition. So, you can put back noatime and actually you can get some performance gain from it but I am not sure if noatime has any effect on ntfs-3g.

informação relacionada