1873744231719956872, 1870942850684420564, 1738800602568638492
This commit is contained in:
1 parent
ba3674cbd7
commit
a6e6d7616c
15 files changed
+620
No files matched your search
+49
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: "@SheriefFYI 2x faster today perhaps."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/NOTimothyLottes/status/1738916459655336202"
|
||||
author: "NOTimothyLottes"
|
||||
handle: NOTimothyLottes
|
||||
post_id: "1738916459655336202"
|
||||
date: 2023-12-24
|
||||
archived: 2026-08-26
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- SheriefFYI
|
||||
description: "@SheriefFYI 2x faster today perhaps."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1738800602568638492"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/NOTimothyLottes/status/1738916459655336202
|
||||
- Author: NOTimothyLottes (@NOTimothyLottes)
|
||||
- Posted: 2023-12-24 13:36:06
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@NOTimothyLottes** ^1738916459655336202
|
||||
|
||||
**@SheriefFYI**
|
||||
|
||||
2x faster today perhaps. Prior on AMD I had RGP captures of game with 3 separate DMAs. See 0.1ms of GFX idle for a semaphore signal, and 0.1 ms idle for semaphore wait (already signaled) -> 3=0.6 ms GFX idle time/frame. At 120Hz that's >7% of the frame lost, not acceptable IMO.
|
||||
|
||||
**2/** **@NOTimothyLottes** ^1738917893348159912
|
||||
|
||||
**@SheriefFYI**
|
||||
|
||||
... That was just for the transfers, the capture had a lot of dependent async-compute too, but at 200us idle/instance, all that had to be converted to non-async. Cutting waits from 100us to 50us {per signal or wait} wouldn't change the conclusion.
|
||||
|
||||
**3/** **@NOTimothyLottes** ^1738919198192017531
|
||||
|
||||
**@SheriefFYI**
|
||||
|
||||
If drivers had on-GPU syncs, then async would be useful for things like CS index culling into a ring-buffer feeding GFX. But you need fully pipelined syncs for that. Even if they got 50us to 1us, it's still perf death simply due to the idle during drain and fill.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/SheriefFYI/2023-12-24-im-going-to-retract-my-support-for-this-i-just]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@SheriefFYI Sorry I didn't have time to do this during the week, but it seems to be matching my experience a bit more !"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/lectem/status/1738841583707951402"
|
||||
author: "Clément Grégoire"
|
||||
handle: lectem
|
||||
post_id: "1738841583707951402"
|
||||
date: 2023-12-24
|
||||
archived: 2026-08-26
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- SheriefFYI
|
||||
description: "@SheriefFYI Sorry I didn't have time to do this during the week, but it seems to be matching my experience a bit more !"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1738800602568638492"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/lectem/status/1738841583707951402
|
||||
- Author: Clément Grégoire (@lectem)
|
||||
- Posted: 2023-12-24 08:38:34
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@lectem** ^1738841583707951402
|
||||
|
||||
**@SheriefFYI**
|
||||
|
||||
Sorry I didn't have time to do this during the week, but it seems to be matching my experience a bit more !
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/SheriefFYI/2023-12-24-im-going-to-retract-my-support-for-this-i-just]]
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: "I'm going to retract my support for this - I just profiled a scenario where I generate geometry on the CPU every frame, upload it via a copy queue, then have the gfx queue do clears + some work before waiting for same-frame copy."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/SheriefFYI/status/1738800602568638492"
|
||||
author: "Sherief, FYI"
|
||||
handle: SheriefFYI
|
||||
post_id: "1738800602568638492"
|
||||
date: 2023-12-24
|
||||
archived: 2026-08-26
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- SheriefFYI
|
||||
description: "I'm going to retract my support for this - I just profiled a scenario where I generate geometry on the CPU every frame, upload it via a copy queue, then have the gfx queue do clears + some work before waiting for same-frame copy."
|
||||
in_reply_to: ""
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/SheriefFYI/status/1738800602568638492
|
||||
- Author: Sherief, FYI (@SheriefFYI)
|
||||
- Posted: 2023-12-24 05:55:43
|
||||
|
||||
## Thread
|
||||
|
||||
**1/** **@SheriefFYI** ^1738800602568638492
|
||||
|
||||
I'm going to retract my support for this - I just profiled a scenario where I generate geometry on the CPU every frame, upload it via a copy queue, then have the gfx queue do clears + some work before waiting for same-frame copy. Delay is ~50us from signal to gfx queue resuming.
|
||||
|
||||
Branches: [[archive/threads/SheriefFYI/2023-12-24-im-going-to-retract-my-support-for-this-i-just/2023-12-24-lectem-sorry-i-didnt-have-time-to-do-this-during-the]], [[archive/threads/SheriefFYI/2023-12-24-im-going-to-retract-my-support-for-this-i-just/2023-12-24-NOTimothyLottes-2x-faster-today-perhaps-prior-on-amd-i-had-rgp]]
|
||||
|
||||
**2/** **@SheriefFYI** ^1738801049228411350
|
||||
|
||||
I profiled this in multiple cases - vsync on and frame taking < 16ms the wait is longer but that's because other parts of the system clock down, so you still hit your vsync window. At no point was this cross-queue wait a significant cause of delay / missing frame time.
|
||||
|
||||
**3/** **@SheriefFYI** ^1738801643108413737
|
||||
|
||||
Sample data:
|
||||
|
||||

|
||||
@@ -10,3 +10,4 @@ tags:
|
||||
---
|
||||
|
||||
- [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
|
||||
- [[archive/threads/SheriefFYI/2023-12-24-im-going-to-retract-my-support-for-this-i-just]]
|
||||
Reference in new issue
Block a user