Re:Radv: Reduce CPU overhead of draw command recording Code
by Jasper_ on Friday September 16, 2022 @11:36AM
(#32867559)
There are two competing GPU drivers. One of them was winning a benchmark. Now the other one, which Mike works on, is winning a benchmark. Mostly through not doing work you don't need to do, and ALWAYS_INLINE (inline heuristics in most compilers are really simple and usually pretty awful).
Re:Radv: Reduce CPU overhead of draw command recording Code
by MayeulC on Friday September 16, 2022 @04:17AM
(#32863531)
Not sure where the pasta methaphor came from, but I generally like the author's style, and the performance gains are intriguing. I'd be curious what the actual impact is on real-world Vulkan/zink test-cases?
Re:Radv: Reduce CPU overhead of draw command recording Code
by buster on Friday September 16, 2022 @02:19AM
(#32862730)
Apart from all the childish spaghetti talk, etc. i am wondering
if all the removal of code and inlining of functions has some negative side effects (on maintainability, stability, bugs).
The style of the post makes me think this is some child relentlessly removing structure and security checks...
edit: at least the function was not inlined in code but with some compiler flag.
Re:Radv: Reduce CPU overhead of draw command recording Code
by lloeki on Friday September 16, 2022 @08:32AM
(#32865250)
200% outsider, and not my impression at all, I largely don't see how "quirky" has to translate to "childish". I could follow the post just well, but maybe my mind was infected by _why's general style.
Please, allow me to have one more round of chunky bacon.
The style of the post makes me think this is some child relentlessly removing structure and security checks...
edit: at least the function was not inlined in code but with some compiler flag.
Mike is far from a child and his contributions to Mesa speak for themselves. Itβs simply his style of writing for these blog posts.
Please, allow me to have one more round of chunky bacon.
Unsurprisingly it did: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18...
But that's what code review and testing is for :).