ArticleslgStudy

computer science

Thin provisioning

Thin provisioning 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 Thin provisioning rather than just read about it. In short: In computing, thin provisioning involves using virtualization technology to portray the illusion of having more physical resources than are actually available. If a system always has enough resources to simultaneously support all virtualized resources, then it is not thin-provisioned.

Key takeaways

  • Thin provisioning 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 Thin provisioning to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Thin provisioning from memory before moving on to harder problems.

Reference excerpt

In computing, thin provisioning involves using virtualization technology to portray the illusion of having more physical resources than are actually available. If a system always has enough resources to simultaneously support all virtualized resources, then it is not thin-provisioned. In this article, the term "thin provisioning" is applied to the disk layer, but in practice, it can refer to an allocation scheme for any resource. For example, real memory in a computer is typically thin-provisioned to run tasks with some form of address translation technology doing the virtualization. Each program acts as if it has real memory allocated; the total allocated virtual memory typically exceeds the total real memory. The efficiency of thin or thick/fat provisioning depends on the use case, not the technology. Thick provisioning is typically more efficient when resource use closely matches resource allocation; thin provisioning is beneficial when only a fraction of an allocation is actually used, so that the benefit of providing just the required resources surpasses the overhead of virtualization. Just-in-time allocation differs from thin provisioning; most filesystems allocate files just-in-time but aren't thin-provisioned. Overallocation also differs from thin provisioning; resources can be overallocated/oversubscribed without virtualization, for example, overselling seats on a flight without allocating actual seats at the time of sale, avoiding a claim on a specific seat number for each customer. Thin provisioning is a mechanism that applies to large-scale centralized computer disk-storage systems, SANs, and storage virtualization systems. It permits easy allocation of space to servers on a just-enough and just-in-time basis; thin provisioning is also known as "sparse volumes" in some contexts.

Overview Thin provisioning in a shared storage environment provides a method for optimizing utilization of available storage; it relies on on-demand allocation of blocks of data versus the traditional method of allocating all the blocks in advance. This methodology eliminates almost all whitespace, which helps avoid the poor utilization rates, often as low as 10%, that occur with the traditional allocation method, where large pools of storage capacity are allocated to individual servers but remain unused (not written to). This traditional model is often referred to as "fat" or "thick" provisioning. Using thin provisioning, storage utilization can increase dramatically with minimal administrative overhead. Organizations may purchase less storage upfront and defer capacity upgrades according to actual business usage, saving the costs (electricity and space) associated with keeping unused disk capacity spinning. Thin technology on a storage virtualization frame was first introduced by VMware as part of their VMware Workstation and VMware ESX products in early 2001. Previous systems generally required large amounts of storage to be physically pre-allocated because of the complexity and impact of growing volume (LUN) space. Thin provisioning enables over-allocation or over-subscription.

Over-allocation Over-allocation or over-subscription is a mechanism that lets a server view more storage capacity than has been physically reserved on the storage array itself; this enables flexibility in the growth of storage volumes without requiring an accurate prediction of how much any particular volume will grow. Instead, block growth becomes sequential: physical storage capacity on the array is dedicated only when data is actually written by an application, not during initial allocation of the storage volume. The servers, and by extension the applications that reside on them, view a full-size volume from the storage, but the storage itself only allocates the blocks of data when they are written. As a practical consideration, a storage manager needs to monitor actual storage used, adding additional storage capacity such as disks, tapes, solid-state drives (SSD), etc. as necessary to satisfy the write requests of the server and residing application(s). The over-allocation concept was first introduced when StorageTek (STK) announced their Iceberg product in 1991 (released later in 1994).

Banking analogy There is an analogy between thin provisioning in computers and cash reserve ratios in banks: much like all processes running on a computer whose memory is thinly provisioned may not simultaneously use the sum of their memory allotments because it does not all exist in memory simultaneously, if all depositors to a bank simultaneously close their accounts by taking cash withdrawals, a bank run ensues, since their combined total usually exceeds the cash kept by the bank.

See also Logical Volume Manager Statistical multiplexing Storage hypervisor Storage virtualization Fractional-reserve banking

References

External links Wikibon thin provisioning article

Worked examples

Example 1 — a first encounter with Thin provisioning

Start with the simplest possible case. Write down what Thin provisioning 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 Thin provisioning 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 Thin provisioning 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 Thin provisioning

In research
Thin provisioning 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 Thin provisioning 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
Thin provisioning is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer data storage, Hardware virtualization, so understanding it makes those chapters shorter.
In everyday life
Look for Thin provisioning 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 “Thin provisioning” →

How to study Thin provisioning in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Thin provisioning 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 Thin provisioning out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Thin provisioning in simple terms?

In computing, thin provisioning involves using virtualization technology to portray the illusion of having more physical resources than are actually available. If a system always has enough resources to simultaneously support all virtualized resources, then it is not thin-provisioned.

Why does Thin provisioning 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 Thin provisioning?

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 Thin provisioning.

Tags

  • Computer data storage
  • Hardware virtualization

Keep exploring