5.2. Editing IO Threads
If a virtual machine has more than one disk, you can enable or change the number of IO threads to improve performance.
Procedure 5.2. Editing IO Threads
- Select the virtual machine to be edited.
- Click.
- Click the Resource Allocation tab.
- Select the IO Threads Enabled check box. Red Hat recommends using the default number of IO threads, which is
1
. - Click.
- Click the Reboot icon to restart the virtual machine.If you increased the number of IO threads, you must reactivate the disks so that the disks will be remapped according to the correct number of controllers:
- Click the Shutdown icon to stop the virtual machine.
- Click the Disks tab in the details pane.
- Select each disk and click Deactivate.
- Select each disk and click Activate.
- Click the Run icon to start the virtual machine.
You can view the IO threads by clicking Vm Devices in the details pane.
The assignment of disks to controllers displays only in the XML, not in the Administration Portal.
Procedure 5.3. Viewing Disk Controller Assignment
- Log in to the host machine.
- Use the
dumpxml
command to view the mapping of disks to controllers:# virsh -r dumpxml virtual_machine_name