Re: libc/libsys split coming soon
- Reply: Mateusz Guzik : "Re: libc/libsys split coming soon"
- In reply to: Mateusz Guzik : "Re: libc/libsys split coming soon"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Feb 2024 10:16:56 UTC
On 3 Feb 2024, at 09:15, Mateusz Guzik <mjguzik@gmail.com> wrote: > > Binary startup is very slow, for example execve of a hello world > binary in a Linux-based chroot on FreeBSD is faster by a factor of 2 > compared to a native one. As such perf-wise this looks like a step in > the wrong direction. Have you profiled this? Is the Linux version using BIND_NOW (which comes with a load of problems, but it often the default for Linux systems and reduces the number of slow-path entries into rtld)? Do they trigger the same number of CoW faults? Is there a path in rtld that’s slower than the equivalent ld-linux.so path? David