You are not logged in.

#1 2020-06-15 05:37:42

Afterglow
Member
Registered: 2013-09-21
Posts: 17

System is slow when copying from hdd to ssd

I frequently copy games from HDD to SSD. And the whole system moves like a slug. Windows opening/closing slow, commands, if entered, are slow to execute.
Is it normal behavior that copying operation receives so much priority that everything else suffers?

I tried it with cp or thunar - same result. I'm not sure, where to go from here to troubleshoot. Both are ext4 partitions. One is on SSD, the other one is a slow 5200rpm HDD.

https://imgur.com/YjOxZop.png

uname -a:

Linux ArchPC 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64 GNU/Linux

Cinnamon DE
Not sure what other information I could provide since it's all visual/feeling.


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2020-06-15 11:43:34)

Offline

#2 2020-06-15 06:34:02

mpan
Member
Registered: 2012-08-01
Posts: 1,644
Website

Re: System is slow when copying from hdd to ssd

Yes, interleaving a lot of I/O operations is slow. It is not because copying receives some high priority; the interleaving alone does that. On top of that it’s possible that other page are dropped from cache, so they need to be reloaded when you access them, slowing things even more — and that effect persists for some time after copying is over.

A remedy for the first thing may be using invoking cp with ionice -c3 (a command found in core/util-linux). The slowdown will still be noticeable, but perhaps a bit less if cp must wait for all other operations to finish.

Last edited by mpan (2020-06-15 06:35:26)

Offline

#3 2020-06-15 07:32:50

tpfkanep
Member
From: South Africa
Registered: 2009-12-15
Posts: 134

Re: System is slow when copying from hdd to ssd

Maybe try the linux-zen -or- linux-ck kernels... ?

Offline

Board footer

Powered by FluxBB