mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-29 00:32:37 +00:00
Adjust default CPU thread count to 2
It's a tiny reduction of encoding quality for a major increase in performance
This commit is contained in:
parent
9dfe97d405
commit
a15bd65391
@ -975,19 +975,19 @@ keybindings
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
**Description**
|
||||
Minimum number of threads used for software encoding.
|
||||
Minimum number of CPU threads used for encoding.
|
||||
|
||||
.. note:: Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually worth it to gain
|
||||
the use of more CPU cores for encoding. The ideal value is the lowest value that can reliably encode at your
|
||||
desired streaming settings on your hardware.
|
||||
|
||||
**Default**
|
||||
``1``
|
||||
``2``
|
||||
|
||||
**Example**
|
||||
.. code-block:: text
|
||||
|
||||
min_threads = 1
|
||||
min_threads = 2
|
||||
|
||||
`hevc_mode <https://localhost:47990/config/#hevc_mode>`__
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
@ -320,7 +320,7 @@ namespace config {
|
||||
0, // hevc_mode
|
||||
0, // av1_mode
|
||||
|
||||
1, // min_threads
|
||||
2, // min_threads
|
||||
{
|
||||
"superfast"s, // preset
|
||||
"zerolatency"s, // tune
|
||||
|
@ -761,8 +761,8 @@
|
||||
|
||||
<!-- Min Threads -->
|
||||
<div class="mb-3">
|
||||
<label for="min_threads" class="form-label">Minimum Software Encoding Thread Count</label>
|
||||
<input type="number" class="form-control" id="min_threads" placeholder="1" min="1" v-model="config.min_threads" />
|
||||
<label for="min_threads" class="form-label">Minimum CPU Thread Count</label>
|
||||
<input type="number" class="form-control" id="min_threads" placeholder="2" min="1" v-model="config.min_threads" />
|
||||
<div class="form-text">
|
||||
Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually<br>
|
||||
worth it to gain the use of more CPU cores for encoding. The ideal value is the lowest<br>
|
||||
@ -1266,7 +1266,7 @@
|
||||
"channels": 1,
|
||||
"fec_percentage": 20,
|
||||
"qp": 28,
|
||||
"min_threads": 1,
|
||||
"min_threads": 2,
|
||||
"hevc_mode": 0,
|
||||
"av1_mode": 0,
|
||||
"capture": "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user