** Description changed:

  * Explain the bug(s)
  
  We run a simple CPU-only xor application.
+ test.c
+ ------
  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
+ 
+ $ gcc test.c; time ./a.out
  
  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
  
  /boot/vmlinuz-5.15.160-20576-gba1f73c15047 (1043): 49sec
  
  also test other versions
-  bf-1024
-  bf-1030
-  bf-1044
-  bf-1049
+  bf-1024
+  bf-1030
+  bf-1044
+  bf-1049
  1024, 1030, 1044, 1049 all shows the same performance, 49 sec

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2075557

Title:
  performance degradation on BlueField-2 5.15.0-1044-bluefield

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  * Explain the bug(s)

  We run a simple CPU-only xor application.
  test.c
  ------
  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

  $ gcc test.c; time ./a.out

  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

  /boot/vmlinuz-5.15.160-20576-gba1f73c15047 (1043): 49sec

  also test other versions
   bf-1024
   bf-1030
   bf-1044
   bf-1049
  1024, 1030, 1044, 1049 all shows the same performance, 49 sec

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2075557/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to