Commit graph

2486 commits

Author SHA1 Message Date
Yu Watanabe 47b86590af TODO: fix typo 2022-07-07 09:31:43 +09:00
Lennart Poettering 2df264e60c update TODO 2022-07-06 13:13:03 +02:00
Zbigniew Jędrzejewski-Szmek b8df7f8629 user: delegate cpu controller, assign weights to user slices
So far we didn't enable the cpu controller because of overhead of the
accounting. If I'm reading things correctly, delegation was enabled for a while
for the units with user and pam context set, i.e. for user@.service too.
a931ad47a8 added the explicit Delegate=yes|no
switch, but it was initially set to 'yes'.
acc8059129 disabled delegation for user@.service
with the justication that CPU accounting is expensive, but half a year later
a88c5b8ac4 changed DefaultCPUAccounting=yes for
kernels >=4.15 with the justification that CPU accounting is inexpensive there.

In my (very noncomprehensive) testing, I don't see a measurable overhead if the
cpu controller is enabled for user slices. I tried some repeated compilations,
and there is was no statistical difference, but the noise level was fairly
high. Maybe better benchmarking would reveal a difference.

The goal of this change is very simple: currently all of the user session,
including services like the display server and pipewire are under user@.service.
This means that when e.g. a compilation job is started in the session's
app.slice, the processes in session.slice compete for CPU and can be starved.
In particular, audio starts to stutter, etc. With CPU controller enabled,
I can start start 'ninja -C build -j40' in a tab and this doesn't have any
noticable effect on audio.

I don't think the particular values matter too much: the CPU controller is
work-convserving, and presumably the session slice would never need more than
e.g. one 1 full CPU, i.e. half or a quarter of available CPU resources on even
the smallest of today's machines. app.slice and session.slice are assigned
equal weights, background.slice is assigned a smaller fraction. CPUWeight=100
is the default, but I wrote it explicitly to make it easier for users to see
how the split is done. So effectively this should result in session.slice
getting as much power as it needs.

