|
From: | tink |
Subject: | Re: [Duplicity-talk] Performance issues w/ S3 |
Date: | Tue, 23 Jul 2024 14:13:03 +1200 |
Hi Tink,
Am 21.07.24 um 23:21 schrieb tink via Duplicity-talk:
And without compression and encryption the local version takes 55 seconds.The compression and encryption is done by feeding the data into GnuPG binary installed on your system.
I suggest following tests:
- use `gpg` and encrypt a file manually and check the timing.
While running following commands my help to find the bottleneck:
`vmstat -w 5`
or
`iostat`
to check I/O wait
`watch ps -p <put pid here> -L -o pid,tid,psr,pcpu,docker,args`
allow to see how the load is spread between threads and which CPU they running on. (keep in mind that 100% means full usage of all cores in your system. In your case 6.25% means the process is occupying a full core )
Btw. are you running on bare metall or any virtualization?
Bye
Thomas
Keep in mind, that python by default is not able to take advantage from multiple cores. Duplicity has some functionality to share load across processes to bypass this limitation, but this still have some boundaries.
[Prev in Thread] | Current Thread | [Next in Thread] |