Kernel-bypass techniques for high-speed network packet processing

  Рет қаралды 59,760

Priyanka Naik

Priyanka Naik

Күн бұрын

Пікірлер: 65
@xiaoqiangshi
@xiaoqiangshi Ай бұрын
This is the best video I watched to explain how a NIC work and DPDK. Thanks !
@pogchamper228
@pogchamper228 Жыл бұрын
Wow. Lecture is short, but when i get into understanding this it took much more time to remember all of this information.
@ramysan9958
@ramysan9958 Күн бұрын
Really good job explaining it. Thanks for putting this video.
@narsimharajpentam4713
@narsimharajpentam4713 3 жыл бұрын
This video is wonderful , short and crispy, thanks
@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
@santoshsco
@santoshsco 3 ай бұрын
This is best videos on DPDK on there on internet , thnk you very much .
@fujinafiul6044
@fujinafiul6044 2 жыл бұрын
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...
@_thehunter_
@_thehunter_ 3 жыл бұрын
Nice introduction to inner working of linux network
@aviivi8497
@aviivi8497 3 жыл бұрын
Very easy understandable and even beginners can gain lot of information
@shailendrabhatnagar980
@shailendrabhatnagar980 25 күн бұрын
Excellent explanation. Great job !!
@nishantdhamija6699
@nishantdhamija6699 3 жыл бұрын
Amazing content on networking stack
@berlin-unlocked
@berlin-unlocked 3 жыл бұрын
very very very usefull!!! Wow!!! best simple without any unneeded details but very precise explanation
@melodiessim2570
@melodiessim2570 3 жыл бұрын
Excellent content and clear delivery on kernel bypass and linux networking i/o processing. Thanks :)
@shubho5das
@shubho5das 11 ай бұрын
Awsm explanation - loved it! Thank You!
@cantwaittowatch
@cantwaittowatch 9 ай бұрын
excellent video and technical details. thank you.
@perfecto25
@perfecto25 2 жыл бұрын
this is excellent tutorial of kernel bypass
@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 Жыл бұрын
why does trading algo need to care about packet forwarding level optimization?
@vishnukl
@vishnukl Жыл бұрын
every millisecond is money
@roonywalsh8183
@roonywalsh8183 3 ай бұрын
@@shivangupadhyay8002 kernel bypassing saves from interrupts , context switches, thus saves cache and latency.
@muhammaduzairjawaid2613
@muhammaduzairjawaid2613 2 жыл бұрын
Wonderful presentation. Thanks
@luv2crack
@luv2crack 9 ай бұрын
Superb explanation... appreciate the effort put in. can you pls make a video on vector packet processing too..
@Refresh636
@Refresh636 2 жыл бұрын
Great video, very well organized. Defiantly will be downloading this
@shreyabhandare6056
@shreyabhandare6056 Жыл бұрын
Fantastic explanation, thank you for this
@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
@varunrap
@varunrap 2 жыл бұрын
Nice video with good explanation. Appreciate the effort.
@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?
@thilbala86
@thilbala86 2 жыл бұрын
Very Nice explanation
@richarddferri
@richarddferri 3 жыл бұрын
Very good content.
@prabhakarrao8806
@prabhakarrao8806 11 ай бұрын
Great Explanation
@WillSheppard1
@WillSheppard1 2 жыл бұрын
Excellent resource - very clear and informative.
@kishorbhawar919
@kishorbhawar919 3 жыл бұрын
very good content and very nice presentation
@sumitparashari2663
@sumitparashari2663 3 жыл бұрын
Ton of information
@jasonandrewismail2029
@jasonandrewismail2029 5 ай бұрын
AMAZING VIDEO YOU HAVE A NEW SUBSCRIBER FOR SURE
@feelsvlr
@feelsvlr 9 ай бұрын
This was very useful!, thank you
@amroashram
@amroashram 2 жыл бұрын
helped me a lot, thank you very much .
@mdabubakershibly475
@mdabubakershibly475 3 жыл бұрын
Excellent !!
@pathayes2224
@pathayes2224 2 жыл бұрын
very well presented!
@SoumalyaSahoo-t6l
@SoumalyaSahoo-t6l 6 ай бұрын
Hello Nice Overview , Do you have any example that implements UDP server/client using DPDK ?
@erana4124
@erana4124 2 жыл бұрын
Great lecture
@HT-ym1fm
@HT-ym1fm Жыл бұрын
well explained
@dudeabideth4428
@dudeabideth4428 10 ай бұрын
When fragmentation and reassembly happens , do we have one sk buff or multiple ?
@Cybernetic1
@Cybernetic1 3 жыл бұрын
What a video.. Thanks
@dudeabideth4428
@dudeabideth4428 10 ай бұрын
In Dpdk , the dma is done from userspace ?
@pro-coder4493
@pro-coder4493 Жыл бұрын
nice one!!
@anshukhanna6041
@anshukhanna6041 3 жыл бұрын
Hey, thank you, can you also make videos on network optimization techniques by changing the TCP/IP kernel paramters
@priyankanaik7002
@priyankanaik7002 3 жыл бұрын
Sure! Thanks for the suggestion!
@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?
@spiraldynamics6008
@spiraldynamics6008 11 ай бұрын
CAN you do a detailed video on eBPF please
@Himani768
@Himani768 2 ай бұрын
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.
@realtime9363
@realtime9363 2 жыл бұрын
Hi Priyanka , Upload such videos
@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!
@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 3 жыл бұрын
Very nice information 👍 , so any other consecutive tutorials are available ?
@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 10 ай бұрын
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 Жыл бұрын
very vague and elementary level explanation of Kernel bypass .... poor content
@asterx_obelix653
@asterx_obelix653 Жыл бұрын
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
Linux Kernel 6.12 | This is Historic
1:07:22
Maple Circuit
Рет қаралды 118 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 15 МЛН
DPDK deep-dive
28:58
Diptyaroop Maji
Рет қаралды 26 М.
Linux packet journey,napi, hardware queue,skb
52:53
spj 786
Рет қаралды 25 М.
How Hackers Bypass Kernel Anti Cheat
19:38
Ryscu
Рет қаралды 818 М.
OSI and TCP IP Models - Best Explanation
19:20
_Drunk Engineer_
Рет қаралды 530 М.
Steven Rostedt - Learning the Linux Kernel with tracing
1:07:25
OpenFest Bulgaria
Рет қаралды 98 М.
eBPF: Unlocking the Kernel [OFFICIAL DOCUMENTARY]
30:00
Speakeasy Productions
Рет қаралды 105 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 15 МЛН