Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The light of a hundred stars does not equal the light of the moon.


computers / comp.os.linux.advocacy / Re: systemd manages cgroups, among other things

SubjectAuthor
* systemd manages cgroups, among other thingsvallor
+- Re: systemd manages cgroups, among other thingsLawrence D'Oliveiro
+* Re: systemd manages cgroups, among other thingsFarley Flud
|`* Re: systemd manages cgroups, among other thingsLawrence D'Oliveiro
| +- Re: systemd manages cgroups, among other thingsFarley Flud
| +- Re: systemd manages cgroups, among other thingscandycanearter07
| `- Re: systemd manages cgroups, among other thingsStéphane CARPENTIER
+* Re: systemd manages cgroups, among other thingsStéphane CARPENTIER
|`- Re: systemd manages cgroups, among other thingsvallor
`* Re: systemd manages cgroups, among other thingsChris Ahlstrom
 +* Re: systemd manages cgroups, among other thingsvallor
 |`- Re: systemd manages cgroups, among other thingsChris Ahlstrom
 `- Re: systemd manages cgroups, among other thingsrbowman

1
systemd manages cgroups, among other things

<us0ptm$25l4t$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=10996&group=comp.os.linux.advocacy#10996

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 03:13:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <us0ptm$25l4t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Mar 2024 03:13:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cda2e77151c3ff480cf62a348c3884ae";
logging-data="2282653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0fHGEwEiz8KIfe/5c3n8t"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:OoR+c5nt6abvTm+7Nt6lPmHLTTs=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sun, 3 Mar 2024 03:13 UTC

Systemd manages cgroups, among other things.

Farled Fur says he doesn't use systemd. Therefore,
he doesn't have an easy way to manage cgroups
to restrict his containers.

In fact, I don't think Furled Far can even build a container on
his "custom", cut-rate system. ENOTSUP.

"Here's a nickel kid, get yourself a real computer."

--
-v

Re: systemd manages cgroups, among other things

<us0qhb$2adp7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=10997&group=comp.os.linux.advocacy#10997

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 03:24:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <us0qhb$2adp7$1@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Mar 2024 03:24:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1df16df39307445c7cddc792d9e0afb1";
logging-data="2438951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197XLPkwHDpYzAZ/TnKmvnG"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:fRikYt0j6lmtUBX+PujUpSHFjqo=
 by: Lawrence D'Oliv - Sun, 3 Mar 2024 03:24 UTC

On Sun, 3 Mar 2024 03:13:59 -0000 (UTC), vallor wrote:

> Systemd manages cgroups, among other things.

It provides a lot of useful things, like its unified logging system,
timers with capabilities beyond that of cron, and socket listeners with
capabilities beyond that of inetd or xinetd. It basically takes a fresh
look at a whole lot of “traditional” *nix facilities and reimagines them
in a much more powerful fashion.

Note that “containers” are not a predefined concept in Linux as such:
there are a number of different container facilities available in Linux,
all built in terms of cgroups and namespaces and all the other lower-level
infrastructure that Linux provides.

Docker is perhaps the best-known container system, and also the most
elaborate. There are simpler ones that are also easier to understand, like
systemd-nspawn and LXC.

You can even use more than one on the same Linux installation. And I think
containers-within-containers might even work, too.

Re: systemd manages cgroups, among other things

<17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11008&group=comp.os.linux.advocacy#11008

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Re: systemd manages cgroups, among other things
Newsgroups: comp.os.linux.advocacy
References: <us0ptm$25l4t$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 19
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 03 Mar 2024 10:18:50 +0000
Nntp-Posting-Date: Sun, 03 Mar 2024 10:18:50 +0000
X-Received-Bytes: 791
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sun, 3 Mar 2024 10:18 UTC

On Sun, 3 Mar 2024 03:13:59 -0000 (UTC), vallor wrote:

> Systemd manages cgroups, among other things.
>

What use are cgroups on a standalone, desktop workstation?

Hint: Nothing.

>
> he doesn't use systemd. Therefore,
> he doesn't have an easy way to manage cgroups
> to restrict his containers.
>

What containers? I have no stinkin' containers.

