By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux PCACHE Proposed For Persistent Memory Cache For Block Devices
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux PCACHE Proposed For Persistent Memory Cache For Block Devices
Computing

Linux PCACHE Proposed For Persistent Memory Cache For Block Devices

News Room
Last updated: 2025/04/14 at 6:18 AM
News Room Published 14 April 2025
Share
SHARE

Sent out as a request for comments today is a patch series implementing PCACHE, a persistent memory cache for block devices. PCACHE was born out of code originally designed for the CXL block device driver but ultimately is useful outside the context of Compute Express Link as well.

Dongsheng Yang sent out the set of patches proposing PCACHE for the Linux kernel that is expanding the scope to any persistent memory device supporting direct access (DAX) rather than just CXL devices. The patch notes while PCACHE is a good fit for the discontinued Intel Optane product line, the Numemory NM101 storage-class memory is one product that could jive well with this proposed PCACHE.

One of the PCACHE patch messages goes on to explain:

“This patch introduces the initial integration of `pcache`, a Linux kernel block layer module that leverages persistent memory (PMem) as a high-performance caching layer for traditional block devices (e.g., SSDs, HDDs).

– Persistent Memory as Cache:
– `pcache` uses DAX-enabled persistent memory (e.g., `/dev/pmemX`) to provide fast, byte-addressable, non-volatile caching for block devices.
– Supports both direct-mapped and vmap-based access depending on DAX capabilities.

– Modular Architecture:
– `cache_dev`: represents a persistent memory device used as a cache.
– `backing_dev`: represents an individual block device being cached.
– `logic_dev`: exposes a block device (`/dev/pcacheX`) to userspace, serving as the frontend interface for I/O.
– `cache`: implements core caching logic (hit/miss, writeback, GC, etc.).

Design Motivation:

`pcache` is designed to bridge the performance gap between slow-but-large storage (HDDs, SATA/NVMe SSDs) and emerging byte-addressable persistent memory. Compared to traditional block layer caching, `pcache` is persistent, low-latency, highly concurrent, and more amenable to modern storage-class memory devices than legacy caching designs.

This patch finalizes the series by wiring up the initialization entry point (`pcache_init()`), sysfs bus registration, root device handling, and Kconfig glue.

With this, the `pcache` subsystem is ready to load as a kernel module and serve as a cache engine for block I/O.”

There is also this diagram for comparing PCACHE features to the likes of BCache and the DeviceMapper write cache:

PCACHE comparison

Those wanting to learn more about this PCACHE proposal can find it on the Linux kernel mailing list.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article A CD Can Protect Your Money From Economic Turmoil. Today's CD Rates, April 14, 2025
Next Article Google Releases Open-Source Agent Development Kit for Multi-Agent AI Applications
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Anthropic proposes transparency framework for frontier AI models 
News
Fortnite maker Epic Games settles antitrust case against Samsung | News
News
How Mavryk Network Is Building Full-Stack RWA Blockchain for $28 Trillion Asset Tokenization Market | HackerNoon
Computing
What the One Big Beautiful Bill Means for the Trucking Industry
News

You Might also Like

Computing

How Mavryk Network Is Building Full-Stack RWA Blockchain for $28 Trillion Asset Tokenization Market | HackerNoon

16 Min Read
Computing

Taiwan’s chip industry rapidly resumes operations after recent earthquake · TechNode

1 Min Read
Computing

B2B Sales Emails + Templates

20 Min Read
Computing

Meet EVEDEX, DeFi Startup of the Year 2024 in Dubai, UAE | HackerNoon

18 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?