# This new Linux patch can speed up Reading Requests Page: https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/this-new-linux-patch-can-speed-up-reading-requests Text version: https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/this-new-linux-patch-can-speed-up-reading-requests.md Podcast: [The Backend Engineering Show with Hussein Nasser](https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440) Published: 2024-10-25T12:52:00+00:00 Episode link: https://podcasters.spotify.com/pod/show/hnasr/episodes/This-new-Linux-patch-can-speed-up-Reading-Requests-e2q146h Audio file: https://anchor.fm/s/1eb6d14/podcast/play/93408913/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2024-9-23%2F769c19a5-6b82-70d7-d9a4-7619c9f52e21.m4a Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/this-new-linux-patch-can-speed-up-reading-requests Duration seconds: 1092 ## Resource 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 ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/this-new-linux-patch-can-speed-up-reading-requests/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/this-new-linux-patch-can-speed-up-reading-requests.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.