#asahi-dev · 2023-02-17 07:46
marcanmaybe mesa should start uclamping things behind apps' back?#asahi-dev · 2023-02-17 07:45
chadmeduclamp goes a long way to fixing that#asahi-dev · 2023-02-17 07:45
chadmedthe scheduler will never, ever, have enough information about those types of loads to work well without some help from userspace#asahi-dev · 2023-02-17 07:44
chadmedthis is why userspace is being encouraged to start making use of uclamp#asahi-dev · 2023-02-17 07:44
marcananyway, we'll see when the recent driver changes are stable and we get the EAS stuff in etc#asahi-dev · 2023-02-17 07:44
marcanthe problem is going to be corner cases, not light workloads#asahi-dev · 2023-02-17 07:44
chadmed(PREEMPT_DYNAMIC and 1000 Hz timer of course) #asahi-dev · 2023-02-17 07:43
chadmedthat being said, with the current default behaviour and uclamp enabled for FAIR tasks i see no apparent loss in interactivity on the desktop #asahi-dev · 2023-02-17 07:42
chadmedalyssa: as lina said it will happen regardless _unless_ the ecores get pushed to 80% util in which case PELT and EAS go out the window and stuff gets shuffled over to less busy cores by force#asahi-dev · 2023-02-16 18:14
svenone more thing to fix #asahi-dev · 2023-02-16 18:14
svenand it even seems to try (and fail) to bring up a USB3 tunnel: [ 7.147637] thunderbolt-apple-nhi 501f00000.nhi: 1:16: USB3 tunnel activation failed, aborting#asahi-dev · 2023-02-16 18:13
svenrkjnsn_: ^--#asahi-dev · 2023-02-16 18:11
sven\o/#asahi-dev · 2023-02-16 18:11
sven[ 5.540027] thunderbolt 0-1: Other World Computing Thunderbolt Hub#asahi-dev · 2023-02-16 18:11
sven[ 5.538700] thunderbolt 0-1: new device found, vendor=0x5a device=0xde40#asahi-dev · 2023-02-16 17:19
svenbut for some reason the NHI doesn’t see the hotplug and I instead get a usb2 hub #asahi-dev · 2023-02-16 17:18
svenand usb4 doesn’t have a svid because it obviously (🤪) isn’t an alternate mode anymore!#asahi-dev · 2023-02-16 17:17
svenI force the mode to thunderbolt anyway#asahi-dev · 2023-02-16 17:08
jannausven: different svid?#asahi-dev · 2023-02-16 16:51
svenhuh, no additional cd321x traffic for that usb4 device. so why doesn’t it enter usb4 mode then :/#asahi-dev · 2023-02-16 16:23
linaSomething something cgroups?#asahi-dev · 2023-02-16 16:23
linaIt basically doesn't make any sense not to throw UI tasks immediately on the P cores, in my opinion. Anything less and you risk reduced responsiveness, since the scheduler has no idea what the upcoming CPU requirement will be and anything UI is inherently bursty.#asahi-dev · 2023-02-16 16:23
alyssaOh well#asahi-dev · 2023-02-16 16:23
alyssaBoo :(#asahi-dev · 2023-02-16 16:22
linaI think we're going to have to investigate the scheduler more, possibly make core changes. This is why Apple has fancy usecase-type scheduling in macOS...#asahi-dev · 2023-02-16 16:22
linaalyssa: It'll still happen for many GPU workloads... Anything where the workload isn't overall fully CPU-bound will end up having that problem.#asahi-dev · 2023-02-16 16:17
alyssaand then there's less pressure on the CPU scheduler#asahi-dev · 2023-02-16 16:17
alyssahopefully once lina works out the bugs with the sync code this will be fixed#asahi-dev · 2023-02-16 16:17
alyssawhich is what you get if the CPU and GPU aren't running in parallel#asahi-dev · 2023-02-16 16:17
alyssachadmed: I think a big problem are workloads that are bursty, like, no CPU activity followed by a spike and then no activity#asahi-dev · 2023-02-16 13:21
svenI guess the TIPD chips needs some convincing to send that Enter USB message#asahi-dev · 2023-02-16 13:21
svenrkjnsn_: gave that hub you ordered for me a quick spin and it looks like USB4 doesn't work at all yet. it's recognized as a USB2-only device (lol)#asahi-dev · 2023-02-16 09:25
chadmedobviously xonotic is not the most demanding thing in the world... but theres not really much else more demanding i can test right now in terms of interactivity-critical cpu use tasks#asahi-dev · 2023-02-16 09:24
chadmedthere is some low level use of the pcores but the bulk of it happens on the two icestorm cores#asahi-dev · 2023-02-16 09:23
chadmedfwiw xonotic gets essentially pegged to the ecores on my machine and it runs without a hitch #asahi-dev · 2023-02-16 09:23
chadmedespecially with eas enabled, for short loads it will always try to minimise the energy use#asahi-dev · 2023-02-16 09:23
chadmedmarcan, alyssa, jannau, lina: re the scheduling convo in -gpu, theres not a lot that can be done for short (time domain) loads in particular given that the scheduler will never have enough information to about them #asahi-dev · 2023-02-16 09:10
svent: i guess, you just need two m1 macs and be able to run Linux on one of them.#asahi-dev · 2023-02-16 09:06
jannaulet's see if we still can fix the spi-cs-setup-delay-ns u16/u32 issue before 6.2#asahi-dev · 2023-02-16 07:18
t@sven for the tipd driver project could i use a iMac without root and m1 macbook pro?#asahi-dev · 2023-02-15 16:48
ChaosPrincessone more point against email: you cant accidentally forget to reply-all on a github style thing #asahi-dev · 2023-02-15 00:18
axboeexcellent#asahi-dev · 2023-02-15 00:18
marcanack, will do :)#asahi-dev · 2023-02-15 00:17
axboemarcan: yep, just CC me on all of them from the get-go#asahi-dev · 2023-02-15 00:16
marcanaxboe: thanks :) do you want to be CCed on all patches I send out, or just the ones I anticipate might end up in an argument given the people involved?#asahi-dev · 2023-02-14 23:56
axboemarcan: cc me on these things, I'm quite serious when I say I think this is a big deal and if my voice can add a bit of push back to the BS, then I'm more than happy to do so. I absolutely hate for this to be an unnecessary burden, seems like such a waste of time when that energy could be spent so much better on solving actual issues#asahi-dev · 2023-02-14 21:11
povik(playback uses 32-bit slots though)#asahi-dev · 2023-02-14 21:11
poviksure, but there are no 16-bit floats nor 32-bit TDM slots in the picture, so that comment was just misleading#asahi-dev · 2023-02-14 20:58
chadmedmore accurately, i take the slice of samples relating to each speaker and convert the elements of that slice#asahi-dev · 2023-02-14 20:57
chadmedpovik: the buffer which the samples are read into is an array of i16s. I convert them to 32-bit floats after the samples are in.