We run a simple CPU-only xor application.
int main(void) {
long i;
int count = 0;
for (i=0; i< 10000000000; i++) { count = count ^ i;
}
return 0;
}
tested on BlueField-2 and found consistent performance degradation.
* Performance
install from debian kernel packages:
/auto/sw/integration/bluefield_build/kernels/Ubuntu22.04-kernels/*.deb
kernel 5.15.0-1042-bluefield: 39sec
kernel 5.15.0-1043-bluefield (1043): 39sec
kernel 5.15.0-1044-bluefield: 49 sec
kernel 5.15.0-1048-bluefield: 49 sec
* Performance-2
However, If we download the kernel source and compile, then we don't see the difference
/boot/vmlinuz-5.15.160 (1049): 49sec
* Explain the bug(s)
We run a simple CPU-only xor application.
count = count ^ i;
int main(void) {
long i;
int count = 0;
for (i=0; i< 10000000000; i++) {
}
return 0;
}
tested on BlueField-2 and found consistent performance degradation.
* Performance
install from debian kernel packages: integration/ bluefield_ build/kernels/ Ubuntu22. 04-kernels/ *.deb
/auto/sw/
kernel 5.15.0- 1042-bluefield: 39sec
kernel 5.15.0- 1043-bluefield (1043): 39sec
kernel 5.15.0- 1044-bluefield: 49 sec
kernel 5.15.0- 1048-bluefield: 49 sec
* Performance-2 5.15.160 (1049): 49sec
However, If we download the kernel source and compile, then we don't see the difference
/boot/vmlinuz-
/boot/vmlinuz- 5.15.160- 20576-gba1f73c1 5047 (1043): 49sec