Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active March 30, 2023 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/8c22de090c5b012ee55062fd07f7b7d8 to your computer and use it in GitHub Desktop.
Save cleverca22/8c22de090c5b012ee55062fd07f7b7d8 to your computer and use it in GitHub Desktop.
level full range slot size slots bits bits consumed per level
32bit
4gig(2^32) 1mb(2^20) 4096
64bit, granule 4kb
0 256tb(2^48) 512g(2^39) 512 47:39 9
1 512g(2^39) 1G(2^30) 512 38:30 9
2 1G(2^30) 2M(2^21) 512 29:21 9
3 2M(2^21) 4096(2^12) 512 20:12 9
page 4096(2^12) 11:0
64bit, granule 16kb
0 256tb 128tb 2 47 1
1 128tb 64g 2048 46:36 11
2 64g 32m 2048 35:25 11
3 32m 16kb 2048 24:14 11
page 16kb 13:0
64bit, granule 64kb
1 256tb 4tb 64 47:42 6
2 4tb 512m 8192 41:29 13
3 512m 64kb 8192 28:16 13
page 64kb 15:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment