How many kernel system calls do runtimes make? @hnasr
How many kernel system calls do runtimes make?  @hnasr
Uploaded September 2024 | Updated November 2026, 3 hours ago
Fundamentals of Operating Systems Course
https://oscourse.win

In this video I use strace a performance tool that measures how many system calls does a process makes. We compare a simple task of reading from a file, and we run the program in different runtimes, namely nodejs, buns , python and native C.

We discuss the cost of kernel mode switches, system calls and pe

0:00 Intro
5:00 Code Explanation
6:30 Python
9:30 NodeJS
12:30 BunJS
13:12 C
16:00 Summary




Backend Troubleshooting Course
performance.husseinnasser.com


Fundamentals of Backend Engineering (link redirects to udemy with coupon)
backend.husseinnasser.com

Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com

Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com

Follow me on Medium
medium.com/@hnasr/membership


Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com

Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com

Become a Member on YouTube
youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

Buy me a coffee if you liked this
buymeacoffee.com/hnasr

Arabic Software Engineering Channel
youtube.com/channel/UChWZsjdoRvZ0T9QWZOD6UpA

🔥 Members Only Content
youtube.com/playlist?list=UUMO_ML5xP23TOWKUcc-oAE_Eg



🏭 Backend Engineering Videos in Order
backend.husseinnasser.com

💾 Database Engineering Videos
youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast

Gears and tools used on the Channel (affiliates)

🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/647168/10068


Stay Awesome,
Hussein
How many kernel system calls do runtimes make?Cant TCP to the backend? This may be itCloudflares Rust proxyAll Kernel Page Faults ExplainedPackage-lock json is terrible name for a critical fileIPv6 is the futureWhy close connectionsBlocking I/O = Context switchhow greedy are your processes? | Linux nicenessThe importance of HTTP 2 Go Away FrameDatabase Background WritersWhy first memory access is always slow
Hussein Nasser |

How many kernel system calls do runtimes make?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER