Compiled application startup time under 10ms for 368MB sysimage
Julia Programming Language
Compiled application startup time under 10ms for 368MB sysimage
I build compiled binaries for a network simulator and the process startup time really bugged me. Investigation showed that it is not really inherent to the problem. The image is mmapped fine, but then the loader walks two relocation lists and writes a pointer into nearly every page of it, and each write causes a page fault and makes a private copy of that page. On a 368 MB image that is 47k minor page faults and 88 ms of a 105 ms of init. Making the image smaller just scales the same cost down, ...
0 comments
No comments yet.