Deterministic Time Slicing

Based on some initial tests, I found that 2X DTS was able to push heap memory to roughly 2X its previous limits before hitting the GC. Big improvement - and looking forwards to 6X DTS.

This was pre-DTS
Screen Shot 2022-11-22 at 10.19.52

This is at 2X DTS

Reference: for these tests, I’m just inserting into a RBTree<Nat, Nat>.


@ulan I think with large blob data and 2X DTS we still might be able to push canisters to grow to 4GB anyways (for example, inserting 1.5-1.9MB chunks), so this 4GB update issue will still exist.

3 Likes