[Starlingx-discuss] CPU configuration for dockerd and nproc

Ngo, Tee Tee.Ngo at windriver.com
Wed Apr 15 16:21:26 UTC 2020


Hi,

You must have deployed an All-in-one. The value reflects the number of cores reserved for platform services “source /etc/platform/openrc|grep Platform”. You can allocate more cores to platform using system host-cpu-modify command. A host lock/unlock will be required.

Tee

From: Sten Gruener [mailto:stasik at stasik.com]
Sent: April-15-20 12:12 PM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] CPU configuration for dockerd and nproc

Dear community,

we have got starlingx running on bare metal and experience an issue that docker demon claims only 4 cpus out of 32.

"docker info" output contains
CPUs: 4

"nproc" also returns 4
"nproc --all" returns 32 as expected

/usr/lib/systemd/system/docker.service contains
LimitNPROC=infinity
LimitCORE=infinity

Where are these limit of 4 set and how can I change them?

BR
Sten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200415/c613905e/attachment-0001.html>


More information about the Starlingx-discuss mailing list