Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk Cache #6

Open
jscrane opened this issue Nov 20, 2018 · 0 comments
Open

Disk Cache #6

jscrane opened this issue Nov 20, 2018 · 0 comments

Comments

@jscrane
Copy link
Owner

jscrane commented Nov 20, 2018

  • 128kB (23LC1024): 64kB disk cache + 64kB memory
  • 512 x 128-byte sectors for 8008 disk sectors (4 x 2002 x 128)
  • map sector index (0..8007) to cache index (0..511) by remainder on dividing by 512 (2^9)
  • need 4-bits/sector for occupancy id (sector index divided by 512): 256 bytes
  • need 1-bit/sector for presence/absence id: 64 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant