On 30/12/2021 14.51, Per Jessen wrote:
Carlos E. R. wrote:
(the current directory is on the destination disk, external rotating rust via USB2)
This works fine.
Now, I noticed something.
On gkrellmn I observe, as the script runs, that the reads on the source disk (ssd, in this case) and the writes to the destination disk alternate, are not simultaneous. And it took 5 hours to image perhaps 300gigs; of course, the destination is on USB2, and the CPU is old, but that alternation doesn't help.
Could that be improved somehow?
I am assuming you have more than one core for running this on ?
Yesss :-D The first laptop where we developed and used this code had several cores, I forget the number. The code did run fast, so fast that the CPU overheated and clocked itself down. There is a range of pseudo-powerful laptops, designed so that they can apply cpu power for only about a minute, then they overheat and clock down. Maybe they lack a fan or is not big enough. Short sprints of speed, can not maintain it. So I modified something in order to make the script run slower. I don't remember what I did, the laptop is now with her owner. That laptop has also USB3. My own laptops only have two ancient cores. Still, my laptop would do it faster if there wasn't that alternation between read and write operations (writing via USB2). -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)