引导进程“调度程序”
在启动过程中的哪个位置创建“调度程序”?创建后如何访问其指令?
Where in the boot process does the "scheduler" get created and when created how can its instructions be accessed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这取决于您使用的操作系统,但有几件事应该明确:
显然,这是在引导过程中相对较早的时间。
“如何访问其指令?”到底是什么意思?
That depends on the OS you use, but several things should be clear:
Obviously that is relatively early in the boot process.
What exactly do you mean by "how can its instructions be accessed?"?
默认调度程序在内核配置中设置:
adrian@adrian: ~ $ grep cfq /boot/config-2.6.36.2-desktop-2mnb
CONFIG_DEFAULT_IOSCHED="cfq"
在启动时您可以在内核行中执行以下操作,例如:
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/sda2 elevator=deadline
the default scheduler is set in kernel config :
adrian@adrian: ~ $ grep cfq /boot/config-2.6.36.2-desktop-2mnb
CONFIG_DEFAULT_IOSCHED="cfq"
at boot time you can do in the kernel line as example:
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/sda2 elevator=deadline