Re: systemd manages cgroups, among other things

<65e475f2$0$6438$426a74cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11021&group=comp.os.linux.advocacy#11021

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-a.proxad.net!nnrp5-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: systemd manages cgroups, among other things
References: <us0ptm$25l4t$1@dont-email.me>
Organization: Mulots' Killer
User-Agent: slrn/pre1.0.4-9 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: 03 Mar 2024 13:06:58 GMT
Lines: 22
Message-ID: <65e475f2$0$6438$426a74cc@news.free.fr>
NNTP-Posting-Date: 03 Mar 2024 14:06:58 CET
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1709471218 news-3.free.fr 6438 78.201.248.7:34944
X-Complaints-To: abuse@proxad.net
 by: Stéphane CARPENTIER - Sun, 3 Mar 2024 13:06 UTC

Le 03-03-2024, vallor <vallor@cultnix.org> a écrit :
> Systemd manages cgroups, among other things.
>
> Farled Fur says he doesn't use systemd. Therefore,
> he doesn't have an easy way to manage cgroups
> to restrict his containers.
>
> In fact, I don't think Furled Far can even build a container on
> his "custom", cut-rate system. ENOTSUP.
>
> "Here's a nickel kid, get yourself a real computer."

No, please. I didn't said I was out or arguments for systemd. It's way
funnier when FF/DG/LP/NV/FR/whatever gives himself arguments in favor of
systemd (like he did with bash). OK, for this one he would never had
been able to speak about it, but please, don't give other arguments he
could have hanged himself with. Please, don't break the toy, let it be
as funny as it can.

--
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io

Re: systemd manages cgroups, among other things

<us24p1$2i1ku$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11032&group=comp.os.linux.advocacy#11032

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED.2600:1700:6d90:281f:9307:282c:9456:8790!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 10:25:21 -0500
Organization: None
Message-ID: <us24p1$2i1ku$3@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Sun, 3 Mar 2024 15:25:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2600:1700:6d90:281f:9307:282c:9456:8790";
logging-data="2688670"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: slrn/1.0.3 (Linux)
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
 by: Chris Ahlstrom - Sun, 3 Mar 2024 15:25 UTC

vallor wrote this copyrighted missive and expects royalties:

> Systemd manages cgroups, among other things.
>
> Farled Fur says he doesn't use systemd. Therefore,
> he doesn't have an easy way to manage cgroups
> to restrict his containers.
>
> In fact, I don't think Furled Far can even build a container on
> his "custom", cut-rate system. ENOTSUP.
>
> "Here's a nickel kid, get yourself a real computer."

My Bible:

https://man7.org/tlpi/

The Linux Programming Interface (published in October 2010, No Starch
Press, ISBN 978-1-59327-220-3) is a detailed guide and reference for Linux
and UNIX system programming.

With 1552 pages, 115 diagrams, 88 tables, nearly 200 example programs, and
over 200 exercises, TLPI is the most comprehensive description of Linux
and UNIX system programming available.

--
Tell the truth or trump--but get the trick.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"

Re: systemd manages cgroups, among other things

<us262g$2i9ei$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11035&group=comp.os.linux.advocacy#11035

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED.2603:3024:14d4:100:2689:daed:a958:d5e6!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 15:47:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <us262g$2i9ei$1@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me> <us24p1$2i1ku$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Mar 2024 15:47:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2603:3024:14d4:100:2689:daed:a958:d5e6";
logging-data="2696658"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sun, 3 Mar 2024 15:47 UTC

On Sun, 3 Mar 2024 10:25:21 -0500, Chris Ahlstrom <OFeem1987@teleworm.us>
wrote in <us24p1$2i1ku$3@dont-email.me>:

