admin 管理员组文章数量: 1184232
2024年3月10日发(作者:wordpress独立站)
Enable real-time capabilities of the mainline kernel
Carsten Emde
< @ >
Revision History
Revision 0.1
First release
Revision 0.22006-12-13
2006-12-07
CONFIG_DEBUG_PREEMPT must be set to obtain /proc/latency_trace
Revision 0.32006-12-26
Omitted to initialize /proc/sys/kernel/preeempt_max_latency
Revision 0.42007-03-19
Added paragraph on Ubuntu, thanks to Alessio Igor Bogani
Revision 0.52007-04-25
Removed .config settings, provided menuconfig description, added latency histogram
Revision 0.6
Introduced latency fighting
Revision 0.7
Added latency trace example
Revision 0.82007-10-09
2007-05-31
2007-05-10
Adapted to the download directory at , removed dead links to Fedora prebuilt kernels
Revision 0.92008-08-29
Adapted to 2.6.24.7-rt17, added a section on ketchup, added debug fs, mentioned stress tools
Revision 0.10
Adapted to 2.6.24.7-rt23, updated kernel CONFIGs
Revision 0.112009-11-07
2008-12-10
Adapted to 2.6.31.5-rt17, updated kernel CONFIGs, dirs and files
Table of Contents
1. Introduction
2. Installation
2.1. Ubuntu Feisty (7.04)
2.2. Other 2.6 systems
3. Testing and using the realtime-preempt patch
3.1. Built-in tools
3.2. External testing tool
3.3. Latency fighting
1. Introduction
In August 2006, a large part of the realtime-preempt kernel patch that is maintained by Ingo Molnar,
Thmomas Gleixner and Steven Rostedt was merged into the mainline kernel and is now immediately
available. A number of functions, however, still is only available, if the realtime-preempt patch is applied.
It is planned to merge the vast majority of these functions into the mainline kernel before the end of 2008.
In addition to the traditional installation method that requires download, patch and recompilation of the
kernel, an apt repository is now provided that greatly facilitates the installation of the realtime-preempt
patch. This mechanism, however, is currently only available when the Ubuntu Feisty distribution is used.
It is expected that Redhat Enterprise Linux and Fedora will contain prepatched realtime-preempt kernels
in the near future.
This HOWTO explains how to install, configure, test and use the realtime- preempt kernel patch in
Ubuntu Feisty (7.04) and other 2.6 systems.
2. Installation
2.1. Ubuntu Feisty (7.04)
Add, as root, to your /etc/apt/ (remember to do a backup of this file) the following line:
# deb /ubuntu feisty/
Then execute:
# wget -q /ubuntu/feisty/ -O- | sudo apt-key add -
# sudo apt-get update
# sudo apt-get install linux-realtime
The provided packages include realtime-enabled kernels as well as the cyclictest utility (see below).
Thanks to Alessio Igor Bogani for making these kernels available. Additional information is given here.
版权声明:本文标题:kernel-rt 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1710013606a553644.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论