タイマー割り込みの間隔を変更する

タイマー割り込みの間隔を変更する場合は カーネルの起動パラメータに "divider=10" を追記します。divider=10を追記することでタイマー割り込みの間隔が10分の1になります。

64bit版Linuxの場合

CentOS 5.xの場合

/boot/grub.conf 内の
kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe hdb=noprobe

kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe hdb=noprobe notsc divider=10
と変更します。

CentOS6の場合

(調査中)

32bit版Linuxの場合

/boot/grub/grub.conf 内の
kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe hdb=noprobe

kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe hdb=noprobe divider=10 clocksource=acpi_pm
と変更します。

/boot/grub/grub.conf の例

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.9.1.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe hdb=noprobe notsc divider=10
	initrd /initrd-2.6.18-238.9.1.el5.img
title CentOS (2.6.18-238.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-238.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-238.el5.img
著者
かつて日本を代表したスーパーエンジニア (自称)
ハードウェア、電気設備、ガーデニング関係の記事を担当。
最終更新日: 2024-01-06
作成日: 2011-05-12
iPentec all rights reserverd.