I can reproduce the bug on a local system with the attached reproducer:

wesley@glibc-jammy:~$ apt-cache policy libc6
libc6:
  Installed: 2.35-0ubuntu3.11
  Candidate: 2.35-0ubuntu3.11
  Version table:
 *** 2.35-0ubuntu3.11 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.35-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 65.088057
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 69.766305
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 62.821834
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 65.807690
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 1949.944540
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 1792.266083
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 1785.785353
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 2373.913114

### Verification Done Jammy ###

The build-time test suite passed.

The autopkgtest excuses report is clear.

wesley@glibc-jammy:~$ apt-cache policy libc6
libc6:
  Installed: 2.35-0ubuntu3.12
  Candidate: 2.35-0ubuntu3.12
  Version table:
 *** 2.35-0ubuntu3.12 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.35-0ubuntu3.11 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     2.35-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 61.100255
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 66.433792
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 65.547364
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 false false
nr_cpu: 24 pin: no fix: no
thread average (ms): 61.842890
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 62.259289
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 65.616804
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 64.859172
wesley@glibc-jammy:~$ ./test-glibc-malloc 24 true false
nr_cpu: 24 pin: yes fix: no
thread average (ms): 61.196404

### Verification Done Jammy ###

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089789

Title:
  malloc performance degradation with CPU affinity masks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2089789/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to