!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

421 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_ I have found a setiopolicy_np but idk what it does 01:22:41
@emilazy:matrix.orgemilyI mean01:22:43
@emilazy:matrix.orgemily I'm pretty sure you can just taskpolicy around the daemon invocation in the launchd service 01:22:51
@emilazy:matrix.orgemilyfor a quick test01:22:54
@jade_:matrix.orgjade_or even just start a daemon outside launchd01:23:45
@jade_:matrix.orgjade_lets try that01:23:47
@jade_:matrix.orgjade_

To change the QoS of a pthread, call pthread_set_qos_class_self_np and pass it the new QoS to apply, as shown in Listing 10-9.
Listing 10-9Changing the QoS of a pthread

pthread_set_qos_class_self_np(QOS_CLASS_BACKGROUND,0);

01:28:35
@jade_:matrix.orgjade_yeah so that was simply untrue01:28:41
@jade_:matrix.orgjade_you can just change your qos class01:28:57
@emilazy:matrix.orgemilyI think tasks and thread priorities are different. maybe.01:29:18
@emilazy:matrix.orgemilymight be wrong.01:29:29
@emilazy:matrix.orgemilyprobably am wrong actually01:29:46
@jade_:matrix.orgjade_i am waiting for lix to build as a benchmark before i go and clone xnu on this machine01:29:49
@emilazy:matrix.orgemilybtw01:29:53
@emilazy:matrix.orgemilyyou know about Instruments, right?01:29:57
@emilazy:matrix.orgemilyyou don't need to disable SIP to get a bunch of profiling data01:30:03
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @jade_:matrix.org
i am waiting for lix to build as a benchmark before i go and clone xnu on this machine
how come you didn't clone xnu yet, i already cloned xnu
01:31:19
@emilazy:matrix.orgemilysome people will do anything to avoid clicking three buttons in a nice GUI :p01:32:12
@jade_:matrix.orgjade_new computer who dis01:32:24
@jade_:matrix.orgjade_i have it on my work computer!01:32:29
@raitobezarius:matrix.orgraitobezarius (DECT: 7248):D01:32:32
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
some people will do anything to avoid clicking three buttons in a nice GUI :p
i use macOS exclusively over SSH
01:32:45
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I have my excuses01:32:47
@jade_:matrix.orgjade_i don't want to click three buttons in a nice GUI and i want to be able to dtrace it if i start having a bad time01:32:53
@emilazy:matrix.orgemilythis is a good way to hate macOS01:33:01
@jade_:matrix.orgjade_well we're all very good at that :)01:33:11
@jade_:matrix.orgjade_I just happen to now have enough macs to be forced to care :P01:33:23
@emilazy:matrix.orgemilythe Instruments UI is basically a very refined UI around the DTrace scripts you'd end up writing for perf analysis already01:33:32
@jade_:matrix.orgjade_mm01:33:42
@emilazy:matrix.orgemilyit can do system-wide profiling and stuff too01:33:57

Show newer messages


Back to Room ListRoom Version: 10