|
|
Subscribe / Log in / New account

Prerequisites for large anonymous folios

Prerequisites for large anonymous folios

Posted Sep 10, 2023 21:08 UTC (Sun) by kleptog (subscriber, #1183)
In reply to: Prerequisites for large anonymous folios by walters
Parent article: Prerequisites for large anonymous folios

Yes, that would do it. As I suspected the actual technical part of optimising the binaries is done, the problem would be to get decent samples of all the popular applications. For example, it appear it requires specially compiled binaries to work (--emit-relocs), so you can't just ask a random group of people to run a sampling profiler in the background for a day. It also seems aimed at optimising individual binaries, whereas I think shared libraries are where a lot of the gains could be made.

But hey, all it takes is one person with enough will & skills and it might happen.


to post comments

Prerequisites for large anonymous folios

Posted Sep 11, 2023 14:45 UTC (Mon) by aaupov (guest, #166901) [Link]

> Yes, that would do it. As I suspected the actual technical part of optimising the binaries is done, the problem would be to get decent samples of all the popular applications. For example, it appear it requires specially compiled binaries to work (--emit-relocs), so you can't just ask a random group of people to run a sampling profiler in the background for a day.
`--emit-relocs` is required for function reordering and only at optimization time. It's possible to collect samples from a regular distro binary (stripped, no relocs) and then use that profile to optimize a separately-built binary (not stripped, with relocs preserved).

> It also seems aimed at optimising individual binaries, whereas I think shared libraries are where a lot of the gains could be made.
BOLT can optimize shared libraries.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds