XPU shader pre-compile issues

   2196   25   3
User Avatar
Member
299 posts
Joined: Aug. 2017
Online
brians
KARMA_XPU_THREAD_COMPILE=1

- no powersave mode. It's set to ultimate performance
- all core light up with embree only (also with all devices) when rendering
- update, no difference
- KARMA_XPU_THREAD_COMPILE=1, all cores light up, but each of those processes don't seem to have any effect on the progress (maybe thats expected)
- I'll update with that info once I have it, but going in about 40 labs, this seems to be as slow as before.



I also gave this a spin on a 32 core threadripper with 2x 5090, the load is about double (10-20%), but then again, it has only half the cores (so I guess its about the same speed in the end).

Also tried it on an older machine with dual 20core xeons and a 3080. Same thing.

These are vastly different machines. The only thing they share is windows 11 and 32cores+. And they all work fine during normal rendering.
Edited by ronald_a - Aug. 28, 2026 05:26:55
User Avatar
Staff
626 posts
Joined: May 2019
Offline
hmmmm... very strange.
and if you let one of threadripper machines finish, what is the total time? 2 hours? 20 hours?
thanks
User Avatar
Member
299 posts
Joined: Aug. 2017
Online
brians
hmmmm... very strange.
and if you let one of threadripper machines finish, what is the total time? 2 hours? 20 hours?
thanks

it took almost 6 hours. This is a little bit faster than on the 64 core machine, but I think this is because the single thread performance on this machine is better.
User Avatar
Member
34 posts
Joined: Feb. 2017
Offline
I`m still experiencing same issues after the "fixed" build, eta was 5-6h for single GPU, i gave up after 3h
5090 + RTX PRO 6000, Threadripper 7980x W11, but same issue on different machine with Threadripper PRO 9985WX and single RTX 6000.
User Avatar
Member
13290 posts
Joined: July 2005
Offline
While I'm a fan of making things faster, I feel that compiling things I'm using just-in-time is probably absolutely fine for my home usage, considering my Mtlx library coverage in my average shader is fairly small.

In the studio however, doing this for our render farm might save quite a bit more time. Has there been much more thought to allowing us to customize the destination of these cache files to shared network disk (using lock-files/etc) so we can do can accumulate compiled code, and/or do a complete precompile upon installation/driver change? Perhaps as a cron which would mostly just NOP until it detected a change.

In short, I'll re-run on a (medium-grade: 32-core Threadripper) workstation and report the performance instead.

Looks like ~45min? It might be nice to have an estimated total (Elapsed + Left), and a summary at the end?
Edited by jason_iversen - today 06:56:40

Attachments:
Linux_workstation,_A5000.png (774.3 KB)

Jason Iversen, Technology Supervisor & R&D Lead @ WetaFX
User Avatar
Member
24 posts
Joined: Dec. 2009
Offline
jason_iversen
In the studio however, doing this for our render farm might save quite a bit more time
Hello! I think precompile is only useful in an interactive session, not in a render farm context.
regards,
F.
  • Quick Links