!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

422 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.142 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@jade_:matrix.orgjade_anyway i have run into an old stupid bug where you can't nix store delete a self referencing store path01:34:08
@jade_:matrix.orgjade_i hit that one basically every time i am trying to do benchmarking of nix builds or similarly wanting to clean build a certain path01:34:57
@jade_:matrix.orgjade_https://eclecticlight.co/2022/01/13/scheduling-of-processes-on-m1-series-chips-first-draft/ related info to prev discussion01:37:34
@emilazy:matrix.orgemilyI think I probably already linked to https://blog.xoria.org/macos-tips-threading/ but it has a useful brief overview re: scheduling/QoS01:40:17
@emilazy:matrix.orgemilythough not as detailed of course01:40:29
@hexa:lossy.networkhexaloving the priority QoS has01:40:40
@hexa:lossy.networkhexa* loving the priority QoS has in this flow01:40:42
@hexa:lossy.networkhexawondering how the Linux schedulers deal with P/E core scheduling01:41:09
@emilazy:matrix.orgemilypretty badly I think01:41:26
@emilazy:matrix.orgemilyLinux definitely does not have comparable to the Darwin systemwide QoS handling01:41:51
@jade_:matrix.orgjade_android likely invented one, but it sounds very plausible that it never made its way into desktops01:42:38
@emilazy:matrix.orgemilythere is https://docs.kernel.org/scheduler/sched-energy.html01:42:40
@emilazy:matrix.orgemilybut Darwin fundamentally has more information (since everything in the OS is setting QoS information that passes through IPC and they have a global QoS-aware work scheduling mechanism and etc.)01:43:56
@emilazy:matrix.orgemilythe fun part of efficiency/perf cores is when the two support different ISAs01:44:50
@emilazy:matrix.orgemilyiirc Intel have chips where you can use AVX512 on the P cores but not the E ones or something01:45:11
@emilazy:matrix.orgemilyand if the scheduler messes it up you just die01:45:17
@jade_:matrix.orgjade_intel did this on my machine where only p cores have the perf counters required to run rr01:45:22
@hexa:lossy.networkhexa

EAS in its current form is SMT unaware and is not able to leverage multithreaded hardware to save energy.

01:45:23
@jade_:matrix.orgjade_i have a stupid script to workaround it01:45:27
@emilazy:matrix.orgemilyas in it schedules on the threads of a core separately yeah01:45:52
@emilazy:matrix.orgemilywhich is not good01:45:54
@hexa:lossy.networkhexa

EAS on SMT is not supported.

01:46:05
@hexa:lossy.networkhexayeah01:46:10
@jade_:matrix.orgjade_
lix> Full log written to /nix/var/nix/builds/nix-build-lix-2.94.0-dev-pre20250727-2d01098.drv-0/b/source/build/meson-logs/testlog.txt
lix> installCheckPhase completed in 1 minutes 54 seconds
/nix/store/43cz7wimzcxpk4fc88mwvmiqh9fd5m0i-lix-2.94.0-dev-pre20250727-2d01098-dev
/nix/store/lyrj23vsy491kscr7322y9y8wizry6jl-lix-2.94.0-dev-pre20250727-2d01098-doc
/nix/store/19jn0drzqy8a7lg6z20fpw8zd2c0fxax-lix-2.94.0-dev-pre20250727-2d01098
nb   0.09s user 0.05s system 0% cpu 4:59.22 total
lix> Full log written to /nix/var/nix/builds/nix-build-lix-2.94.0-dev-pre20250727-2d01098.drv-0/b/source/build/meson-logs/testlog.txt
lix> installCheckPhase completed in 59 seconds
/nix/store/43cz7wimzcxpk4fc88mwvmiqh9fd5m0i-lix-2.94.0-dev-pre20250727-2d01098-dev
/nix/store/lyrj23vsy491kscr7322y9y8wizry6jl-lix-2.94.0-dev-pre20250727-2d01098-doc
/nix/store/19jn0drzqy8a7lg6z20fpw8zd2c0fxax-lix-2.94.0-dev-pre20250727-2d01098
nb   0.07s user 0.04s system 0% cpu 3:39.75 total

christ

01:46:11
@jade_:matrix.orgjade_that's insane01:46:16
@emilazy:matrix.orgemilythough idk if anyone really made SMT scheduling very good01:46:24
@jade_:matrix.orgjade_second one is nix-daemon --daemon running in my terminal, first one is nix-daemon via launchd01:46:32
@emilazy:matrix.orgemilyApple didn't bother with SMT at all01:46:38
@jade_:matrix.orgjade_so the second one is QoS Default01:46:38
@hexa:lossy.networkhexaand the launchd one has background priority?01:47:05

Show newer messages


Back to Room ListRoom Version: 10