Speed and room: draws' own records left to the draws in the heap sync, 2^20 table slots, textures kept while the card has room
- VICTORY_HEAP_SYNC=all mirrors every copied record at once, as before. - VICTORY_DYNAMIC_SLOTS sets the table slots past the title's. - Room kept for card copies of buffers is 1 GiB at most (was 5 GiB on 24 GB). - VICTORY_TEXTURE_KEEP=0 lets idle textures go after 5 s, as before. - VICTORY_TEXTURE_AWAY_MS: a texture whose memory went is shown 3 s longer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1c8dd3156d
commit
1f1a433676
5 files changed
+270
-56
No files matched your search
@@ -274,7 +274,13 @@ pub(crate) fn card_room_kept() -> u64 {
|
||||
if !card_room_kept_on() || !cards() {
|
||||
return 0;
|
||||
}
|
||||
card_limits().1.saturating_sub(CARD_BYTES[0].load(Ordering::Relaxed) + CARD_REFUSED[1].load(Ordering::Relaxed))
|
||||
// Not more than such copies came to in any session, whatever they may
|
||||
// come to: on a card of 24 GB a quarter of its budget was kept for them,
|
||||
// 5 GB that never came (941 MB in 97 copies after fifteen minutes), and
|
||||
// no texture was made any more with 5 GB of the card free (session
|
||||
// play-1125-0127: 1,453 passes refused, the ground and people black).
|
||||
const SEEN: u64 = 1 << 30;
|
||||
card_limits().1.min(SEEN).saturating_sub(CARD_BYTES[0].load(Ordering::Relaxed) + CARD_REFUSED[1].load(Ordering::Relaxed))
|
||||
}
|
||||
|
||||
/// The copies in the card's memory.
|
||||
|
||||
Reference in new issue
Block a user