Oh no, I wonder what kind of CPU masking I'll need to do to put Ryzen and Piledriver in a Xenserver pool together.I happen to be a Gentoo user myself. For Gentoo or similar systems, CFLAGS should include either "-march=haswell" or "-march=broadwell" or "-march=skylake".
Zen resembles Haswell, Broadwell or Skylake much more than Bulldozer. "-mprefer-avx128" might be useful, but we do not know that for sure yet.
The instruction set implemented by Zen is not compatible with Bulldozer, i.e. some Bulldozer instructions will cause exceptions on Zen, so you must not choose any older AMD processor for "-march=".
On the other hand, Zen implements all Skylake instructions (at least all that are used by GCC) with the exception of the Intel Transactional Synchronization Extensions. I will not miss TSE, because in my opinion they are the wrong solution for implementing concurrency.
Besides the Skylake instructions, Zen implements the 4 AMD Barcelona instructions and also the secure hash instructions that have been introduced in Intel Goldmont (e.g. Apollo Lake & Denverton) but which will be available in the mainline Intel processors only starting with Cannonlake.
Besides instructions previously used by other processors, Zen introduces 3 instructions that are very useful in my opinion, CLZERO (clears a cache line, avoiding its fetching from the main memory) and MWAITX/MONITORX, which are an improvement over MWAIT/MONITOR, because they may include a timeout, to avoid an endless waiting.
So choosing a recent Intel architecture in GCC should be OK and you would lose very little, because the support for "znver1" optimizations is far from finished.
I have posted lscpu output. All 3 launch Ryzen have AMD VNo AMD V that has to be a typo. Anyone have one to run cat /proc/CPU?
Thanks for all the info you've posted. You have also posted lspci output but by itself we have no idea if the IOMMU isolation is working.I have posted lscpu output. All 3 launch Ryzen have AMD V
That's what I thought but it was hard to grok on mobile.I have posted lscpu output. All 3 launch Ryzen have AMD V
# IFS=$'\n'; a=(`find /sys/kernel/iommu_groups/ -type l | tr '/' ' ' | awk '{print $NF,$0}' - | sort | cut -f2- -d' ' | tr ' ' '/'`); b=(`lspci | sort`); for ((i=0;i<${#a[@]};++i)); do printf "%s %s\n" "${a} ${b}";done | tr '/' '\t' | cut -f 5,7-
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
0 0000:00:01.0 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
# lspci -vt
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Device 1450
+-00.2 Advanced Micro Devices, Inc. [AMD] Device 1451
+-01.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-01.3-[03-24]--+-00.0 Advanced Micro Devices, Inc. [AMD] Device 43bb
| +-00.1 Advanced Micro Devices, Inc. [AMD] Device 43b7
| \-00.2-[1d-24]--+-00.0-[1e]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
| +-01.0-[1f-20]----00.0-[20]--
| +-04.0-[21]--+-00.0 NVIDIA Corporation GK208 [GeForce GT 710B]
| | \-00.1 NVIDIA Corporation GK208 HDMI/DP Audio Controller
| +-06.0-[23]----00.0 Intel Corporation 82572EI Gigabit Ethernet Controller (Copper)
| \-07.0-[24]--
+-02.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-03.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-03.1-[25]--+-00.0 Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+
| \-00.1 Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+
+-04.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-07.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-07.1-[26]--+-00.0 Advanced Micro Devices, Inc. [AMD] Device 145a
| +-00.2 Advanced Micro Devices, Inc. [AMD] Device 1456
| \-00.3 Advanced Micro Devices, Inc. [AMD] Device 145c
+-08.0 Advanced Micro Devices, Inc. [AMD] Device 1452
+-08.1-[27]--+-00.0 Advanced Micro Devices, Inc. [AMD] Device 1455
| +-00.2 Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
| \-00.3 Advanced Micro Devices, Inc. [AMD] Device 1457
+-14.0 Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
+-14.3 Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
+-18.0 Advanced Micro Devices, Inc. [AMD] Device 1460
+-18.1 Advanced Micro Devices, Inc. [AMD] Device 1461
+-18.2 Advanced Micro Devices, Inc. [AMD] Device 1462
+-18.3 Advanced Micro Devices, Inc. [AMD] Device 1463
+-18.4 Advanced Micro Devices, Inc. [AMD] Device 1464
+-18.5 Advanced Micro Devices, Inc. [AMD] Device 1465
+-18.6 Advanced Micro Devices, Inc. [AMD] Device 1466
\-18.7 Advanced Micro Devices, Inc. [AMD] Device 1467
# lspci; find /sys/kernel/iommu_groups/ -type l
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1460
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1461
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1462
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1463
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1464
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1465
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1466
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1467
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43bb (rev 02)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b7 (rev 02)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02)
1d:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
1f:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
21:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1)
21:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
23:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)
25:00.0 Ethernet controller: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (rev 01)
25:00.1 Ethernet controller: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (rev 01)
26:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 145a
26:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1456
26:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 145c
27:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 1455
27:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
27:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457
/sys/kernel/iommu_groups/7/devices/0000:00:18.6
/sys/kernel/iommu_groups/7/devices/0000:00:18.4
/sys/kernel/iommu_groups/7/devices/0000:00:18.2
/sys/kernel/iommu_groups/7/devices/0000:00:18.0
/sys/kernel/iommu_groups/7/devices/0000:00:18.7
/sys/kernel/iommu_groups/7/devices/0000:00:18.5
/sys/kernel/iommu_groups/7/devices/0000:00:18.3
/sys/kernel/iommu_groups/7/devices/0000:00:18.1
/sys/kernel/iommu_groups/5/devices/0000:27:00.3
/sys/kernel/iommu_groups/5/devices/0000:00:08.1
/sys/kernel/iommu_groups/5/devices/0000:27:00.2
/sys/kernel/iommu_groups/5/devices/0000:00:08.0
/sys/kernel/iommu_groups/5/devices/0000:27:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:04.0
/sys/kernel/iommu_groups/1/devices/0000:00:02.0
/sys/kernel/iommu_groups/6/devices/0000:00:14.0
/sys/kernel/iommu_groups/6/devices/0000:00:14.3
/sys/kernel/iommu_groups/4/devices/0000:26:00.3
/sys/kernel/iommu_groups/4/devices/0000:00:07.1
/sys/kernel/iommu_groups/4/devices/0000:26:00.2
/sys/kernel/iommu_groups/4/devices/0000:26:00.0
/sys/kernel/iommu_groups/4/devices/0000:00:07.0
/sys/kernel/iommu_groups/2/devices/0000:25:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:03.0
/sys/kernel/iommu_groups/2/devices/0000:25:00.1
/sys/kernel/iommu_groups/2/devices/0000:00:03.1
/sys/kernel/iommu_groups/0/devices/0000:1e:00.0
/sys/kernel/iommu_groups/0/devices/0000:1d:07.0
/sys/kernel/iommu_groups/0/devices/0000:21:00.1
/sys/kernel/iommu_groups/0/devices/0000:03:00.1
/sys/kernel/iommu_groups/0/devices/0000:00:01.3
/sys/kernel/iommu_groups/0/devices/0000:1d:00.0
/sys/kernel/iommu_groups/0/devices/0000:23:00.0
/sys/kernel/iommu_groups/0/devices/0000:1d:06.0
/sys/kernel/iommu_groups/0/devices/0000:03:00.2
/sys/kernel/iommu_groups/0/devices/0000:21:00.0
/sys/kernel/iommu_groups/0/devices/0000:03:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/0/devices/0000:1d:01.0
/sys/kernel/iommu_groups/0/devices/0000:1f:00.0
/sys/kernel/iommu_groups/0/devices/0000:1d:04.0
Mine show the groups. Group 2 has the GTX 1060 and a PCI bridge and a Host bridge...The ryzen screenshot doesn't show the iommu groups is that odd?
back in the days when i used OCAU (your username seems familiar), i think i still have the bright yellow cable sleeving kit that came with my DFI lanparty board in the MISC parts bin at home.same my last AMD cpu purchase was the good old s939 socket cpus ! those were the days with DFI based s939 motherboards !
sweet which GCC version is that ? might need a few GCC version for the newer cpu models i.e. GCC 5 or GCC 6 based
yes same eva2000 from OCAU Haven't been in oc'ing and pc hardware scene in ages though.. more into servers these days with my Centmin Mod LEMP stack = tweaking and tuning of a different kindback in the days when i used OCAU (your username seems familiar), i think i still have the bright yellow cable sleeving kit that came with my DFI lanparty board in the MISC parts bin at home.
There is *SOME* type of ACS working since Ryzen has several different integrated components isolated in their own IOMMU Groups, but the groups themselves are unusable as they currently are. The exception is the single PCIe 16x Slot going to the Processor, which should fall in Group 2 all alone (For as long that you don't bifucarte it in X370 as 8x/8x, because contrary to my spectations, it has been proven that two cards gets into the same group), thus as things are, out of the box you should be able to pass a single card attached to that slot, and have another Video Card for the host in a PCIe Slot attached to the Chipset that doesn't conflict with that group.I tried to read through this all and make sense of it but i am a noob. So am I correct in understanding that acs does work??
if i use a r7 1700 and want to isolate a gfx card to the host, a lan nic to a guest and a tv tuner add in card to another guest this should all work??
if i can do that then i should be able to do the same with some sata drives