Texture queue census: slots waiting for a look again are not waiting for their memory
The census counted a slot uploaded whole and waiting for its looks again
(RECHECK_FRAMES 4, 12, 40, 120, 400 frames: in the queue up to 576 frames
after its upload) as "waiting for their memory", and its old write as "the
oldest". In coolfox-20261126-223059 at 17:02:04 the queue line said 19,277
waiting for their memory when the looks that had found memory not there
numbered 1,700 in the whole run (17:01:45: 6,842 vs 104; 17:01:59: 19,023 vs
471): nine in ten or more of them were uploaded textures waiting for a look
again, not streaming. They are counted apart now ("uploaded whole and waiting
to be looked at again"), and "the oldest" is of slots not uploaded yet.
A new 5-second line says how late first uploads are: slots served for the
first time at their first look, with the frames they had been due before the
pass took them (the pass's own lateness: its time cap), and slots served
after their memory was found not there, with the frames since their write
(streaming: mapping that came late).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
36c4c3746c
commit
c1d1b4ee76
3 files changed
+100
-15
No files matched your search
@@ -886,8 +886,9 @@ pub(crate) static HEAP_TEXTURES_AWAY: AtomicU64 = AtomicU64::new(0);
|
||||
pub(crate) static HEAP_TEXTURES_TABLED: AtomicU64 = AtomicU64::new(0);
|
||||
/// The queue of textures picked by index at the last pass
|
||||
/// (`TextureQueue::census`): slots in it, due, waiting for their memory,
|
||||
/// uploaded in part, and the frames the oldest due one has waited.
|
||||
pub(crate) static HEAP_TEXTURES_QUEUE: [AtomicU64; 5] = [const { AtomicU64::new(0) }; 5];
|
||||
/// uploaded in part, the frames the oldest due one has waited, and those
|
||||
/// uploaded whole that wait for a look again.
|
||||
pub(crate) static HEAP_TEXTURES_QUEUE: [AtomicU64; 6] = [const { AtomicU64::new(0) }; 6];
|
||||
/// Since the start: looks at a slot uploaded in part that found no more of
|
||||
/// its memory mapped; uploads of textures not all mapped; and of those,
|
||||
/// the ones whose first page was not there (asked by the first page alone,
|
||||
|
||||
Reference in new issue
Block a user