Remains on the performance cores far, far longer when minimized, but will still shuttle over to the efficiency cores at some point. QOS_CLASS_USER_INITIATED: Definite improvements. Still lives on performance cores when in the foreground and utility cores in the background. QOS_CLASS_USER_INTERACTIVE: No meaningful change from default behavior. I tried adding this the pthread_set_qos_class_self_np call to the start of qemu_thread_start in util/qemu_thread_posix.c - which is definitely getting called, and seems to be the only thing that pthread_create creates - which is how qemu, as I understand it, is creating threads. Is consistent with Apple’s scheduling guidelines, but I spent part of today messing with it, with the following results: The magic code in that patch, pthread_attr_set_qos_class_np(&attr, QOS_CLASS_USER_INTERACTIVE, 0) Thanks - unfortunately, I’ve already tried that method, and it doesn’t work reliably.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |