On Sat, Oct 08, 2022 at 08:41:34AM +0200, Robert Nagy wrote: > What is the output of sysctl kernl.timecounter?
# sysctl kern.timecounter kern.timecounter.tick=1 kern.timecounter.timestepwarnings=0 kern.timecounter.hardware=tsc kern.timecounter.choice=i8254(0) acpihpet0(1000) tsc(2000) acpitimer0(1000) > If you have clock_gettime() showing up in your ktrace, that means > that usertc is not used, so having a 30% slowdown is expected. It was my mistake. I have only updated kernel and not libc. With new libc iperf3 does not call clock_gettime() anymore. 97181 iperf3 CALL select(6,0x7f7ffffeffe0,0x7f7ffffeff60,0,0x9706589c690) 97181 iperf3 CALL write(5,0x97092d8f000,0x5a8) Performance is restored. http://bluhm.genua.de/perform/results/7.1/2022-10-08T08%3A46%3A48Z/perform.html Sorry for the noise. bluhm
