Hlavní navigace

Názor ke zprávičce Facebook BOLT: zrychlení linuxových binárek od 654 - Já bych to nazval spíš úklidem nebo reorganizací...

  • Aktualita je stará, nové názory již nelze přidávat.
  • 26. 11. 2018 13:14

    654 (neregistrovaný)

    Já bych to nazval spíš úklidem nebo reorganizací binárky za účelem lepší stravitelnosti pro CPU.

    Citace z článku na sdtimes.com [1]:
    "Highly complex services, such as those here at Facebook, have large source code bases in order to deliver a wide range of features and functionality. Even after the machine code for one of these services is compiled, it can range from 10s to 100s of megabytes in size, which is often too large to fit in any modern CPU instruction cache. As a result, the hardware spends a considerable amount of processing time — nearly 30 percent, in many cases — getting an instruction stream from memory to the CPU,...

    BOLT rearranges code inside functions based on their execution profile, the company explained. The body of the function is split based on how frequently the code is executed, and then it performs and optimal layout of hot chunks of code depending on the call graph profile."

    [1] https://sdtimes.com/os/facebook-open-sources-its-binary-optimization-and-layout-tool-for-large-scale-apps/