#asahi-dev · 2023-04-22 04:49
nicolas17and now I finally can't tell the difference between boinc running vs not running#asahi-dev · 2023-04-22 04:48
nicolas17I moved it to its own top-level slice#asahi-dev · 2023-04-22 04:48
nicolas17so I changed the cgroup params of its systemd service unit... no difference, because CPU was still being shared equally between system.slice and user.slice#asahi-dev · 2023-04-22 04:47
nicolas17I had a similar issue with BOINC on my desktop, it's nice'd and ionice'd and SCHED_IDLE'd and it still lagged the interactive desktop... why? cgroups#asahi-dev · 2023-04-22 04:45
nicolas17the konsole cgroup and the firefox cgroup get equal treatment regardless of the nice levels of processes inside, and firefox lags while compiling#asahi-dev · 2023-04-22 04:44
nicolas17because it seems nice levels only set priorities with respect to other processes in the same cgroup, and konsole is being put in a cgroup of its own#asahi-dev · 2023-04-22 04:43
nicolas17I run 'nice ninja' on a terminal and my UI latency still lags#asahi-dev · 2023-04-22 04:42
nicolas17nice is already a mess on modern systems tbh#asahi-dev · 2023-04-22 04:40
nicolas17which sound way fiddlier#asahi-dev · 2023-04-22 04:39
nicolas17I mean it seems easier to rely on userspace devs to set a qos category than to set uclamp values :P#asahi-dev · 2023-04-22 04:38
nicolas17bah, Apple's ~5 qos categories seem way easier to understand for devs...#asahi-dev · 2023-04-22 04:36
nicolas17afaik XNU "background" QoS does that#asahi-dev · 2023-04-22 04:35
nicolas17so is there any "this is low priority background work" hint that would cause such "force to ecores" outcome, without having to pin to specific cores? (which would be too system-specific)#asahi-dev · 2023-04-22 04:33
nicolas17ok *wow*, I didn't expect that much difference#asahi-dev · 2023-04-22 04:33
nicolas17eg. would forcing a background software update or indexing etc. to ecores, or even letting them stay on a slow pstate, reduce overall battery drain, even if it makes the update take longer (and use CPU for longer)?#asahi-dev · 2023-04-22 04:28
nicolas17yeah I was wondering how much such hints would actually help#asahi-dev · 2023-04-22 04:19
nicolas17XNU has some "CPU QoS" thing beyond scheduling priorities, which likely also affects preference for p-cores vs e-cores#asahi-dev · 2023-04-22 04:18
nicolas17does Linux have anything for individual userspace threads to change the performance-power tradeoff?#asahi-dev · 2023-04-22 04:14
nicolas17but that may have been an old version or otherwise different environment#asahi-dev · 2023-04-22 04:14
nicolas17is userspace behaving well? I have seen powertop report that plasma was causing >60 wakeups a second despite nothing visually changing on screen#asahi-dev · 2023-04-22 01:43
nicolas17disabling FindMy "separationMonitoring" so I guess they're desktops#asahi-dev · 2023-04-22 01:42
nicolas17I just spotted "Mac14,8", "Mac14,13" and "Mac14,14" on a server-side config file#asahi-dev · 2023-04-21 23:14
nicolas17https://cdn.discordapp.com/attachments/286612533757083648/1097858457706709103/7ikisr.png (by Retr0id)#asahi-dev · 2023-04-19 06:03
nicolas17hmm do M* SoCs even have the recfg engine?#asahi-dev · 2023-04-19 05:57
nicolas17iPhones have "deep sleep", not sure how that compares to laptop s2ram but afaik they fully power off the main CPUs#asahi-dev · 2023-04-19 05:53
nicolas17"I suspenct macOS still periodically wakes up to do stuff" I think this is even done on Intel, called "powernap" in marketing and "dark wake" internally#asahi-dev · 2023-04-19 05:50
nicolas17yeah and there's also the "sleep proxy"#asahi-dev · 2023-04-19 05:49
nicolas17it's always responsive to network, but I *know* Apple has separate tricks for that (even on Intel), so it's hard to tell when it's really asleep#asahi-dev · 2023-04-19 05:47
nicolas17if I close the lid, for hours... in what state is macOS? is it in something closer to Linux's s2idle or s2ram?#asahi-dev · 2023-04-19 05:45
nicolas17I see now#asahi-dev · 2023-04-19 05:45
nicolas17right, so the OS is telling the SMC "stop charging", while in macOS 13 it can say "stop charging when you reach 80%"#asahi-dev · 2023-04-19 05:44
nicolas17ah so this is being done by macOS?#asahi-dev · 2023-04-19 05:44
nicolas17(been plugged in for days and it's at 92%)#asahi-dev · 2023-04-19 05:43
nicolas17marcan: your fedi post said only macOS 13 has the charge limiting thing, but I'm on macOS 12.6.5 and the battery icon on the status bar says charging is suspended because I rarely use it on battery#asahi-dev · 2023-04-14 19:04
nicolas17ah#asahi-dev · 2023-04-14 18:28
nicolas17jannau: oh so someone else implemented in the meantime?#asahi-dev · 2023-04-14 15:55
nicolas17did you continue on that? did it even get merged for the m1 part?#asahi-dev · 2023-04-14 15:55
nicolas17ChaosPrincess: hey I remember a while ago I tested your spi-nor patch on M2 and it didn't work#asahi-dev · 2023-04-06 05:23
nicolas17but my father works at the insurance company and got the policy through that so uh, that may change "chances of getting screwed over" levels :p#asahi-dev · 2023-04-06 05:21
nicolas17I think declaring the value of those items was for the purpose of calculating the premium (so yes it costs extra)?#asahi-dev · 2023-04-06 05:17
nicolas17getting home insurance we realized my mac was likely the most expensive object to declare >.<' and it's not even a pro/max#asahi-dev · 2023-04-06 05:14
nicolas17possibly less devs with these expensive models too?#asahi-dev · 2023-04-06 05:13
nicolas17has M2#asahi-dev · 2023-04-06 05:13
nicolas17fair, I'm not complaining, I was just curious if there was something especially challenging on the m2 pro changes compared to previous chips ^^#asahi-dev · 2023-04-06 05:08
nicolas17it *seems* to be taking longer since hardware release to get asahi support than the other two updates, but I have an awful sense of time so idk#asahi-dev · 2023-04-06 04:52
nicolas17sounds like m1 -> m1 pro -> m2 were "easier"?#asahi-dev · 2023-04-06 04:52
nicolas17I didn't know m2 pro had changed *that* much#asahi-dev · 2023-04-06 04:52
nicolas17huh#asahi-dev · 2023-01-28 00:28
nicolas17(M2 Pro/Max are coming with 22A8380)#asahi-dev · 2023-01-28 00:16
nicolas17it's common for new macs to come with a preinstalled build that there is no public download for