Open paulmenzel opened 3 years ago
I recorded a sample using perf, but do not see anything yet, as I do not know how to do that with C++ programs.
$ sudo perf record -p 14318 -F 999 -o /scratch/local2/lftp.data -- sleep 10
[ perf record: Woken up 2 times to write data ]
[ perf record: Captured and wrote 0.390 MB /scratch/local2/lftp.data (9985 samples) ]
$ perf report -i /scratch/local2/lftp.data -s comm,dso
57.61% lftp [kernel.kallsyms]
40.61% lftp lftp
0.80% lftp libc-2.33.so
0.79% lftp [vdso]
0.17% lftp [unknown]
0.01% lftp [ixgbe]
0.01% lftp [kvm]
[Edited]
Uploading several files with over 100 GB size using
mput -c *.tar.gz
with a bandwidth limit of 10 MB/s (set net:limit-total-rate 10000000
), the CPU usage is displayed by 100 % bytop
, and around 62 % usingps
.Is that expected? I wouldn’t have thought, that the CPU is involved that much in a file transfer.