1883566551120670753, 1869397269956673662
This commit is contained in:
1 parent
f44a6f55d1
commit
29e5757746
12 files changed
+654
No files matched your search
+45
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: "@NOTimothyLottes My take is similar, but I also feel that a lot of processing is best done predictively in parallel across multiple future frames, one SIMD lane per future frame"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/bmcnett/status/1883581286838919440"
|
||||
author: "bmcnett"
|
||||
handle: bmcnett
|
||||
post_id: "1883581286838919440"
|
||||
date: 2025-01-26
|
||||
archived: 2026-08-25
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- NOTimothyLottes
|
||||
description: "@NOTimothyLottes My take is similar, but I also feel that a lot of processing is best done predictively in parallel across multiple future frames, one SIMD lane per future frame"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1883580512171942335"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/bmcnett/status/1883581286838919440
|
||||
- Author: bmcnett (@bmcnett)
|
||||
- Posted: 2025-01-26 18:22:28
|
||||
|
||||
## Branch
|
||||
|
||||
**1/**
|
||||
|
||||
@NOTimothyLottes My take is similar, but I also feel that a lot of processing is best done predictively in parallel across multiple future frames, one SIMD lane per future frame
|
||||
|
||||
**2/**
|
||||
|
||||
@bmcnett Don't necessarily want to store all predictions raw though. One of the advantages of say simple things like baked directional lightmaps is that one keeps the data for multiple "frames" (or views) in a compressed form until just right before usage, and it's mis-predict safe
|
||||
|
||||
**3/**
|
||||
|
||||
@NOTimothyLottes Yeah, you need to store many prediction outputs in compressed form, with the time dimension being one over which you compress, in addition to whatever spatial dimensions are relevant
|
||||
|
||||
Limited hw support for that, sadly
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling]]
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "@NOTimothyLottes I thought framegen was just an offspring of mpeg2 motion prediction, at least how it was in TVs for 15 years."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/noop_dev/status/1883594247653462329"
|
||||
author: "Boris Chuprin"
|
||||
handle: noop_dev
|
||||
post_id: "1883594247653462329"
|
||||
date: 2025-01-26
|
||||
archived: 2026-08-25
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- NOTimothyLottes
|
||||
description: "@NOTimothyLottes I thought framegen was just an offspring of mpeg2 motion prediction, at least how it was in TVs for 15 years."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1883591956598845661"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/noop_dev/status/1883594247653462329
|
||||
- Author: Boris Chuprin (@noop_dev)
|
||||
- Posted: 2025-01-26 19:13:58
|
||||
|
||||
## Branch
|
||||
|
||||
**1/**
|
||||
|
||||
@NOTimothyLottes I thought framegen was just an offspring of mpeg2 motion prediction, at least how it was in TVs for 15 years.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling]]
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
---
|
||||
title: "@NOTimothyLottes A visualization of said cold caches on a CS workload from Timothy's GDC 2018 Engine Optimization Hot Lap slides: https://gpuopen.com/wp-content/uploads/2018/05/gdc_2018_sponsored_engine_optimization_hot_lap.pptx"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/Varaquilex/status/1883999400260931601"
|
||||
author: "Volkan İlbeyli"
|
||||
handle: Varaquilex
|
||||
post_id: "1883999400260931601"
|
||||
date: 2025-01-27
|
||||
archived: 2026-08-25
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- NOTimothyLottes
|
||||
description: "@NOTimothyLottes A visualization of said cold caches on a CS workload from Timothy's GDC 2018 Engine Optimization Hot Lap slides: https://gpuopen.com/wp-content/uploads/2018/05/gdc_2018_sponsored_engine_optimization_hot_lap.pptx"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1883569959286313322"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/Varaquilex/status/1883999400260931601
|
||||
- Author: Volkan İlbeyli (@Varaquilex)
|
||||
- Posted: 2025-01-27 22:03:54
|
||||
|
||||
## Branch
|
||||
|
||||
**1/**
|
||||
|
||||
@NOTimothyLottes A visualization of said cold caches on a CS workload from Timothy's GDC 2018 Engine Optimization Hot Lap slides: https://gpuopen.com/wp-content/uploads/2018/05/gdc_2018_sponsored_engine_optimization_hot_lap.pptx
|
||||
|
||||

|
||||
|
||||
**2/**
|
||||
|
||||
@Varaquilex Amazingly unfortunate that AMD still doesn't release the tool that those instruction trace captures had been visualized on. It's the best and most useful tool period I've ever seen at any company in the industry.
|
||||
|
||||
**3/**
|
||||
|
||||
@Varaquilex If they did choose to release it, I'd teach the world how to use it well, for free. For hardcore optimization it is close to ideal. RGP doesn't start to really show you what you need to know to make good hardcore engineering decisions on AMD hardware.
|
||||
|
||||
**4/**
|
||||
|
||||
@Varaquilex This is a hint for someone like Valve who could take their RADV SQTT (https://www.phoronix.com/news/RADV-SQTT-Profiling-Support) interface and build something truly transformative for GPU shader engineering
|
||||
|
||||
**5/**
|
||||
|
||||
@Varaquilex Mix that kind of visualization tool with a good shader compiler (and HW intrinsics) and basically it's the kind of crack a serious GPU shader dev cannot say no too
|
||||
|
||||
**6/**
|
||||
|
||||
@NOTimothyLottes That tool was one of the most insightful tools I have ever used. I do miss it. It would really be awesome to see it released to the public.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling]]
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
---
|
||||
title: "Often overlooked aspect of GPU perf scaling"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/NOTimothyLottes/status/1883566551120670753"
|
||||
author: "NOTimothyLottes"
|
||||
handle: NOTimothyLottes
|
||||
post_id: "1883566551120670753"
|
||||
date: 2025-01-26
|
||||
archived: 2026-08-25
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- NOTimothyLottes
|
||||
description: "Often overlooked aspect of GPU perf scaling"
|
||||
in_reply_to: ""
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/NOTimothyLottes/status/1883566551120670753
|
||||
- Author: NOTimothyLottes (@NOTimothyLottes)
|
||||
- Posted: 2025-01-26 17:23:55
|
||||
|
||||
## Thread
|
||||
|
||||
**1/**
|
||||
|
||||
Often overlooked aspect of GPU perf scaling
|
||||
Shaders run at two rates
|
||||
(1.) Cold I$ and K$ rate [significantly slower]
|
||||
(2.) Warm I$ and K$ rate
|
||||
You actually need jobs with small wave count to be sharing the same I$ and K$ across waves (cannot be latency sensitive)
|
||||
|
||||
**2/**
|
||||
|
||||
Big problem with mass amounts of artist graph authored material shaders paired with raster,
|
||||
(1.) More materials
|
||||
(2.) GPU kicks work as wide as possible (due to limited ROP queue size)
|
||||
Both amplify the amount of cold cache work
|
||||
|
||||
**3/**
|
||||
|
||||
Very common to look even at full-screen passes and see quite long first waves/SIMD (cold caches), followed by later warm-cache steady state. As GPUs get huge, it pushes more and more waves into the cold-cache region. Scaling-TAAs do the same by reducing render resolution.
|
||||
|
||||
Branches: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling/2025-01-27-Varaquilex-a-visualization-of-said-cold-caches-on-a-cs]]
|
||||
|
||||
**4/**
|
||||
|
||||
So quite literally the smaller the GPU (aka mobile), the more possible benefits from scaling-TAAs getting reduced resolution, because the cold-cache effects are minimized, etc. But with say the 5090, scaling-TAAs can drop whole GPU efficiency by a substantial amount
|
||||
|
||||
**5/**
|
||||
|
||||
NVIDIA has load prefetch hints (load more lines than required for the load), and AMD should ideally start including the same for both K$ and D$, so one can at least reduce worst case latency. This doesn't solve bandwidth duplication of wide work distribution though.
|
||||
|
||||
**6/**
|
||||
|
||||
There are a few different perf wins from decoupling shading from raster, one is the reduction of cold cache effects. One can loop through waves of work in the same material shader, without exit, without reload of constants, etc.
|
||||
|
||||
**7/**
|
||||
|
||||
Decoupled shading moves a subset of the shading data [material lookup] from interpolated (and thus distributed duplication) to non-temporal streaming (no duplication).
|
||||
|
||||
**8/**
|
||||
|
||||
Likewise if it's same-material same-wave, aka one wave is looping through a local collection of surface, the remaining non-material sampling (that is interpolated) has a higher likely hood of hitting in the cache [less ultimate duplication of data across the chip]
|
||||
|
||||
**9/**
|
||||
|
||||
In modern times with scaling-TAAs and maximum negative mip-bias, by reducing render resolution and maximizing frame rate, one is also minimizing cache reuse. So instead of say shading all the near samples at the same time, each are now divided across perhaps 32 frames
|
||||
|
||||
**10/**
|
||||
|
||||
Thus a massive mismatch between data layout and data usage. The data is stored (and compressed) localized and layered (multiple textures/material), but is increasingly being used in an effectively random access. Both scaling-TAAs and RT are guilty here.
|
||||
|
||||
**11/**
|
||||
|
||||
Games that rely on a mix of {heavy deferred shading, scaling-TAAs (reduced render res), RT noise reduction, and frame generation} are scaling poorly (bad engineering) and scale as a function of increased {latency, artifacts}
|
||||
|
||||
**12/**
|
||||
|
||||
Meanwhile games that are still engineered more like vintage games {high res, low try density, simple baked lightmap textures mostly, MSAA} are scaling relatively well getting high FPS and low latency
|
||||
|
||||
**13/**
|
||||
|
||||
Ultimately all of this hints that it would be better if the per-frame workloads are closer to the vintage games (no-TAA, no frame-gen), and instead one amortizes shading into something that "bakes" in realtime amortized across many frames into the vintage style engine data
|
||||
|
||||
Branches: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling/2025-01-26-bmcnett-my-take-is-similar-but-i-also-feel-that-a-lot-of]]
|
||||
|
||||
**14/**
|
||||
|
||||
All these "AI" spatial-temporal denoise-scaling-TAAs are ultimately just doing really expensive logic to try to reconstruct the surface material properties at high res and local lighting from a blurry/noisy mess then apply the local conditions to the material
|
||||
|
||||
**15/**
|
||||
|
||||
Which is perhaps stupid given the games already easily know the exact high-res material properties, why try to "infer" them burning TOps of logic and heating your office.
|
||||
|
||||
**16/**
|
||||
|
||||
Scaling-denoise-TAAs do hint thought that perhaps the academic methods games use for BPR and shading are quite lacking in terms of amortization of costs.
|
||||
|
||||
**17/**
|
||||
|
||||
Frame-gen when it "works" ok is just an alpha blend between two states. Clearly an engine could be doing that too instead of reshading everything every frame. And an engine could choose when to do that vs something else to avoid artifacts, something a frame-gen cannot do.
|
||||
|
||||
**18/**
|
||||
|
||||
Ultimately the industry will choose if to devolve into AI generated slop-ware where IHVs black box more and more of your engine and you get more and more trapped and lazy. Or break out and do something better and control your own destiny.
|
||||
|
||||
Branches: [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling/2025-01-26-noop_dev-i-thought-framegen-was-just-an-offspring-of-mpeg2]]
|
||||
@@ -36,6 +36,7 @@ tags:
|
||||
- [[archive/threads/NOTimothyLottes/2024-12-16-also-i-wouldnt-just-modify-an-existing-compiler]]
|
||||
- [[archive/threads/NOTimothyLottes/2024-12-16-then-there-are-rough-edges-to-texel-buffer]]
|
||||
- [[archive/threads/NOTimothyLottes/2024-12-21-not-sure-if-this-is-the-end-of-this-story-yet-but]]
|
||||
- [[archive/threads/NOTimothyLottes/2025-01-26-often-overlooked-aspect-of-gpu-perf-scaling]]
|
||||
- [[archive/threads/NOTimothyLottes/2025-04-16-cs-optimization-brain-dumping]]
|
||||
- [[archive/threads/NOTimothyLottes/2025-04-30-3-i-got-side-tracked-by-building-a-language-that]]
|
||||
- [[archive/threads/NOTimothyLottes/2025-04-30-i-laugh-when-people-say-c-is-like-assembly-they]]
|
||||
|
||||
Reference in new issue
Block a user