> vallor wrote this copyrighted missive and expects royalties:
>
>> Systemd manages cgroups, among other things.
>>
>> Farled Fur says he doesn't use systemd. Therefore,
>> he doesn't have an easy way to manage cgroups to restrict his
>> containers.
>>
>> In fact, I don't think Furled Far can even build a container on his
>> "custom", cut-rate system. ENOTSUP.
>>
>> "Here's a nickel kid, get yourself a real computer."
>
> My Bible:
>
> https://man7.org/tlpi/
>
> The Linux Programming Interface (published in October 2010, No
> Starch Press, ISBN 978-1-59327-220-3) is a detailed guide and
> reference for Linux and UNIX system programming.
>
> With 1552 pages, 115 diagrams, 88 tables, nearly 200 example
> programs, and over 200 exercises, TLPI is the most comprehensive
> description of Linux and UNIX system programming available.

Thank you for the pointer(!), but what does that have to
do with cgroups?

$ man cgroups

--
-v

Re: systemd manages cgroups, among other things

<us26ov$2i9ei$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11036&group=comp.os.linux.advocacy#11036

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED.2603:3024:14d4:100:2689:daed:a958:d5e6!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 15:59:27 -0000 (UTC)
Organization: A noiseless patient Spider
Message-ID: <us26ov$2i9ei$2@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me>
<65e475f2$0$6438$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Mar 2024 15:59:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2603:3024:14d4:100:2689:daed:a958:d5e6";
logging-data="2696658"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sun, 3 Mar 2024 15:59 UTC

On 03 Mar 2024 13:06:58 GMT, Stéphane CARPENTIER <sc@fiat-linux.fr> wrote
in <65e475f2$0$6438$426a74cc@news.free.fr>:

> Le 03-03-2024, vallor <vallor@cultnix.org> a écrit :
>> Systemd manages cgroups, among other things.
>>
>> Farled Fur says he doesn't use systemd. Therefore,
>> he doesn't have an easy way to manage cgroups to restrict his
>> containers.
>>
>> In fact, I don't think Furled Far can even build a container on his
>> "custom", cut-rate system. ENOTSUP.
>>
>> "Here's a nickel kid, get yourself a real computer."
>
> No, please. I didn't said I was out or arguments for systemd. It's way
> funnier when FF/DG/LP/NV/FR/whatever gives himself arguments in favor of
> systemd (like he did with bash). OK, for this one he would never had
> been able to speak about it, but please, don't give other arguments he
> could have hanged himself with. Please, don't break the toy, let it be
> as funny as it can.

He'll just dig a deeper hole.

(He already did with fvwm.)

--
-v

Re: systemd manages cgroups, among other things

<l4k07kFl3p9U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11052&group=comp.os.linux.advocacy#11052

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: 3 Mar 2024 19:09:40 GMT
Lines: 14
Message-ID: <l4k07kFl3p9U2@mid.individual.net>
References: <us0ptm$25l4t$1@dont-email.me> <us24p1$2i1ku$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net G7GzwSVvzh4W2GWaHi1TsA/rtc8r+cFjJla8cXf9AK3hwv2N2S
Cancel-Lock: sha1:f3jXD+O0wL6Z4Bh92voyWR18M5U= sha256:HrJ+rL6ocjKOMoIHe6NY08LoDrJlYSQ1FWSkmm6jzME=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Sun, 3 Mar 2024 19:09 UTC

On Sun, 3 Mar 2024 10:25:21 -0500, Chris Ahlstrom wrote:

> The Linux Programming Interface (published in October 2010, No
> Starch Press, ISBN 978-1-59327-220-3) is a detailed guide and
> reference for Linux and UNIX system programming.

https://lwn.net/Kernel/LDD3/

This is the web site for the Third Edition of Linux Device Drivers, by
Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. For the
moment, only the finish

I've got the very obsolete hardcopy version (2005) on my bookshelf along
with some other really dated landfill candidates.

Re: systemd manages cgroups, among other things

<us2kv6$2ltj3$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11064&group=comp.os.linux.advocacy#11064

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Sun, 3 Mar 2024 20:01:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <us2kv6$2ltj3$2@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me>
<17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Mar 2024 20:01:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1df16df39307445c7cddc792d9e0afb1";
logging-data="2815587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r30ua/6a+SvfEuMuXUho+"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:/9sdWd7ZXOjchzSfwVTw+PiOPxM=
 by: Lawrence D'Oliv - Sun, 3 Mar 2024 20:01 UTC

On Sun, 03 Mar 2024 10:18:50 +0000, Farley Flud wrote:

