Web lists-archives.com

Re: Speed Problem Copying Files




[..]
> hdparm -tT /dev/sda
> /dev/sda:
>  Timing cached reads:   13348 MB in  2.00 seconds = 6683.42 MB/sec
>  Timing buffered disk reads: 1014 MB in  3.00 seconds = 337.72 MB/sec
> 
> iotop -o (for rsync and cp)
> Total DISK READ :       0.00 B/s | Total DISK WRITE :     476.15 K/s
> Actual DISK READ:       0.00 B/s | Actual DISK WRITE:     487.86 K/s
>   TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
> 19531 be/4 root        0.00 B/s  476.15 K/s  0.00 % 99.24 % rsync
> --info=progress2 /daten/testfile /daten/testfile2
> 
> iotop -o (for dd)
> Total DISK READ :       0.00 B/s | Total DISK WRITE :     297.68 M/s
> Actual DISK READ:       0.00 B/s | Actual DISK WRITE:     297.68 M/s
>   TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
> 19557 be/4 root        0.00 B/s  297.68 M/s  0.00 % 99.99 % dd
> if=/dev/zero of=/daten/testfile bs=1G count=10 oflag=direct

Show us the 'dd if=/daten/testfile bs=1G oflag=direct of=/dev/null', please.
If this is as slow as this ~480k/s above, check your disk's health status. Like with smartmontools or some disk-utility software.

Martin