If if turns out that this does have a noticable overhead, we could make it
opt-in. But I think that the benefit to usability is important enough to enable
it by default. W/o something like this the session is not really usable with
background tasks.
2022-07-05 14:40:01 +02:00
Lennart Poettering d486b26fe3 update TODO 2022-07-05 14:22:03 +02:00
Michael Biebl 41d6f3bf4d Use https for freedesktop.org
grep -l -r http:// | xargs sed -E -i s'#http://(.*).freedesktop.org#https://\1.freedesktop.org#'
2022-06-28 13:10:05 +02:00
Yu Watanabe 0dd4876815 sd-bus: drop D-Bus version 2 format support
It seems the format is used only by kdbus.
2022-06-01 03:41:15 +09:00
Zbigniew Jędrzejewski-Szmek 3844a42138 TODO: drop entry
Implemented in 14e6e444dd.
2022-05-26 14:29:50 +02:00
Luca Boccassi 051c4e5419
Merge pull request #23342 from poettering/efi-monotonic-counter-random-seed
sd-boot: include GetNextMonotonicCount() in random seed calculations
2022-05-21 15:08:21 +01:00
Luca Boccassi 070f737083 Update TODO 2022-05-17 17:47:38 +01:00
Yu Watanabe 3881fd406b tree-wide: fix typo 2022-05-14 04:58:47 +09:00
Lennart Poettering 027301b434 update TODO 2022-05-13 17:29:15 +02:00
Luca Boccassi 1f066ce255 Update TODO 2022-05-11 14:51:37 +01:00
Lennart Poettering 32f3e21853 update TODO 2022-05-11 11:05:46 +02:00
Lennart Poettering 3a466defd4 update TODO 2022-05-09 12:17:08 +02:00
Yu Watanabe af2ff171e0
Merge pull request #23272 from keszybz/logind-man-and-rules
Logind man and rules
2022-05-07 04:23:02 +09:00
Zbigniew Jędrzejewski-Szmek 155078c835 meson: move udev rules to rules.d/ 2022-05-05 11:51:44 +02:00
Zbigniew Jędrzejewski-Szmek 4a5f779f0e TODO: add entry about boot entries on the bus
Something like this is needed to allow integration with graphical envs and
fully unprivileged operation.
2022-05-05 11:51:44 +02:00
Lennart Poettering a8796773b0 update TODO 2022-05-05 10:55:18 +02:00
Lennart Poettering fd74ed23c7 update TODO 2022-05-02 16:41:52 +02:00
Lennart Poettering 41be3b099f
Merge pull request #23170 from poettering/creds-copy
import system credentials from sd-stub + qemu fw_cfg + kernel cmdline explicitly in PID 1
2022-05-02 16:32:21 +02:00
Lennart Poettering cfa7d57ba1
Merge pull request #23217 from keszybz/oomd-docs
More cross-references in bootctl/systemctl man pages
2022-04-28 22:30:50 +02:00
Lennart Poettering de62df8103 update TODO 2022-04-28 18:12:00 +02:00
Zbigniew Jędrzejewski-Szmek 483091b0f1 TODO: more entries for bootctl
https://bugzilla.redhat.com/show_bug.cgi?id=2079784#c9
2022-04-28 17:45:44 +02:00
Lennart Poettering 98045d12f6 update TODO 2022-04-28 17:16:33 +02:00
Zbigniew Jędrzejewski-Szmek 76c068b77c man: cross-advertize bootctl and systemctl boot loader support 2022-04-28 16:44:40 +02:00
Yu Watanabe 8ac6b05b7c tree-wide: Fix typo 2022-04-25 10:06:08 +09:00
Lennart Poettering 0b3a64fed9 update TODO 2022-04-22 15:56:33 +02:00
Lennart Poettering 127927b2c2 update TODO 2022-04-22 10:56:47 +02:00
Lennart Poettering 55fc776bbc update TODO 2022-04-20 23:20:08 +02:00
Lennart Poettering fe43a638c5 update TODO 2022-04-20 17:49:17 +02:00
Lennart Poettering 47a9f91760 update TODO 2022-04-20 15:45:10 +02:00
Lennart Poettering 8b82513375 update TODO 2022-04-20 14:49:53 +02:00
Lennart Poettering e4b5226d63 update TODO 2022-04-19 12:44:45 +02:00
Lennart Poettering 256cfb71ae update TODO 2022-04-14 18:38:10 +02:00
Lennart Poettering 9c9c87ac97 update TODO 2022-04-14 15:15:19 +02:00
Lennart Poettering 2f048ad0fe update TODO 2022-04-13 14:41:05 +02:00
Lennart Poettering cfb5bf23d3 update TODO 2022-04-13 10:44:56 +02:00
Yu Watanabe 29d902f03a
Merge pull request #22992 from poettering/loop-dissect-tweaks
loop-util/image dissect fixes
2022-04-11 23:08:46 +09:00
Yu Watanabe 3a258d3a47 fix typo 2022-04-11 00:13:16 +09:00
Lennart Poettering 7cad78c0bc update TODO 2022-04-10 22:52:29 +09:00
Lennart Poettering 11b957b59b update TODO 2022-04-08 22:23:35 +02:00
Lennart Poettering 6247128902 update TODO 2022-04-08 18:59:47 +02:00
Lennart Poettering 5b06ad5132 update TODO 2022-04-08 18:41:51 +02:00
Lennart Poettering 2df2bb1ff4 update TODO 2022-04-08 18:20:22 +02:00
Lennart Poettering 5645b4976e update TODO 2022-04-06 18:37:51 +02:00
Lennart Poettering c0da575a0e update TODO 2022-04-05 14:36:00 +02:00
Lennart Poettering 197be5324e fix TODO 2022-04-05 14:02:36 +02:00
Lennart Poettering 598e431500 update TODO 2022-04-05 13:59:39 +02:00
Lennart Poettering 3e3c49cbe7 update TODO 2022-04-05 10:44:52 +02:00
Lennart Poettering 2cf120f7cf update TODO 2022-04-05 10:44:04 +02:00
Lennart Poettering 666efe94c9 TODO 2022-04-04 16:07:26 +02:00
Lennart Poettering e4f92a62a8 update TODO 2022-04-04 13:14:42 +02:00
Yu Watanabe b17a681be5 tree-wide: fix typo 2022-04-02 00:34:39 +09:00
Lennart Poettering 49888d31b6 update TODO 2022-04-01 11:21:44 +02:00
Lennart Poettering 5b89bff55f update TODO 2022-04-01 11:03:59 +02:00
Lennart Poettering 9e83d3e45f update TODO 2022-03-31 14:39:55 +02:00
Lennart Poettering d360eafb36 update TODO 2022-03-30 16:13:41 +02:00
Yu Watanabe 288bd40620 fix typo 2022-03-29 01:21:51 +09:00
Lennart Poettering dca92ca300 update TODO 2022-03-24 09:44:52 +01:00
Lennart Poettering f1a147f2be update TODO 2022-03-23 12:29:20 +01:00
Lennart Poettering f5d0f21c37 update TODO 2022-03-21 18:17:04 +01:00
Lennart Poettering 178d3ff2aa update TODO 2022-03-19 00:14:55 +01:00
Lennart Poettering f620a36865 update TODO 2022-03-18 11:59:30 +01:00
Lennart Poettering 63a185dc72 update TODO 2022-03-17 16:24:31 +01:00
Lennart Poettering 45cab6e3c1 update TODO 2022-03-16 11:33:27 +01:00
Lennart Poettering a5a316e7a7 update TODO 2022-03-09 14:25:43 +01:00
Lennart Poettering a57d72ceb4 TODO 2022-02-16 13:30:20 +01:00
Lennart Poettering 4cddc18d0a update TODO 2022-02-14 15:44:07 +01:00
Lennart Poettering 594f64f466 update TODO 2022-01-31 18:14:34 +01:00
Zbigniew Jędrzejewski-Szmek 931bc1957b docs: use https:// for fd.o links 2022-01-12 16:05:59 +01:00
Albert Brox 3989bdc1ad core: teach LoadCredential= to load from a directory 2022-01-08 13:17:51 +00:00
Pigmy-penguin cd933f14bd
userdbctl: fix "Password OK" shown even when password is empty or locked (#21308)
userdbctl: fix "Password OK" shown even when password is empty or locked
2022-01-06 16:01:38 +00:00
Zbigniew Jędrzejewski-Szmek 939387bdc6
Merge pull request #21170 from keszybz/delibgcryptify
Allow systemd-resolved and systemd-importd to use libgcrypt or libopenssl
2021-12-03 13:44:53 +01:00
Zbigniew Jędrzejewski-Szmek 7e8facb36b port string_hashsum from libgcrypt to openssl^gcrypt
This allows resolved and importd to be built without libgcrypt.

Note that we now say either 'cryptographic library' or 'cryptolib'.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
2021-12-01 12:36:57 +01:00
Zbigniew Jędrzejewski-Szmek 6214d42bd2 import: port importd from libgcrypt to openssl^gcrypt
This is heavily based on Kevin Kuehler's work, but the logic is also
significantly changed: instead of a straighforward port to openssl, both
versions of the code are kept, and at compile time we pick one or the other.

The code is purposefully kept "dumb" — the idea is that the libgcrypt codepaths
are only temporary and will be removed after everybody upgrades to openssl 3.
Thus, a separate abstraction layer is not introduced. Instead, very simple
ifdefs are used to select one or the other. If we added an abstraction layer,
we'd have to remove it again afterwards, and it don't think it makes sense to
do that for a temporary solution.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

# Conflicts:
#	meson.build
2021-11-30 23:00:21 +01:00
Luca Boccassi d2d8bd3a17 TODO: update dlopen todo list 2021-11-30 16:49:59 +00:00
Lennart Poettering e6f48be8d4 update TODO 2021-11-26 15:18:59 +01:00
Lennart Poettering f08e143c01 update TODO 2021-11-26 14:49:25 +01:00
Lennart Poettering 6d975fe7b3 update TODO 2021-11-25 18:28:44 +01:00
Lennart Poettering f5ba8115e0 update TODO 2021-11-23 22:55:49 +01:00
Lennart Poettering 1ccfb792e4 update TODO 2021-11-19 15:40:08 +01:00
Lennart Poettering e0c311b1aa update TODO 2021-11-12 22:45:03 +01:00
Lennart Poettering af11e0ef84 update TODO 2021-11-11 18:38:26 +01:00
Lennart Poettering cc4cbe49ce update TODO 2021-10-28 08:17:46 +02:00
Lennart Poettering bb5464ad20 update TODO 2021-10-26 15:40:25 +02:00
Luca Boccassi 6dbfbc4667 TODO: add note about chase_symlink flag 2021-10-24 17:00:49 +01:00
Lennart Poettering a07ab1dd8c update TODO 2021-10-22 19:20:13 +02:00
Lennart Poettering a5bf435ed7 update TODO 2021-10-22 17:57:13 +02:00
Lennart Poettering c4fb47365c update TODO 2021-10-11 16:00:34 +02:00
Yu Watanabe b00756030b
Merge pull request #20969 from poettering/cryptenroll-no-homed
cryptenroll: politely refuse enrolling keys into homed volumes
2021-10-10 16:00:07 +09:00
Lennart Poettering de4a575e41 update TODO 2021-10-08 23:50:04 +02:00
Luca Boccassi 1fc8d0c9dd basic: remove khash helpers
No longer used anywhere. So long, and thanks for all the hashes!
2021-10-08 13:11:00 +01:00
Lennart Poettering 7cfe9ec983
Merge pull request #20910 from poettering/nftw-no-more
basic: add recurse_dir() function as modern replacement for nftw()
2021-10-07 22:12:41 +02:00
Lennart Poettering da3ab57cbc update TODO 2021-10-07 15:43:24 +02:00
Lennart Poettering f04d0575c9 update TODO 2021-10-07 11:59:23 +02:00
Lennart Poettering 636c8a1f55 update TODO 2021-09-28 17:06:51 +02:00
Lennart Poettering 3fc0688d42 update TODO 2021-09-23 17:07:25 +02:00
Lennart Poettering f4529c4d97 update TODO 2021-09-13 15:02:57 +02:00
Lennart Poettering 322b3b38a8 update TODO 2021-08-31 17:11:10 +02:00
Lennart Poettering 9c53de8bc5 update TODO 2021-08-28 07:15:12 +02:00