On Tue, 5 Jun 2012 07:48:56 -0500 Strake <strake...@gmail.com> wrote:
> The first is not a file, but rather code kept in the kernel and loaded > in the memory space of every proc on the system. > > http://www.trilithium.com/johan/2005/08/linux-gate/ > > Thus, it ought to not make grief, in this way at least. > Clearly the others will. On the linked page, Johan Petersson wrote: > It turns out, though, that system calls invoked via interrupts are > remarkably slow on the more recent members of the x86 processor > family. An int 0x80 system call can be as much as an order of > magnitude slower on a 2 GHz Pentium 4 than on an 850 MHz Pentium III. Will linux-vdso or linux-gate be properly used by a statically linked binary? Does it perhaps require /lib/ld-linux.so to link it in? I ask because I have some reason to believe syscall performance is important if you want to work in the unix way, and doubly so if you want a suckless system. Petersson here describes an order of magnitude difference in syscall performance. I'm not sure of my conclusion but it's something to keep an eye on, perhaps timing the piping of data in both static and conventional Linux systems on the same hardware.