> What use are cgroups on a standalone, desktop workstation?

Try this command on your system:

ls -l /sys/fs/cgroup

On mine, I currently have 35 entries.

What are yours being used for?

Re: systemd manages cgroups, among other things

<17b961ed05071fb8$4063$3424490$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11087&group=comp.os.linux.advocacy#11087

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Re: systemd manages cgroups, among other things
Newsgroups: comp.os.linux.advocacy
References: <us0ptm$25l4t$1@dont-email.me> <17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com> <us2kv6$2ltj3$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 20
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 03 Mar 2024 22:33:24 +0000
Nntp-Posting-Date: Sun, 03 Mar 2024 22:33:24 +0000
X-Received-Bytes: 873
X-Complaints-To: abuse@usenetexpress.com
Organization: UsenetExpress - www.usenetexpress.com
Message-Id: <17b961ed05071fb8$4063$3424490$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sun, 3 Mar 2024 22:33 UTC

On Sun, 3 Mar 2024 20:01:43 -0000 (UTC), Lawrence D'Oliveiro wrote:

>
> Try this command on your system:
>
> ls -l /sys/fs/cgroup
>

[~]# ls /sys/fs
ext4 pstore

Sorry. No cgroups.

That's because my kernel is configured to not include cgroups.

Why have something that's neither needed nor desired?

Any other stupid questions?

Re: systemd manages cgroups, among other things

<us4s2c$37tkv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11104&group=comp.os.linux.advocacy#11104

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Mon, 4 Mar 2024 16:15:08 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 16
Message-ID: <us4s2c$37tkv$1@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me>
<17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com>
<us2kv6$2ltj3$2@dont-email.me>
Injection-Date: Mon, 4 Mar 2024 16:15:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6695cb66ced474865bc5f3ed169c4776";
logging-data="3405471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tNze43W1ikgSCdqLjSQxylwixeSE+58S2eecAH7upYQ=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:hrLwAqE+FhN6iqtS6R40bruc1yo=
 by: candycanearter07 - Mon, 4 Mar 2024 16:15 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 20:01 this Sunday (GMT):
> On Sun, 03 Mar 2024 10:18:50 +0000, Farley Flud wrote:
>
>> What use are cgroups on a standalone, desktop workstation?
>
> Try this command on your system:
>
> ls -l /sys/fs/cgroup
>
> On mine, I currently have 35 entries.
>
> What are yours being used for?

Huh, I have 35 too. Weird coincidence.
--
user <candycane> is generated from /dev/urandom

Re: systemd manages cgroups, among other things

<us5386$39hl3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11117&group=comp.os.linux.advocacy#11117

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: systemd manages cgroups, among other things
Date: Mon, 4 Mar 2024 13:17:40 -0500
Organization: None
Lines: 47
Message-ID: <us5386$39hl3$1@dont-email.me>
References: <us0ptm$25l4t$1@dont-email.me> <us24p1$2i1ku$3@dont-email.me>
<us262g$2i9ei$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 4 Mar 2024 18:17:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="eb740339481633052c3a3ef5ef8285c3";
logging-data="3458723"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MoSyPbgc85vpSr9MZ5qm6"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:bHT4jZ5ZU9pQVYpS8j8myNVXqyY=
X-Slrn: Why use anything else?
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
 by: Chris Ahlstrom - Mon, 4 Mar 2024 18:17 UTC

vallor wrote this copyrighted missive and expects royalties:

> On Sun, 3 Mar 2024 10:25:21 -0500, Chris Ahlstrom <OFeem1987@teleworm.us>
> wrote in <us24p1$2i1ku$3@dont-email.me>:
>
>> vallor wrote this copyrighted missive and expects royalties:
>>
>>> Systemd manages cgroups, among other things.
>>>
>>> Farled Fur says he doesn't use systemd. Therefore,
>>> he doesn't have an easy way to manage cgroups to restrict his
>>> containers.
>>>
>>> In fact, I don't think Furled Far can even build a container on his
>>> "custom", cut-rate system. ENOTSUP.
>>>
>>> "Here's a nickel kid, get yourself a real computer."
>>
>> My Bible:
>>
>> https://man7.org/tlpi/
>>
>> The Linux Programming Interface (published in October 2010, No
>> Starch Press, ISBN 978-1-59327-220-3) is a detailed guide and
>> reference for Linux and UNIX system programming.
>>
>> With 1552 pages, 115 diagrams, 88 tables, nearly 200 example
>> programs, and over 200 exercises, TLPI is the most comprehensive
>> description of Linux and UNIX system programming available.
>
> Thank you for the pointer(!), but what does that have to
> do with cgroups?
>
> $ man cgroups

