Sky-Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
learnbyexample@programming.dev to Linux@lemmy.mlEnglish · 5 months ago

How fast are Linux pipes anyway?

mazzo.li

external-link
message-square
6
fedilink
119
external-link

How fast are Linux pipes anyway?

mazzo.li

learnbyexample@programming.dev to Linux@lemmy.mlEnglish · 5 months ago
message-square
6
fedilink
Pipes are ubiquitous in Unix --- but how fast can they go on Linux? In this post we'll iteratively improve a simple pipe-writing benchmark from 3.5GiB/s to 65GiB/s, guided by Linux `perf`.
alert-triangle
You must log in or register to comment.
  • zante@slrpnk.net
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 months ago

    Second level of donkey kong

  • haroldstork@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 months ago

    Fantastic article

  • Phoenixz@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    Awesome article!

    Does anyone know how/where in Linux (I assume proc, somewhere) I can find the L# cache sizes?

    • oo1@lemmings.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      lscpu -C

  • bodaciousFern@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    5 months ago

    On my machine, the L2 cache is 256KiB

    Is this a typo or are they running on a Pentium 3?

    • Markaos@discuss.tchncs.de
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      That’s a reasonable per-core size, and it doesn’t make much sense to add all the cores up if your goal is to fit your data within L2 (like in the article)

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 455 users / day
  • 165 users / week
  • 4.14K users / month
  • 16.3K users / 6 months
  • 0 local subscribers
  • 53.2K subscribers
  • 7.29K Posts
  • 192K Comments
  • Modlog
  • mods:
  • nooter692@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org