jbartlett Posted January 8, 2020 Share Posted January 8, 2020 (edited) @bonienl The VM GUI editor is hard coded to set the thread count to 1 if it detects an AMD processor in libvirt.php // detect if the processor is AMD, and if so, force single threaded $strCPUInfo = file_get_contents('/proc/cpuinfo'); if (strpos($strCPUInfo, 'AuthenticAMD') !== false) { $intCPUThreadsPerCore = 1; } This was due to AMD reporting no support for hyperthreadding in a VM. With UNRAID 6.8.1 RC1, hyperthreadding is supported with CPU passthrough as is (and CPU cache) if the CPU feature topoext is enabled. Previously, the CPU had to be forced to report as an EPYC to get it to support hyperthreadding. <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='6' threads='2'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> </cpu> Microsoft's CoreInfo returns Coreinfo v3.31 - Dump information on system CPU and memory topology Copyright (C) 2008-2014 Mark Russinovich Sysinternals - www.sysinternals.com Logical to Physical Processor Map: **---------- Physical Processor 0 (Hyperthreaded) --**-------- Physical Processor 1 (Hyperthreaded) ----**------ Physical Processor 2 (Hyperthreaded) ------**---- Physical Processor 3 (Hyperthreaded) --------**-- Physical Processor 4 (Hyperthreaded) ----------** Physical Processor 5 (Hyperthreaded) Note that changes to the CPU layout may not be detected in the VM until the VM is rebooted from inside the VM itself (for example: Start > Power > Restart) Prior to 6.8.1 RC1, I could not get CPU-Z to run, it would always hang at the 10%/Processors on load. It still takes a bit but does return now. Edited January 8, 2020 by jbartlett 5 Quote Link to comment
Tucubanito07 Posted January 21, 2020 Share Posted January 21, 2020 Fifth this feature. Quote Link to comment
TangoEchoAlpha Posted January 21, 2020 Share Posted January 21, 2020 Definitely - please implement this Lime Tech ☕ Quote Link to comment
general18 Posted February 5, 2020 Share Posted February 5, 2020 +1 Currently working on my Ryzen 3000 Unraid server (Just finished building it, now I need to buy a license and set it up ) Quote Link to comment
L0rdRaiden Posted February 6, 2020 Share Posted February 6, 2020 @limetech Please consider this Quote Link to comment
-Daedalus Posted February 7, 2020 Share Posted February 7, 2020 I'll throw my hat in here too. Quote Link to comment
bonienl Posted February 8, 2020 Share Posted February 8, 2020 This is under consideration, expect a change in future release. 1 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.