<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z" -->

---
title: Are Caches Accessed with a Virtual or Physical Address?
description: CPU caches can be addressed using virtual addresses, physical addresses, or a combination of both. Four cache addressing schemes exist: PIPT (physically...
canonical: https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Are Caches Accessed with a Virtual or Physical Address? | daily.dev
og:description: CPU caches can be addressed using virtual addresses, physical addresses, or a combination of both. Four cache addressing schemes exist: PIPT (physically...
og:url: https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z
og:image: https://api.daily.dev/og/posts/Qg8hWOn9Z.png
og:image:alt: Are Caches Accessed with a Virtual or Physical Address?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Are Caches Accessed with a Virtual or Physical Address?

**[BitLemon](https://daily.dev/sources/bitlemon)** · 9 min read · 0 upvotes · 0 comments

## Summary

CPU caches can be addressed using virtual addresses, physical addresses, or a combination of both. Four cache addressing schemes exist: PIPT (physically indexed, physically tagged), VIVT (virtually indexed, virtually tagged), PIVT (physically indexed, virtually tagged), and VIPT (virtually indexed, physically tagged). PIPT is robust but slow due to mandatory address translation before cache access. VIVT is fast but suffers from homonym and aliasing problems requiring cache flushes on context switches. PIVT combines the worst of both worlds and is rarely used. VIPT is the modern standard, enabling parallel address translation via the MMU/TLB and cache set lookup using the page offset bits. This parallelism works because the page offset bits remain unchanged during translation. VIPT has constraints: the set index plus line offset bits must not exceed the page offset bits, which is why most L1 caches are limited to 32–64 KB.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=YnXb3p57XnE>

## Similar posts on daily.dev

- [80386 Memory Pipeline](https://daily.dev/posts/80386-memory-pipeline-5tsaukl3g) · Hacker News · 0 upvotes · 0 comments
- [Virtual Memory: A Deep Dive into Page Tables, TLBs, and Linux Internals](https://daily.dev/posts/virtual-memory-a-deep-dive-into-page-tables-tlbs-and-linux-internals-mizzqatnj) · Confessions of a Code Addict · 62 upvotes · 1 comments

---

[View this post on daily.dev](https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Are Caches Accessed with a Virtual or Physical Address?","url":"https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z"},"datePublished":"2026-04-27T06:49:08.024Z","dateModified":"2026-04-27T06:49:27.348Z","description":"CPU caches can be addressed using virtual addresses, physical addresses, or a combination of both. Four cache addressing schemes exist: PIPT (physically...","image":"https://i.ytimg.com/vi/YnXb3p57XnE/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/YnXb3p57XnE/sddefault.jpg","isAccessibleForFree":true,"articleSection":"BitLemon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"BitLemon","logo":"https://media.daily.dev/image/upload/s--JYeyktfa--/f_auto/v1739610417/logos/bitlemon","url":"https://daily.dev/sources/bitlemon"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/are-caches-accessed-with-a-virtual-or-physical-address--qg8hwon9z","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"","timeRequired":"PT9M","video":{"@type":"VideoObject","name":"Are Caches Accessed with a Virtual or Physical Address?","description":"CPU caches can be addressed using virtual addresses, physical addresses, or a combination of both. Four cache addressing schemes exist: PIPT (physically...","thumbnailUrl":"https://i.ytimg.com/vi/YnXb3p57XnE/sddefault.jpg","uploadDate":"2026-04-27T06:49:08.024Z","duration":"PT9M","url":"https://api.daily.dev/r/Qg8hWOn9Z","embedUrl":"https://www.youtube.com/embed/YnXb3p57XnE"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"BitLemon","item":"https://daily.dev/sources/bitlemon"},{"@type":"ListItem","position":3,"name":"Are Caches Accessed with a Virtual or Physical Address?"}]}
```

