!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

503 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant130 Servers

Load older messages


SenderMessageTime
11 Feb 2025
@hexa:lossy.network@hexa:lossy.networkI'm about to set up frigate on an n100 machine with a coral m.2 card21:27:05
@hexa:lossy.network@hexa:lossy.networkso I can probably try and reproduce this in a few days21:27:13
12 Feb 2025
@motiejus:jakstys.ltmotiejusUploaded full svg: https://github.com/NixOS/nixpkgs/issues/381280#issuecomment-2652896354 Good point re worker threads, I'll see if there are any, and profile those.07:45:51
@motiejus:jakstys.ltmotiejus Unrelated: can I start lobbying a CFLAG -fno-omit-frame-pointer, at least on x86_64-linux? So I don't need to do such partial hacks. Some background reading by Brendan Gregg. 07:48:14
@motiejus:jakstys.ltmotiejus

Relevant quote:

Fedora and Ubuntu have now returned frame pointers, which is great news. People should start running these releases in 2024 and will find that CPU flame graphs make more sense, Off-CPU flame graphs work for the first time, and other new things become possible. It's also a win for continuous profilers, as they don't need to convince their customers to make OS changes to get profiles to fully work.

As you can see, this debugging session would benefit from those greatly. :)

07:49:27
@motiejus:jakstys.ltmotiejus *

Relevant quote:

Fedora and Ubuntu have now returned frame pointers, which is great news. People should start running these releases in 2024 and will find that CPU flame graphs make more sense, Off-CPU flame graphs work for the first time, and other new things become possible. It's also a win for continuous profilers, as they don't need to convince their customers to make OS changes to get profiles to fully work.

As you can see, this debugging session would benefit from those greatly.

08:02:37
@motiejus:jakstys.ltmotiejus Uploaded a bunch of flame graphs, probably including worker nodes (if I got the perf command right). 08:26:07
@motiejus:jakstys.ltmotiejus * Uploaded a bunch of flame graphs, probably including worker threads (if I got the perf command right). 08:26:25
@k900:0upti.meK900
In reply to@motiejus:jakstys.lt
Unrelated: can I start lobbying a CFLAG -fno-omit-frame-pointer, at least on x86_64-linux? So I don't need to do such partial hacks. Some background reading by Brendan Gregg.
We tend to use debuginfo for this instead
08:57:01
@motiejus:jakstys.ltmotiejusCan you elaborate?09:07:19
@k900:0upti.meK900We have debuginfo for most hot path packages10:00:19
@k900:0upti.meK900And you can use that with perf to get proper unwinding without frame pointers10:00:33
@k900:0upti.meK900(at the cost of some post-processing time)10:00:41
@motiejus:jakstys.ltmotiejusGreat! I see Python is in the list that has separate debuginfo pkgs; I'll poke around.15:56:01
@motiejus:jakstys.ltmotiejusback to my argument: although the same can be achieved with dbginfo for select packages and is hugely helpful for gdb, but in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)15:56:58
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: although the same can be achieved with dbginfo for select packages and is hugely helpful for gdb, but in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)16:01:15
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: yes, the same can be achieved with dbginfo for select packages and is hugely helpful for gdb. However, in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)e16:01:33
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: yes, the same can be achieved with dbginfo for select packages and is hugely helpful for gdb. However, in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)16:01:39
@motiejus:jakstys.ltmotiejuse.g. in my case, this flag is not available on OpenMP, of which I'd like to have stack frames of in the flamegraph16:03:22
@kira:jakira.spaceKira changed their display name from kira to Kira.19:59:42
@hexa:lossy.network@hexa:lossy.network
02:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU
20:15:00
@hexa:lossy.network@hexa:lossy.network
[   20.102983] apex 0000:02:00.0: Apex performance not throttled due to temperature
20:15:50
@hexa:lossy.network@hexa:lossy.networkoh thx20:15:52
@hexa:lossy.network@hexa:lossy.network
frigate[8635]: ValueError: Failed to load delegate from libedgetpu.so.1.0
20:52:43
@hexa:lossy.network@hexa:lossy.networkhrm20:52:46
@hexa:lossy.network@hexa:lossy.networkdevice must be pci not pcie apparently20:59:15
@hexa:lossy.network@hexa:lossy.networkso, it's up and not killing the n100 yet20:59:27
@hexa:lossy.network@hexa:lossy.networkthe gpu is 10% busy with video things20:59:57
@hexa:lossy.network@hexa:lossy.network * the gpu vpu is 10% busy with video things 21:00:07
@hexa:lossy.network@hexa:lossy.networkfor two cameras at 720p21:00:18

Show newer messages


Back to Room ListRoom Version: 6