2024-05-29.log

joscherle: i already profiled it. Results above. The slow parts are hundreds of calls to modinfo, cp and mkdir00:02
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149.210.0.13)00:06
erlejosch what tool do you use to profile shell scripts if i may ask? (i use annotate-output-relative and strace and ltrace).00:07
+ Ar|stote|is (~linx@149.210.0.52)00:12
- Ar|stote|is (QUIT: Ping timeout: 268 seconds) (~linx@149.210.0.52)00:22
+ Ar|stote|is (~linx@149.210.0.216)00:26
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)01:35
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.0.216)01:47
+ Ar|stote|is (~linx@149.210.0.216)01:48
- Ar|stote|is (QUIT: Ping timeout: 255 seconds) (~linx@149.210.0.216)01:54
+ Ar|stote|is (~linx@149.210.3.168)01:58
- Ar|stote|is (QUIT: Ping timeout: 268 seconds) (~linx@149.210.3.168)02:19
+ Ar|stote|is (~linx@149.210.1.251)02:23
- cobra (QUIT: Ping timeout: 260 seconds) (~cobra@user/Cobra)03:54
- yankcrime (QUIT: Quit: "") (~nick@gw.tetromino.io)04:17
+ yankcrime (~nick@gw.tetromino.io)04:18
+ chomwitt (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)05:16
- robin (QUIT: Ping timeout: 268 seconds) (~robin@user/terpri)07:17
+ robin (~robin@user/terpri)08:06
- Ar|stote|is (QUIT: Ping timeout: 268 seconds) (~linx@149.210.1.251)08:22
+ Ar|stote|is (~linx@149.210.26.5)08:42
- Ar|stote|is (QUIT: Ping timeout: 255 seconds) (~linx@149.210.26.5)08:49
+ Ar|stote|is (~linx@149.210.24.250)08:53
ex-parrothello everyone09:14
josch_o/09:33
joscherle: what is annotate-output-relative?09:33
minuteex-parrot: hello!09:57
- chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)10:20
- Ar|stote|is (QUIT: Ping timeout: 255 seconds) (~linx@149.210.24.250)10:47
+ Ar|stote|is (~linx@149.210.27.203)10:52
+ mjw (~mjw@gnu.wildebeest.org)11:46
- iank (QUIT: Ping timeout: 268 seconds) (~iank@fsf/staff/iank)12:10
+ iank (~iank@fsf/staff/iank)12:22
erlejosch it's annotate-output, but with relative time in milliseconds http://news.dieweltistgarnichtso.net/bin/annotate-output-relative12:56
erlejosch i don't *think* annotate-output can do this. can it?12:57
erlejosch output is like this: https://mister-muffin.de/p/SQGH.txt12:59
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org)13:29
joscherle: could you submit your changes as a merge request to the annotate-output upstream? thanks!13:38
* Guest8519 -> mjw13:38
joscherle: seems we have independently created very similar shell horrors: https://salsa.debian.org/debian/devscripts/-/blob/fa86bf6d6d0683198f8c08da8ce69bb928a53306/scripts/annotate-output.sh#L7913:42
erlejosch oh, i did not know you were the author of annotate-output14:21
erlejosch i would have to work a bit on the command line handling to even propose a merge14:22
minutejosch: new kernel appears to have a regression with hdmi on imx8mp, investigating (drivers don't load/probe)14:27
minuteinstead we get > platform 32fd8000.hdmi: deferred probe pending: platform: supplier 32fc0000.blk-ctrl not ready14:29
erlejosch btw you can avoid path lookups for commands executed often like date(1), by first capturing it's path with WHATEVER=$(command -v whatever) and then just using $WHATEVER instead14:32
erleobviously this incurs the overhead of one subshell, so it's only ever useful if you execute something a lot14:33
erlejosch you can easily see this by comparing “strace -c sh -c 'factor 2'” and “strace -c sh -c '/usr/bin/factor 2'” – on my system the not-absolute path incurs an overhead of 3 stat64 syscalls.14:37
erleso 6 syscalls overall vs 3 syscalls overall14:38
grimmwareerle: oh that’s interesting, I thought that all path searches were done by just blindly shipping an execve on the prepended paths in order but I guess that’s shell implementation specific and sh stats instead? Had to do a bunch of work to get around bash and zsh not being an absolute spam cannon of path searches when trying gather executed commands under eBPF14:47
erlegrimmware i have no idea if this is shell implementation specific, but it seems to me the overhead is obviously there due to $PATH with fallback paths existing at all. if you go the plan 9 route and use overlay filesystems, all of that is handled somewhere else i guess.14:51
erle(the path can always be absolute then, filesystem gives you the top-most binary)14:52
minutethe thing that is pending is > hdmi_blk_ctrl: blk-ctrl@32fc0000 > compatible = "fsl,imx8mp-hdmi-blk-ctrl", "syscon";14:53
minutethe first 9pocket reform https://mastodon.social/@1g0r/11252446914902770114:55
grimmwareYeah plan 9 just bind mounts it all into /bin14:55
minutehttp://9lab.org/plan9/mnt-pocket-reform-arrived/14:55
- Gooberpatrol66 (QUIT: Quit: Konversation terminated!) (~Gooberpat@user/gooberpatrol66)14:58
grimmwareminute: nice, looks like he simulates processors for a living so that’s good news for the porting effort, especially given the imx8 already works14:59
AbortRetryFaildoes it count with just drawterm? :)15:08
+ chomwitt (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)15:09
AbortRetryFailman that rgb keyboard looks so cool15:09
- chomwitt (QUIT: Ping timeout: 272 seconds) (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)15:28
minutehdmi patches uses "power-domains@14" 15:29
minutebut everything else "power-domain@10" etc (singular)15:30
+ cobra (~cobra@user/Cobra)15:41
+ mark_ (~mjw@gnu.wildebeest.org)15:58
AbortRetryFailhow new is the HDMI breakage? I just updated mine Saturday and HDMI was working fine.16:17
minuteAbortRetryFail: you have pocket already since saturday?16:20
AbortRetryFailoh, nope. imx8 reform 16:21
AbortRetryFailunaffected i guess :)16:21
- Ar|stote|is (QUIT: Ping timeout: 268 seconds) (~linx@149.210.27.203)16:22
joschminute: sorry for the imx8mq hdmi troubles -- it is very likely that i did a bad rebase :/16:38
+ Ar|stote|is (~linx@149.210.12.195)16:41
- Ar|stote|is (QUIT: Ping timeout: 268 seconds) (~linx@149.210.12.195)16:59
+ Ar|stote|is (~linx@149.210.32.215)17:02
+ chomwitt (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)17:06
minutejosch: i don't think so... some device tree nodes just evolved, i think they added some clocks in the kernel that weren't activated now 17:17
minutejosch: https://source.mnt.re/reform/reform-debian-packages/-/merge_requests/3817:17
minute(need to test on device after build process, so far i only tested with modified .dtb)17:17
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149.210.32.215)17:21
+ Ar|stote|is (~linx@149.210.32.218)17:27
minuteargh https://source.mnt.re/reform/reform-debian-packages/-/jobs/4415#L211217:44
minutejosch: do you have some magic for realigning patches like that?17:45
joschminute: i wish i had -- i manually inspect and edit the patch because usually, fuzz means that the hunk is applied at the wrong location18:14
joschand even if it's the correct location, i have to read it manually to make sure that that is indeed the case18:14
joschminute: want me to have a look or are you taking care of it?18:16
minutejosch: if you have time, it would be wonderful, i have to run away for today18:28
minutebut no stress18:28
* mjw -> Guest16218:49
- Guest162 (QUIT: Killed (tantalum.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:49
* mark_ -> mjw18:49
+ Guest162 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:50
- chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)18:55
+ chomwitt (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)19:49
+ gustav28 (~gustav@c-2834524e.019-141-67626730.bbcust.telenor.se)20:02
joschminute: it seems that two spaces were missing and thus the patch only applied with fuzz: https://source.mnt.re/reform/reform-debian-packages/-/commit/5110500a6b6df1fdeb3d1dc0caf1b30bb4b0ead520:27
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)20:57
+ reform13173 (~reform@185.240.55.234)21:13
- reform13173 (PART: !!unknown attribute: msg!!) (~reform@185.240.55.234)21:14
+ Guest95 (~Guest95@149.210.32.218)21:43
- Guest95 (QUIT: Client Quit) (~Guest95@149.210.32.218)21:43
- gustav28 (QUIT: Quit: Quit) (~gustav@c-2834524e.019-141-67626730.bbcust.telenor.se)22:15
- robin (QUIT: Read error: Connection reset by peer) (~robin@user/terpri)22:46
- chomwitt (QUIT: Quit: WeeChat 3.8) (~chomwitt@2a02:587:7a21:2700:1ac0:4dff:fedb:a3f1)23:21

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!