next up previous
Next: 2.2 zlog Up: 2 Downloads Previous: 2 Downloads

2.1 swap-sched

Our latest patch swap-sched.v0.5 is based on Linux 2.6.12-rc3+kdb-v4.4+2.6.12-rc2 kernel. But patch directly againest 2.6.12-rc3 is also fine.

To enable swap-sched feature in your kernel, you need to enabled ``CONFIG_SWAP_SCHED'' at ``General Setup'' section. By default, swap-sched is configed as loadable kernel module. In this case, you need to load swap-sched using the command ``modprobe swap-sched'' after the system bootup.

The basic idea of this implementation is the same as what we described in our paper. The most significant difference is we no longer intercept the system calls since it's no longer allowed in Linux 2.6. Instead, we instrument the code of the related system calls directly. This way, we also avoid the overhead caused by system call interception and additional system call parameter processing.

I have tried the patch on my P4 2.8G machine with hyperthead capability. I think it's stable since it never dies on my test.

Please visit the standard sourceforge project page at for more details.