(In reply to Koichiro Iwao from comment #15)
> Hi, 
> 
> This causes segfault on bhvye hypervisor running on Ryzen processors. 
> 
> FreeBSD folks are also investigating the issue from hypervisor's side but I
> would like to let you know that this caused an issue because of the change
> to keep your eyes on this.
> 
> - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279901
> - https://bugs.almalinux.org/view.php?id=489
> - https://bbs.archlinux.org/viewtopic.php?id=295802

As for FreeBSD, I am trying to reproduce it with a different
hypervisor/emulation (in this case qemu/kvm) with a Ryzen 9 5900x Zen3
core but both AlmaLinux 10 Kitten (glibc 2.39) and debian sid (glibc
2.40) boots and works without any issue.

And I also verified on debian sid the selected memcpy/memmove is indeed
the one that optimized with glibc change (__memcpy_avx_unaligned_erms).
I even tried to run glibc memcpy/memmove tests in this VM, where they
stress a lot of different sizes and alignments for different
memcpy/memmove implementations.

Also, my daily workstation (Ryzen 9 5900x) the uses a recent glibc that
also contains this issue and I haven't see any memcpy/memmove related
issue.

So I am not sure if this is a glibc issue. Does it only happen on bhyve?

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

Title:
  Terrible memcpy performance on Zen 3 when using rep movsb

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to