https://man7.org/conf/ndctechtown2021/cgroups-v2-part-1-intro-NDC-TechTown-2021-Kerrisk.pdf

An introduction to control
groups (cgroups) v2
Michael Kerrisk, man7.org © 2021
mtk@man7.org

Sounds like Kerrisk needs to put out the second edition of his book!

--
Q: What do they call the alphabet in Arkansas?
A: The impossible dream.

Re: systemd manages cgroups, among other things

<65eb74fb$0$2985$426a34cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=11645&group=comp.os.linux.advocacy#11645

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp4-2.free.fr!not-for-mail
Newsgroups: comp.os.linux.advocacy
From: sc@fiat-linux.fr (Stéphane CARPENTIER)
Subject: Re: systemd manages cgroups, among other things
References: <us0ptm$25l4t$1@dont-email.me>
<17b939d73b377edf$68565$1340741$802601b3@news.usenetexpress.com>
<us2kv6$2ltj3$2@dont-email.me>
Organization: Mulots' Killer
User-Agent: slrn/pre1.0.4-9 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: 08 Mar 2024 20:28:43 GMT
Lines: 51
Message-ID: <65eb74fb$0$2985$426a34cc@news.free.fr>
NNTP-Posting-Date: 08 Mar 2024 21:28:43 CET
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1709929723 news-4.free.fr 2985 78.201.248.7:36892
X-Complaints-To: abuse@proxad.net
 by: Stéphane CARPENTIER - Fri, 8 Mar 2024 20:28 UTC

Le 03-03-2024, Lawrence D'Oliveiro <ldo@nz.invalid> a écrit :
> On Sun, 03 Mar 2024 10:18:50 +0000, Farley Flud wrote:
>
>> What use are cgroups on a standalone, desktop workstation?

It's a pity I can't see the original message. At least, I see this funny
question. As you didn't answered it, I will, because it's important to
answer his mistakes. I don't disagree with him because it's not a matter
of taste. It's a matter of knowledge, which he clearly lacks.

Let's be clear: if he doesn't want to use modern stuff, it's a question
of choice. To deduce from it, it's useless for a desktop workstation is
just plain wrong. So, it must be corrected with arguments. And there are
many.

First things first. You have a process which will takes time. There is
no hurry, so it will run in the background and you want to keep using
your computer during this time. I mean, not like FR/DG/LP/FF/whatever
who just stare at his useless computer when he tries to compile
something. So at that moment, you want to force this process to let you
some ressources to let you use your computer. It's the time the cgroups
are useful. You find your compiler takes too many CPU? => use the
cgroups. You find Firefox takes too many memory? => cgroups.

Second, the containers like podman or docker are relying heavily on
cgroups. As he probably believes containers are useless on desktop
workstations, I have to prevent his objection.

A container can be used on a personal computer to be sure it will be run
exactly in the same way as somewhere else. For example, I compile my
LaTeX documents with the same container on my computer and on the gitlab
instance which is hosting my files. Like that, I'm sure the document on
my computer is exactly the same as the one downloaded by others.

The containers are used by immutable distros (not Guix and NixOS but
silverblue). The purpose is to isolate the programs/libraries used by
the end user from those used by the system. Like that, one can use
whatever one want without risk of breaking one's system. And one can
upgrade one's system without risk to have issues to break one's
applications.

Another use is if you want to try something, like a new version of an
application before upgrading it. Or to have two versions of the same
application for different purposes at the same time.

So, yes, cgroups can be useful for normal usage of a personal
desktop workstation. Whatever he says.

--
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor