mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
Menu="CPUset:3"
|
|
Title="CPU Isolation"
|
|
Tag="icon-cpu"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2018, Lime Technology
|
|
* Copyright 2012-2018, Bergware International.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
<form name="is">
|
|
<input type="hidden" name="names" value="isolcpus">
|
|
<table class='tablesorter shift' style='width:auto'>
|
|
<thead><tr><th><i class="fa fa-list"></i> Isolation</th><?create()?></tr></thead>
|
|
<tbody id="table-is"><?=$spinner?></tbody>
|
|
</table>
|
|
<input type="button" value="Apply" onclick="apply(this.form)" disabled><input type="button" value="Done" onclick="done()"><span id="wait-is" class="red-text" style="display:none"><i class="fa fa-spinner fa-spin"></i> Please wait...</span>
|
|
</form>
|
|
<?if (!$safemode):?>
|
|
<div class="notice isol" style="display:none">System must be rebooted for changes to take effect!</div>
|
|
<?else:?>
|
|
<div class="notice">CPU isolation is prohibited while system is running in SAFE MODE!</div>
|
|
<?endif;?>
|
|
|
|
> CPU isolation allows the user to specify CPU cores that are to be explicitly reserved for assignment (to VMs or Docker containers).
|
|
>
|
|
> This is incredibly important for gaming VMs to run smoothly because even if you manually pin your Docker containers to not overlap with your gaming VM,
|
|
> the host OS can still utilize those same cores as the guest VM needs for things like returning responses for the webGui, running a parity check, btrfs operations, etc.
|