ArticleslgStudy

computer science

Cache on a stick

Cache on a stick is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cache on a stick rather than just read about it. In short: COASt, an acronym for "cache on a stick", is a packaging standard for modules containing SRAM used as an L2 cache in a computer. COASt modules look like somewhat oversized SIMM modules.

Cache on a stick — main illustration
Cache on a stick — illustration

Key takeaways

  • Cache on a stick belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cache on a stick to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cache on a stick from memory before moving on to harder problems.

Reference excerpt

COASt, an acronym for "cache on a stick", is a packaging standard for modules containing SRAM used as an L2 cache in a computer. COASt modules look like somewhat oversized SIMM modules. These modules were somewhat popular in the Apple and PC platforms during early to mid-1990s, but with newer computers cache is built into either the CPU or the motherboard. COASt modules decoupled the motherboard from its cache, allowing varying configurations to be created. A low-cost system could run with no cache, while a more expensive system could come equipped with 512 KB or more cache. Later COASt modules were equipped with pipelined-burst SRAM. The standard was originally defined by Motorola to be between 4.33 and 4.36 inches (110 and 111 mm) wide, and between 1.12 and 1.16 inches (28 and 29 mm) high. It could be found in many Apple Macintosh in the early-to-mid-1990s, but disappeared as the Mac moved to the PowerPC platform. Intel also used the COASt standard for their Pentium systems, where it could be found as late as 1998 in Pentium MMX systems utilizing Intel chipsets such as 430VX and 430TX. Later, Intel combined this architecture with the CPU and created the Slot 1 CPU cartridge which contained both the CPU and separate cache chips. The slot that the COASt module plugged into was named "CELP", or "card edge low profile", referring to the small circuit board and the conductors on its edge. It had 80 contacts on each side of a circuit board (for a total of 160), spaced 0.050" apart, plus an identification notch between contacts 42 and 43.

Operation COASt modules provided either 256K or 512K of direct-mapped cache, organized as 8192 or 16384 lines of 32 bytes. A 64-bit data bus allowed the cache line to be transferred in a 4-cycle burst. The modules contained 256K or 512K of fast pipeline burst SRAM, plus 8 or 11 bits of even faster static RAM per line to store the cache tags. (The module provides pins for 11 lines, but many motherboards and modules provided only 8.) Some variants (illustrated to the right) placed the tag RAM on the motherboard and only the main cache RAM was on the module.

Consider the 256K module first. An 8-bit tag allows caching memory up to 256 times the cache size, or 64 MiB. An 11-bit tag supports up to 512 MiB. Each cache line also has a valid bit and a dirty bit, stored in the cache controller. (16 Kbits, or 2 Kbytes, total size.) A 512K module contains twice as many cache lines, and so requires one fewer tag bit to support the same cacheable memory size. The leftover tag bit is instead used to store the cache line dirty bit, and all 16 Kbits in the cache controller are used for valid bits.

References

Kozierok, Charles M. (April 17, 2001). "COASt Modules". The PC Guide. Archived from the original on 2019-02-06. Cache Module Physical Installation Procedure, PCGuide, April 17, 2001. Renn, Brian. The Cache Guide: What is COASt?, December 12, 1998. Accutek Microcircuit Corporation, 512KB Secondary Cache Module for the Pentium CPU and 82430 PCISETS, retrieved 2012-01-01. Supports 11-bit tag. Motorola (1996-12-09), 256K/512K Pipelined BurstRAM™ Secondary Cache Module for Pentium™ (PDF), retrieved 2012-01-01. Supports 8-bit tag only.

Illustrations

Cache on a stick: A COASt cache module and a quarter for size comparison. This module has room for a tag RAM on the left-hand side, but none is installed.
A COASt cache module and a quarter for size comparison. This module has room for a tag RAM on the left-hand side, but none is installed.
Cache on a stick: CPU (Pentium 133)Tag RAM for L2 cacheSocket for COAST Module
CPU (Pentium 133)Tag RAM for L2 cacheSocket for COAST Module
Cache on a stick: Left: Power Macintosh 6100 cache module. Right: PC cache module
Left: Power Macintosh 6100 cache module. Right: PC cache module

Worked examples

Example 1 — a first encounter with Cache on a stick

Start with the simplest possible case. Write down what Cache on a stick claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cache on a stick before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cache on a stick ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cache on a stick

In research
Cache on a stick appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cache on a stick in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cache on a stick is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cache (computing), Computer memory, so understanding it makes those chapters shorter.
In everyday life
Look for Cache on a stick outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cache on a stick” →

How to study Cache on a stick in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cache on a stick means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cache on a stick out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cache on a stick in simple terms?

COASt, an acronym for "cache on a stick", is a packaging standard for modules containing SRAM used as an L2 cache in a computer. COASt modules look like somewhat oversized SIMM modules.

Why does Cache on a stick matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cache on a stick?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cache on a stick.

Tags

  • Cache (computing)
  • Computer memory

Keep exploring