Language Selection

English French German Italian Portuguese Spanish

Kernel space: ELF prediction to speed application startup

Filed under
Linux

A new technique might make it faster to get started with a large application, by giving the kernel advance notice of what are most likely to be the program's commonly used memory pages.

When the kernel executes a program, it must retrieve the code from disk, which it normally does by demand paging it in as required by the execution path. If the kernel could somehow know which pages would be needed, it could page them in more efficiently. Andi Kleen has posted an experimental set of patches that do just that.

Programs do not know about their layout on disk, nor is their path through the executable file optimized to reduce seeking, but with some information about which pages will be needed, the kernel can optimize the disk accesses. If one were to gather a list of the pages that get faulted in as a program runs, that information could be saved for future runs. It could then be turned into a bitmap indicating which of the pages should be prefetched.

Once you have such a bitmap, where to store it becomes a problem.

More Here




More in Tux Machines

Wine 2.7 Has Been Released

Canonical Releases Snapd 2.25 Snappy Daemon for Ubuntu Linux, Here Is What's New

Canonical's Snappy team, through Michael Vogt, announced today, April 28, 2017, the release and immediate availability of the Snapd 2.25 Snappy daemon for all supported Ubuntu Linux OSes, as well as other GNU/Linux distributions. Read more

Ubuntu Devs Work on Rebasing Ubuntu 17.10 (Artful Aardvark) to Linux Kernel 4.11

It looks like the Ubuntu Kernel team is back at work after taking a short break, and they recently published another installation of their bi-weekly newsletter to inform the Ubuntu Linux community about what to expect in the coming weeks. Read more

Linux Mint-using terror nerd awaits sentence for training Islamic State

A paranoid Welsh Muslim who wore gloves while typing on his laptop, admitted being part of Islamic State, and, gasp, harbored a copy of Linux Mint, has been described as a “new and dangerous breed of terrorist.” Samata Ullah, 34, who also used voice modulation software to disguise his thick Welsh accent while making instructional videos about encryption, pleaded guilty to five terrorism charges at Cardiff Crown Court. He was due to be sentenced Friday afternoon. Read more