Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more from just $11.99/month.

This new Linux patch can speed up Reading Requests

UNLIMITED

This new Linux patch can speed up Reading Requests

FromThe Backend Engineering Show with Hussein Nasser


UNLIMITED

This new Linux patch can speed up Reading Requests

FromThe Backend Engineering Show with Hussein Nasser

ratings:
Length:
18 minutes
Released:
Oct 25, 2024
Format:
Podcast episode

Description

Fundamentals of Operating Systems Course
https://oscourse.win

Very clever! We often call read/rcv system call to read requests from a connection, this copies data from kernel receive buffer to user space which has a cost.

This new patch changes this to allow zero copy with notification.

“Reading' data out of a socket instead becomes a “notification” mechanism, where the kernel tells userspace where the data is.”

This kernel patch enables zero copy from the receive queue.

https://lore.kernel.org/io-uring/ZwW7_cRr_UpbEC-X@LQ3V64L9R2/T/


0:00 Intro
1:30 patch summary
7:00 Normal Connection Read (Kernel Copy)
12:40 Zero copy Read
15:30 Performance
Released:
Oct 25, 2024
Format:
Podcast episode

Titles in the series (100)

Welcome to the Backend Engineering Show podcast with your host Hussein Nasser. If you like software engineering you’ve come to the right place. I discuss all sorts of software engineering technologies and news with specific focus on the backend. All opinions are my own. Most of my content in the podcast is an audio version of videos I post on my youtube channel here http://www.youtube.com/c/HusseinNasser-software-engineering Buy me a coffee https://www.buymeacoffee.com/hnasr ?‍? Courses I Teach https://husseinnasser.com/courses