Skip to contentSkip to conversation

cpuset: Add recipe for cpuset tool 1.6.2

PATCH In review Michael Trimarchi 2 participants 4 messages Aug 25, 2024 – Aug 31, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cpuset: Add recipe for cpuset tool 1.6.2

Cpuset is a Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier. This can be used on linux realtime or standard linux

Example

cset shield --cpu 2-3
echo c > /proc/irq/287/smp_affinity
irq=ps | grep -m 1 "irq/287" | awk '{ print $1 }' cset shield -s -p $irq --force
chrt -f -p 75 $irq

---
V1-V2:
- patch was on wrong project
- suggest to move on meta-openemedded

---
 meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb
meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb new file +13 -0
new file mode 100644
index 000000000..b404d4131
@@ -0,0 +1,13 @@
+SUMMARY = "Cpuset manipulation tool"
+HOMEPAGE = "https://github.com/SUSE/cpuset"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = "git://github.com/SUSE/cpuset.git;protocol=https;branch=master"
+
+SRCREV = "4f80263208935f0df4f616cf9d8cb7285599a670"
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+RDEPENDS:${PN} += "python3-core python3-logging python3-pydoc"
Signature · 1 line
2.43.0
#1 lore raw

Hi Khem

Quoted 6 lines · Michael Trimarchi

Cpuset is a Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier. This can be used on linux realtime or standard linux

Quoted 8 lines

Example

cset shield --cpu 2-3
echo c > /proc/irq/287/smp_affinity
irq=ps | grep -m 1 "irq/287" | awk '{ print $1 }' cset shield -s -p $irq --force
chrt -f -p 75 $irq

Anything more that I need to do. I'm really a newbie here

Michael

Quoted 32 lines

---
V1-V2:
- patch was on wrong project
- suggest to move on meta-openemedded

---
 meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb
meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb new file +13 -1
new file mode 100644
index 000000000..b404d4131
@@ -0,0 +1,13 @@
+SUMMARY = "Cpuset manipulation tool"
+HOMEPAGE = "https://github.com/SUSE/cpuset"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = "git://github.com/SUSE/cpuset.git;protocol=https;branch=master"
+
+SRCREV = "4f80263208935f0df4f616cf9d8cb7285599a670"
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+RDEPENDS:${PN} += "python3-core python3-logging python3-pydoc"
--

2.43.0

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
#3 lore raw

Hi Fabio

Quoted 7 lines · Fabio Estevam

Hi Michael,

On Sat, Aug 31, 2024 at 3:41 PM Michael Nazzareno Trimarchi via lists.openembedded.org <[email protected]> wrote:

Quoted 5 lines
Quoted 1 line

Anything more that I need to do. I'm really a newbie here

Your patch has been applied:

https://github.com/openembedded/meta-openembedded/commit/58a923c96877e5d6cf434d2d69108c5da1c3f552

We are working on other package to add and I'm taking some experience ;)

Thank you

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com