The developer behind Mold has pointed out several performance bottlenecks in the Linux kernel. Key issues include a significant delay in the `exit(2)` system call for large processes, slower write speeds to new files compared to existing ones, and the lack of a safe, system-wide semaphore. These observations are based on tests where Mold could link a 4 GiB LLVM/clang executable much faster when overwriting an existing file compared to creating a new one.
Sort: