DPDK support is openvswitch is broken and configuration documentation is outdated
by Marcos Felipe Schwarz
Hi all.
I tried to use the openvswitch with dpdk in Clear Linux 12450, but noticed a few problems.
First, since version 2.6.0 the procedure to enable DPDK has changed and the flag --dpdk is not supported by the ovs-vswitchd command anymore, instead it is now necessary to configure DPDK using the ovs-vsctl command to set the other_config field with the desired parameters as detailed in https://github.com/openvswitch/ovs/blob/branch-2.6/INSTALL.DPDK.md. So the documentation in https://clearlinux.org/documentation/ac-ovs-dpdk.html should be updated. Exchanging the procedure number 7 from the "Using Linux OpenvSwitch-DPDK" section to the one detailed in the 2.6 documentation, ex:
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="2048,0"
Second, even with the correct commands, dpdk was not working, since the package is missing the flag "--with-dpdk" in the configure command of the SPEC file. After regenerating the package and using the correct procedure, the dpdk support in OVS worked as expected.
Regards,
Marcos Schwarz
Diretoria de Pesquisa & Desenvolvimento (DPD) / Research & Development Department
Gerência de Redes para Experimentos (GRE) / Management of Network for Experiments
RNP – Rede Nacional de Ensino e Pesquisa
http://www.rnp.br
Telefone: +55 (19) 3787 3386
E-mail: marcos.schwarz(a)rnp.br
4 years, 2 months
[PATCH clr-bundles] Deprecate sysadmin-advanced
by William Douglas
The sysadmin-advanced bundle pulls in a variety of parts from other
bundles. Have users to pull those bits in themselves (with more
complete toolchains) or use a more conglomerate bundle (user-basic)
instead.
---
bundles/sysadmin-advanced | 32 ++++----------------------------
bundles/sysadmin-basic | 8 ++++++++
2 files changed, 12 insertions(+), 28 deletions(-)
diff --git a/bundles/sysadmin-advanced b/bundles/sysadmin-advanced
index 6a64a74..41de3fb 100644
--- a/bundles/sysadmin-advanced
+++ b/bundles/sysadmin-advanced
@@ -1,32 +1,8 @@
# [TITLE]: sysadmin-advanced
# [DESCRIPTION]: Toolchest that a sysadmin needs to diagnose issues
-# [STATUS]: Active
-# [CAPABILITIES]:
+# [STATUS]: Deprecated
+# [CAPABILITIES]:
# [MAINTAINER]: Arjan van de Ven <arjan(a)linux.intel.com>
+include(dev-utils)
+include(network-basic)
include(sysadmin-basic)
-include(pnp-tools-advanced)
-gdb
-strace
-ltrace
-powertop
-mcelog
-clr-debug-info
-linux-tools
-procps-ng
-numactl
-util-linux
-coreutils
-iputils
-iproute2
-net-tools
-dmidecode
-tcpdump
-netcat
-lsacpi
-pciutils
-usbutils
-acpica-unix2
-hdparm
-setserial
-iperf
-socat
diff --git a/bundles/sysadmin-basic b/bundles/sysadmin-basic
index e0fe127..d2e3204 100644
--- a/bundles/sysadmin-basic
+++ b/bundles/sysadmin-basic
@@ -6,6 +6,7 @@
# pciutils is not autospeced and so -data and -doc are specified manually
# This bundle specificly contains all -doc bundles for os-core as well due
# to size constraints for os-core.
+acpica-unix2
bash
bzip2
clr-boot-manager
@@ -15,6 +16,7 @@ collectl
coreutils
cpuid
dbus
+dmidecode
dos2unix
e2fsprogs
efibootmgr
@@ -24,8 +26,10 @@ gawk
gawk-extras
grep
gzip
+hdparm
hostname
htop
+iperf
iproute2
kbd
kmod
@@ -37,9 +41,11 @@ lsof
man-db
man-pages
mc
+mcelog
mosh
motd-update
nano
+numactl
parallel
pciutils
pciutils-data
@@ -49,10 +55,12 @@ powertop
procps-ng
psmisc
sed
+setserial
shadow
shadow-doc
shadow-locale
sharutils
+socat
strace
sudo
systemd
--
2.11.0
4 years, 2 months
[PATCH clr-bundles] Deprecate sysadmin-advanced
by William Douglas
The sysadmin-advanced bundle pulls in a variety of parts from other
bundles. Have users to pull those bits in themselves (with more
complete toolchains) or use a more conglomerate bundle (user-basic)
instead.
---
bundles/sysadmin-advanced | 32 +++-----------------------------
bundles/sysadmin-basic | 8 ++++++++
2 files changed, 11 insertions(+), 29 deletions(-)
diff --git a/bundles/sysadmin-advanced b/bundles/sysadmin-advanced
index 6a64a74..f52e18c 100644
--- a/bundles/sysadmin-advanced
+++ b/bundles/sysadmin-advanced
@@ -1,32 +1,6 @@
# [TITLE]: sysadmin-advanced
# [DESCRIPTION]: Toolchest that a sysadmin needs to diagnose issues
-# [STATUS]: Active
-# [CAPABILITIES]:
+# [STATUS]: Deprecated
+# [CAPABILITIES]:
# [MAINTAINER]: Arjan van de Ven <arjan(a)linux.intel.com>
-include(sysadmin-basic)
-include(pnp-tools-advanced)
-gdb
-strace
-ltrace
-powertop
-mcelog
-clr-debug-info
-linux-tools
-procps-ng
-numactl
-util-linux
-coreutils
-iputils
-iproute2
-net-tools
-dmidecode
-tcpdump
-netcat
-lsacpi
-pciutils
-usbutils
-acpica-unix2
-hdparm
-setserial
-iperf
-socat
+filesystem
diff --git a/bundles/sysadmin-basic b/bundles/sysadmin-basic
index e0fe127..d2e3204 100644
--- a/bundles/sysadmin-basic
+++ b/bundles/sysadmin-basic
@@ -6,6 +6,7 @@
# pciutils is not autospeced and so -data and -doc are specified manually
# This bundle specificly contains all -doc bundles for os-core as well due
# to size constraints for os-core.
+acpica-unix2
bash
bzip2
clr-boot-manager
@@ -15,6 +16,7 @@ collectl
coreutils
cpuid
dbus
+dmidecode
dos2unix
e2fsprogs
efibootmgr
@@ -24,8 +26,10 @@ gawk
gawk-extras
grep
gzip
+hdparm
hostname
htop
+iperf
iproute2
kbd
kmod
@@ -37,9 +41,11 @@ lsof
man-db
man-pages
mc
+mcelog
mosh
motd-update
nano
+numactl
parallel
pciutils
pciutils-data
@@ -49,10 +55,12 @@ powertop
procps-ng
psmisc
sed
+setserial
shadow
shadow-doc
shadow-locale
sharutils
+socat
strace
sudo
systemd
--
2.11.0
4 years, 2 months
swupd-client 3.7.6 Release Notes
by Marcu, Tudor
This client release enables mandatory signature verification, which means
the Manifest.MoM signature MUST verify correctly for an update operation to
continue, else swupd will exit. This ensures that wherever the content comes
from, clients are guaranteed to receive the "correct" content that they were
intended to consume. It also forces clients to remain on the secure update
path if only verifiable content is allowed on the system.
4 years, 2 months
[PATCH clr-bundles] Add gmp to c-basic
by William Douglas
gmp is required for building compiler plugins so add it to c-basic.
---
bundles/c-basic | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bundles/c-basic b/bundles/c-basic
index 02c71c2..dd7d6bc 100644
--- a/bundles/c-basic
+++ b/bundles/c-basic
@@ -17,10 +17,14 @@ cmake-dev
flex
gcc
gcc-dev
-libstdc++
glibc-utils
+gmp-dev
+gmp-doc
+gmp-lib
+gmp-libgmpxx4
libc6-dev
libc6-locale
+libstdc++
libtool
libtool-dev
linux-libc-headers
--
2.11.0
4 years, 2 months
Dual boot with existing UEFI OSes
by LeMay, Michael
Hi,
What is the procedure for installing Clear Linux alongside existing UEFI OSes? I'm replacing a previous installation of RHEL with Clear Linux, and I want Clear Linux to overwrite the boot loader configuration from RHEL. The first OS installed on the system was Windows 8.1, and that needs to remain installed. I tried setting the mountpoint of the existing UEFI partition to /boot in the Clear Linux installer, and I can see that the installer has populated /boot/loader with various files. However, when I boot the system, the RHEL bootloader appears with only the old RHEL and Windows boot options.
Thanks,
Michael LeMay
4 years, 2 months
[PATCH clr-bundles] Add efibootmgr to os-core-update
by William Douglas
Also ensure docs are included in sysadmin-basic.
---
bundles/os-core-update | 1 +
bundles/sysadmin-basic | 1 +
2 files changed, 2 insertions(+)
diff --git a/bundles/os-core-update b/bundles/os-core-update
index 10a6bd0..3285611 100644
--- a/bundles/os-core-update
+++ b/bundles/os-core-update
@@ -9,6 +9,7 @@ bzip2
clr-boot-manager-bin
clr-boot-manager-config
clr-hardware-files
+efibootmgr-bin
findutils-bin
gzip-bin
pacrunner
diff --git a/bundles/sysadmin-basic b/bundles/sysadmin-basic
index e1d37e5..3a216f1 100644
--- a/bundles/sysadmin-basic
+++ b/bundles/sysadmin-basic
@@ -16,6 +16,7 @@ cpuid
dbus
dos2unix
e2fsprogs
+efibootmgr
file
findutils
gawk
--
2.11.0
4 years, 2 months
[PATCH clr-bundles] Include binutils subpackages for c-basic
by William Douglas
Add development headers and documentation for binutils. This will allow
users to build gcc plugins with the c-basic bundle.
---
bundles/c-basic | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bundles/c-basic b/bundles/c-basic
index 9616833..02c71c2 100644
--- a/bundles/c-basic
+++ b/bundles/c-basic
@@ -8,6 +8,9 @@ autogen
automake
automake-dev
binutils
+binutils-dev
+binutils-doc
+binutils-locale
bison
cmake
cmake-dev
--
2.11.0
4 years, 2 months