Re: [systemd-devel] CPUAffinity=all ?

2023-03-24 Thread Lennart Poettering
On Do, 23.03.23 16:59, Etienne Champetier (champetier.etie...@gmail.com) wrote: > Le jeu. 23 mars 2023 à 16:37, Etienne Champetier > a écrit : > > > > Hello, > > > > I'm setting `CPUAffinity=0-1` in /etc/systemd/system.conf, this works great. > > Now, I want one of my units to set CPUAffinity to

Re: [systemd-devel] CPUAffinity=all ?

2023-03-23 Thread Mantas Mikulėnas
My wild guess would be "no", in order to remain compatible with CPUs that might be added to the system at runtime. On Thu, Mar 23, 2023, 23:00 Etienne Champetier wrote: > Le jeu. 23 mars 2023 à 16:37, Etienne Champetier > a écrit : > > > > Hello, > > > > I'm setting `CPUAffinity=0-1` in /etc/sy

Re: [systemd-devel] CPUAffinity=all ?

2023-03-23 Thread Etienne Champetier
Le jeu. 23 mars 2023 à 16:37, Etienne Champetier a écrit : > > Hello, > > I'm setting `CPUAffinity=0-1` in /etc/systemd/system.conf, this works great. > Now, I want one of my units to set CPUAffinity to all available CPUs, > without knowing the number of CPUs. > Using `CPUAffinity=` reset the sett

[systemd-devel] CPUAffinity=all ?

2023-03-23 Thread Etienne Champetier
Hello, I'm setting `CPUAffinity=0-1` in /etc/systemd/system.conf, this works great. Now, I want one of my units to set CPUAffinity to all available CPUs, without knowing the number of CPUs. Using `CPUAffinity=` reset the setting but we are still inheriting from the parent so I still have `Cpus_all