Kernel-bypass techniques for high-speed network packet processing

  Рет қаралды 58,180

Priyanka Naik

Priyanka Naik

Күн бұрын

Пікірлер: 63
@xiaoqiangshi
@xiaoqiangshi 9 күн бұрын
This is the best video I watched to explain how a NIC work and DPDK. Thanks !
@narsimharajpentam4713
@narsimharajpentam4713 3 жыл бұрын
This video is wonderful , short and crispy, thanks
@santoshsco
@santoshsco Ай бұрын
This is best videos on DPDK on there on internet , thnk you very much .
@fujinafiul6044
@fujinafiul6044 Жыл бұрын
What a wonderful and well-designed video lecture that explained such a cutting-edge complex technology with such simplicity and confidence...! No wonder why IIT is praised so much for their great productivity of quality engineers.. Heartish love from BUET, Bangladesh...
@sateesh6644
@sateesh6644 3 жыл бұрын
U have saved lot of time madam. Thanks for the video. I'm really looking dpdk continues video. Please make a video on dpdk.
@priyankanaik7002
@priyankanaik7002 3 жыл бұрын
Thank you, Satish. The follow up video on DPDK can be found here: kzbin.info/www/bejne/jHubdImEaNSLg9k
@pogchamper228
@pogchamper228 11 ай бұрын
Wow. Lecture is short, but when i get into understanding this it took much more time to remember all of this information.
@aviivi8497
@aviivi8497 3 жыл бұрын
Very easy understandable and even beginners can gain lot of information
@_thehunter_
@_thehunter_ 3 жыл бұрын
Nice introduction to inner working of linux network
@nishantdhamija6699
@nishantdhamija6699 3 жыл бұрын
Amazing content on networking stack
@melodiessim2570
@melodiessim2570 3 жыл бұрын
Excellent content and clear delivery on kernel bypass and linux networking i/o processing. Thanks :)
@SoumalyaSahoo-t6l
@SoumalyaSahoo-t6l 4 ай бұрын
Hello Nice Overview , Do you have any example that implements UDP server/client using DPDK ?
@shubho5das
@shubho5das 10 ай бұрын
Awsm explanation - loved it! Thank You!
@spiderbing
@spiderbing Жыл бұрын
Amazing video. Needed this concept for my own algo-trading. Was researching faster processing ideas and big name hedge funds are also looking at bypass kernel methods. This video provides the skeleton solution which can be scaled up by engineers.
@shivangupadhyay8002
@shivangupadhyay8002 11 ай бұрын
why does trading algo need to care about packet forwarding level optimization?
@vishnukl
@vishnukl 10 ай бұрын
every millisecond is money
@roonywalsh8183
@roonywalsh8183 2 ай бұрын
@@shivangupadhyay8002 kernel bypassing saves from interrupts , context switches, thus saves cache and latency.
@cantwaittowatch
@cantwaittowatch 8 ай бұрын
excellent video and technical details. thank you.
@perfecto25
@perfecto25 Жыл бұрын
this is excellent tutorial of kernel bypass
@Refresh636
@Refresh636 2 жыл бұрын
Great video, very well organized. Defiantly will be downloading this
@luv2crack
@luv2crack 7 ай бұрын
Superb explanation... appreciate the effort put in. can you pls make a video on vector packet processing too..
@jasonandrewismail2029
@jasonandrewismail2029 4 ай бұрын
AMAZING VIDEO YOU HAVE A NEW SUBSCRIBER FOR SURE
@spoorthipanduranga6220
@spoorthipanduranga6220 Жыл бұрын
I’m interested in learning the Linux kernel network programming, and this is really good start! I’ll connect to seek some guidance. Thanks
@dudeabideth4428
@dudeabideth4428 8 ай бұрын
When fragmentation and reassembly happens , do we have one sk buff or multiple ?
@WillSheppard1
@WillSheppard1 2 жыл бұрын
Excellent resource - very clear and informative.
@varunrap
@varunrap 2 жыл бұрын
Nice video with good explanation. Appreciate the effort.
@shreyabhandare6056
@shreyabhandare6056 Жыл бұрын
Fantastic explanation, thank you for this
@TNTsundar
@TNTsundar Жыл бұрын
Good intro. Would be good to start with the overheads involved in context switching, locking, cache miss penalties. Maybe those are part of another/previous video?
@muhammaduzairjawaid2613
@muhammaduzairjawaid2613 2 жыл бұрын
Wonderful presentation. Thanks
@feelsvlr
@feelsvlr 8 ай бұрын
This was very useful!, thank you
@prabhakarrao8806
@prabhakarrao8806 9 ай бұрын
Great Explanation
@richarddferri
@richarddferri 3 жыл бұрын
Very good content.
@Himani768
@Himani768 Ай бұрын
Hello Mam, i want to learn how exactly packet move once packet received in NIC card. Detail step by step packet processing. Plz guide me or if there is any way to learn this from you.
@Muralikrishna-yz7jl
@Muralikrishna-yz7jl 2 жыл бұрын
In the RX path, if the application is already blocked on the read() system call, does the bottom half processing involve moving the application's kernel thread to the READY queue, after the data is copied to the user buffer?
@amroashram
@amroashram Жыл бұрын
helped me a lot, thank you very much .
@sumitparashari2663
@sumitparashari2663 3 жыл бұрын
Ton of information
@thilbala86
@thilbala86 2 жыл бұрын
Very Nice explanation
@kishorbhawar919
@kishorbhawar919 3 жыл бұрын
very good content and very nice presentation
@anshukhanna6041
@anshukhanna6041 3 жыл бұрын
Hey, thank you, can you also make videos on network optimization techniques by changing the TCP/IP kernel paramters
@priyankanaik7002
@priyankanaik7002 2 жыл бұрын
Sure! Thanks for the suggestion!
@mdabubakershibly475
@mdabubakershibly475 3 жыл бұрын
Excellent !!
@spiraldynamics6008
@spiraldynamics6008 10 ай бұрын
CAN you do a detailed video on eBPF please
@dudeabideth4428
@dudeabideth4428 8 ай бұрын
In Dpdk , the dma is done from userspace ?
@pathayes2224
@pathayes2224 2 жыл бұрын
very well presented!
@HT-ym1fm
@HT-ym1fm Жыл бұрын
well explained
@erana4124
@erana4124 2 жыл бұрын
Great lecture
@Cybernetic1
@Cybernetic1 2 жыл бұрын
What a video.. Thanks
@pro-coder4493
@pro-coder4493 Жыл бұрын
nice one!!
@realtime9363
@realtime9363 2 жыл бұрын
Hi Priyanka , Upload such videos
@awaneeshkumar7631
@awaneeshkumar7631 3 жыл бұрын
HI, Thanks for this nice lecture and this is really helpfull. Around 25:40, you are talking about the another lecture on epoll. I am unable to find out the same. Can you please point me to the same? Thanks! in advance.
@priyankanaik7002
@priyankanaik7002 3 жыл бұрын
Hey, thank you! This lecture was part of a course and it referred to a prior lecture which is not publicly available. However, you can look for notes related to epoll here: kzbin.info/www/bejne/aIXVgouJe8ykeLs
@nikhilpatil2697
@nikhilpatil2697 2 жыл бұрын
Very nice information 👍 , so any other consecutive tutorials are available ?
@anvinthomasjohn
@anvinthomasjohn 3 жыл бұрын
Hey, thanks a lot for uploading this wonderful explanation! From the video I understood that there are only 2 cpu context switches for a packet RX stage (for top half and bottom half processing). In that perspective I have few basic queries here, 1. When the NIC driver creates the ring buffer when the packets are received, does it steal any cpu cycles ? (as it was mentioned that the cpu will be working on user mode and interruption is done after the creation of ring buffers) 2. Does not the L3/L4 processing come under the bottom half processing as around 9:15, it was mentioned that context switching happens after the processing. If not then does L3/L4 processing need a different context switch by cpu for processing? Will appreciate your help in understanding these, Thank you!
@rinksshah
@rinksshah 3 жыл бұрын
Thanks for your kind words, Anvin! Yes, these are some interesting questions, and hopefully the following clarifies your queries. 1. The TX/RX rings are the descriptors (pointers) to the packet buffers. Both data structures, rings & packet buffers, are allocated in DRAM by the NIC driver in advance. These data structures are static and are specific to the network device (NIC). So, coming back to your question, on packet receive the ring buffer is not created, the packets are copied from the hardware (NIC) buffers to the ring buffers using DMA. Yes, DMA steals the CPU's system bus for memory copy but the CPU does not context switch, we can consider that the CPU may halt for a while. Also, DMA could transfer a huge bunch of buffered packets at once. 2. Yes, L3/L4 processing is part of the bottom half processing as softirqs. You can find details about RX bottom half processing here "www.embeddedlinux.org.cn/linux_net/0596002556/understandlni-CHP-10-SECT-7.html". After L4 processing the listening application is signaled to inform that the packet is available in the socket buffer for consumption. I hope this answers your queries.
@anvinthomasjohn
@anvinthomasjohn 3 жыл бұрын
That explains well, thank you. Also could you share the link to the slides (or via email), I would like to browse through the reference links embedded in them.
@rinksshah
@rinksshah 3 жыл бұрын
@@anvinthomasjohn You can find the slides here. github.com/rinku-shah/kernel-bypass/blob/master/Kernel-bypass-final.pdf
@anvinthomasjohn
@anvinthomasjohn 3 жыл бұрын
Thank you Rinku!
@subratausha
@subratausha 2 жыл бұрын
It would be very much helpful if you explain the things with the kernel code side by side. Otherwise it would not be very much helpful.
@dudeabideth4428
@dudeabideth4428 8 ай бұрын
I found the explanations very lucidly conveyed. At least the kernel part . The style .. like a newsreader.. was a bit distracting and often difficult to follow . Would have been better if you talked as if you are talking to a friend rather than this so reading off a news article style.
@moshiurbhuiyan8403
@moshiurbhuiyan8403 11 ай бұрын
very vague and elementary level explanation of Kernel bypass .... poor content
@asterx_obelix653
@asterx_obelix653 11 ай бұрын
Good lecture, but Priyanka was evidently reading from a writeup. That is a horrible way to teach. If you know your stuff, you shouldn't have to write paragraphs of what you are going to talk about.
@narsimharajpentam4713
@narsimharajpentam4713 3 жыл бұрын
This video is wonderful , short and crispy, thanks
DPDK deep-dive
28:58
Diptyaroop Maji
Рет қаралды 26 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 178 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 58 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 6 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
Unix system calls (1/2)
45:16
Brian Will
Рет қаралды 436 М.
Introduction to DPDK
11:38
Root Access
Рет қаралды 17 М.
How Hackers Bypass Kernel Anti Cheat
19:38
Ryscu
Рет қаралды 758 М.
Steven Rostedt - Learning the Linux Kernel with tracing
1:07:25
OpenFest Bulgaria
Рет қаралды 96 М.
Linux Internals: Networking
46:15
DJ Ware
Рет қаралды 31 М.
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 555 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 315 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 178 МЛН