First, thank you for the answers:
To: #2 / robin_listas
I know that the ntfs driver is cpu intensive.
But I copied from ext4 partition to ext4 partition, and now from an external ext4 to my internal ext4.
DMA: I hdparmed my disks and I see the following, and if I’m right with DMA everything is OK.
>>> Internal sata disk: /dev/sda:
Model=ST9320423AS, FwRev=0002SDM1, SerialNo=5VJ1JDYW
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-4,5,6,7
- signifies the current active mode
Timing cached reads: 10748 MB in 1.99 seconds = 5393.46 MB/sec
Timing buffered disk reads: 248 MB in 3.00 seconds = 82.58 MB/sec
>>> External esata disk with pcmcia adapter: /dev/sdb:
Model=WDC WD10EURS-630AB1, FwRev=80.00A80, SerialNo=WD-WCAV5P255694
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
- signifies the current active mode
Timing cached reads: 7554 MB in 2.00 seconds = 3786.22 MB/sec
Timing buffered disk reads: 180 MB in 3.02 seconds = 59.57 MB/sec
To: #3 / JohnVV
Concerning encryption: in Windows I used Truecrypt to encrypt my whole system, and I never experienced such high cpu usage when I copied something, even if I copied to an another external Truecrypt encrypted storage. I think my CPU is strong enough to calmly handle this kind of operations, at least in Windows with … I never really noticed that I’m encrypted under Windows.
And I think if I’m right, the disk encryption should be done by kcryptd and kcryptd_io but they do nothing.
Addendum:
I copied from my external ext4 pcmcia esata drive to my internal ext4 sata drive, and I do some top and iotop measurements. Please inspect not only the top and iotop indications, inspect the copy process window too (MiB/s, stalled, paused etc.).
Please note that I can’t capture really high cpu or system load because my system in this state unresponsive.
Measurement screenshots are here – hi res. images:
dbg - top, iotop
Thank you forward for your further help.