Running application specific kernel code by a just-in-time compiler

作者: Ake Koomsin , Yasushi Shinjo

DOI: 10.1145/2818302.2818305

关键词:

摘要: Kernel scripting is a technique to run an extension code in script language operating system kernel. Conventional kernel has two limitations. First, it affects entire and only privileged users are allowed install new script. This prohibits developers from running their own application-specific the Second, its performance not sufficient for some time-sensitive applications. In this paper, we address these problems. Our call allows without root privilege. runs with less overhead because use Just-In-Time (JIT) compiler. To evaluate our idea, ported LuaJIT compiler into FreeBSD 10.1 x86 We modified Memcached that processes multiple UDP GET requests at time. With one worker thread under high-load condition, achieved 33% reduction average response time 44% improvement throughput when value size was small.

参考文章(8)
Saumya K. Debray, Matti A. Hiltunen, Mohan Rajagopalan, Richard D. Schlichting, Cassyopia: compiler assisted system optimization hot topics in operating systems. pp. 18- 18 ,(2003)
Ron Cytron, Jeanne Ferrante, Barry K. Rosen, Mark N. Wegman, F. Kenneth Zadeck, Efficiently computing static single assignment form and the control dependence graph ACM Transactions on Programming Languages and Systems. ,vol. 13, pp. 451- 490 ,(1991) , 10.1145/115372.115320
Lourival Vieira Neto, Roberto Ierusalimschy, Ana Lúcia de Moura, Marc Balmer, Scriptable operating systems with Lua dynamic languages symposium. ,vol. 50, pp. 2- 10 ,(2014) , 10.1145/2661088.2661096
Galen C. Hunt, James R. Larus, Singularity: rethinking the software stack Operating Systems Review. ,vol. 41, pp. 37- 49 ,(2007) , 10.1145/1243418.1243424
B. N. Bershad, S. Savage, P. Pardyak, E. G. Sirer, M. E. Fiuczynski, D. Becker, C. Chambers, S. Eggers, Extensibility safety and performance in the SPIN operating system symposium on operating systems principles. ,vol. 29, pp. 267- 283 ,(1995) , 10.1145/224056.224077
R.H. Campbell, See-Mong Tan, /spl mu/Choices: an object-oriented multimedia operating system Proceedings 5th Workshop on Hot Topics in Operating Systems (HotOS-V). pp. 90- 94 ,(1995) , 10.1109/HOTOS.1995.513461
D. R. Engler, M. F. Kaashoek, J. O'Toole, Exokernel: an operating system architecture for application-level resource management symposium on operating systems principles. ,vol. 29, pp. 251- 266 ,(1995) , 10.1145/224056.224076
Michael Stumm, Livio Soares, FlexSC: flexible system call scheduling with exception-less system calls operating systems design and implementation. pp. 33- 46 ,(2010) , 10.5555/1924943.1924946