[email protected]
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
learnbyexample to [email protected]English • 5 months ago

How fast are Linux pipes anyway?

mazzo.li

external-link
message-square
5
fedilink
  • cross-posted to:
  • [email protected]
119
external-link

How fast are Linux pipes anyway?

mazzo.li

learnbyexample to [email protected]English • 5 months ago
message-square
5
fedilink
  • cross-posted to:
  • [email protected]
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.
  • @[email protected]
    link
    fedilink
    English
    12•
    edit-2
    3 months ago

    deleted by creator

  • @[email protected]
    link
    fedilink
    English
    8•5 months ago

    Fantastic article

  • Phoenixz
    link
    fedilink
    5•5 months ago

    Awesome article!

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

    • @[email protected]
      link
      fedilink
      English
      4•5 months ago

      lscpu -C

  • @[email protected]
    link
    fedilink
    2•5 months ago

    On my machine, the L2 cache is 256KiB

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

    • @[email protected]
      link
      fedilink
      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)

[email protected]

[email protected]

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: [email protected]

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

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

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

  • 1.05K users / day
  • 2.77K users / week
  • 8.14K users / month
  • 17.3K users / 6 months
  • 54.2K subscribers
  • 7.73K Posts
  • 208K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • @[email protected]
  • Arthur Besse
  • Cyclohexane
  • @[email protected]
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org