Linux Kernel: The multi-generational LRU

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • nocache

    minimize caching effects

  • nocache¹. It is LD_PRELOAD based so will only function within the normal limitations of that. It also comes with a couple of tools for examining and modifying the file cache, which makes it useful to judge its value in your environment.

    One of my biggest use cases for it is with soxi, which I use solely for playlist manipulation. I don't alias my source tree search tools, because invariably I'm going to want all that stuff in the cache anyway for builds and such.

    ¹ https://github.com/Feh/nocache

  • glommio

    Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.

  • Nice tip, thanks.

    Related: The experimental async aware Glommio API (for modern hardware) may eventually supplant POSIX I/O.

    https://github.com/DataDog/glommio

    Modern storage is plenty fast. It is the APIs that are bad. https://itnext.io/modern-storage-is-plenty-fast-it-is-the-ap...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • linux

    Linux kernel source tree

  • They decided against it, I believe because ClockPro was too complicated (but maybe NIH?). Instead they devised their own algorithm, DClock, borrowing ideas but is also different [1]. They use an ad hoc sizing rule (50%-99%) [2] which can dramatically impact its performance, neither extreme being universally better. When reimplementing their algorithm for analysis, the hit rates skewed towards being okay but not great [3]. You can compare ClockPro [4] and DClock [5] in the simulator.

    [1] https://github.com/torvalds/linux/blob/ac3a0c8472969a03c0496...

  • Caffeine

    A high performance caching library for Java

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Efficient way to read multiple files in parallel

    3 projects | /r/rust | 8 Jun 2022
  • "Best" linux io-uring library/runtime?

    1 project | /r/rust | 23 Mar 2022
  • 2022-01-11 gRPC benchmark results

    1 project | /r/rust | 12 Jan 2022
  • Rust async runtime based on io-uring.

    5 projects | /r/rust | 9 Dec 2021
  • Rust Is Safe. But Is It Fast? (p99 conf talk)

    1 project | /r/rust | 9 Oct 2021