Show Table of Contents
6.4. I/O スケジューラーの設定
Red Hat Enterprise Linux 5/6 と Red Hat Enterprise Linux 7 では、I/O スケジューラーの設定方法が異なります。
6.4.1. Red Hat Enterprise Linux 5 および 6 における I/O スケジューラーの設定
I/O スケジューラーは、
elevator カーネルパラメーターを使用して起動時に選択することができます。
以下に示す
grub.conf スタンザの例では、システムは noop スケジューラーを使用するように設定されます。この例は VMware ESX のケースです。
title Red Hat Enterprise Linux Server (2.6.18-8.el5) root (hd0,0) kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/vg0/lv0 elevator=noop initrd /initrd-2.6.18-8.el5.img
6.4.2. Red Hat Enterprise Linux 7 における I/O スケジューラーの設定
Red Hat Enterprise Linux 7 ゲストでは、以下のパラメーターを
/etc/grub2.cfg に追加して、I/O スケジューラーの変更を起動後も維持することができます。
# vi /etc/grub2.cfg
linux16 /vmlinuz-kernel-version root=/dev/mapper/vg0-lv0 ro rd.lvm.lv=vg0/lv0 vconsole.keymap=us vconsole.font=latarcyrheb-sun16 rhgb quiet elevator=deadline
initrd16 /initramfs-kernel-version.img

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.