{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Caches Flashcards

(3 cards)

1
Q

Effective access time (EAT) formula

A

EAT = hit ratio * TC + (1 - hit ratio) * TM

Where:

  • TC = cache access time
  • TM = memory access time
  • hit ratio = total # of hits divided by total # of references
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Unified vs. split caches

A

Unified caches keep data and instructions together in the same cache, while split cache systems keep an instruction cache and a data cache separately.

Split caches allow better access in parallel but this is costly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fully associative cache behavior

A
  • Any memory block can go into any empty cache line
  • All lines are checked for hits or misses
  • Requires hardware to compare lines in parallel
  • A valid bit is set for each line if it’s occupied
  • Block loaded into vacant cache line if miss occurs
  • If no vacant lines, replacement is required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly