当前位置:网站首页>PF_ Ring ZC | high speed traffic processing dpdk alternative
PF_ Ring ZC | high speed traffic processing dpdk alternative
2022-06-24 11:16:00 【Hongke network visualization and security】
brief introduction
At present, most scenarios need high-speed traffic processing , It's basically using DPDK Speed up packet processing ,DPDK Although it is open source and free , however DPDK Provided API It's simple , Development is very complex , Time consuming , Application difficulties , So many people started looking for alternatives – Siphonaceae PF_RING ZC.
Discuss differences in detail
DPDK
If you are an experienced developer ( I'm sorry ,DPDK API It's simple ), You need to write your application from scratch , You can use all DPDK API Call to allocate / Manage packets , And you must know what you are using NIC.
for instance : If you use Intel X710/XL710, It is the current flagship of Intel 10/40 Gbit Adapter . When you enable Jumbo frames ,NIC Will return 2K Long RX Data packets ( therefore , If you have an entrance 5k Data packets , You will receive some 2 x 2K Buffer and the rest 1k buffer ), If you want to send a packet , Then the size is 9K( So you need to send 1x8K Partial buffers and the rest of the following buffers ). Essentially , Developers must know this , Be prepared to handle these issues with an application , And make sure that when you move to another... That doesn't work this way NIC( for example Intel X520/X540) when , You can handle Jumbo frames .
PF_RING ZC
contrary , stay PF_RING ZC in , Library basis MTU Allocating memory buffers , No matter what network card you use , Libraries will always return complete packets ( That is, all these packet segments in the buffer are not exposed to users who will always use them , The only thing a developer has to do is make sure his application can handle huge packets . Use PF_RING ZC API, Developers don't have to remember NIC Hardware details for , No need to change one line of code 、 Simply change the device name from :
-i eth1
Change to
-i zc:eth13
The application can be transferred on different hardware devices .
Compare
- ZC A small license fee is required ,DPDK It's free. ,;
- DPDK And ZC The performance is basically the same ;
- ZC Provide an easy-to-use application layer API, The development difficulty is far less than DPDK;
PF_RING ZC Provided API
PF_RINGZC With a simple API, Ability to create a complex application with a few lines of code . The following example shows how to use 6 Line of code creates an aggregator + Load balancer applications .
PF_RING ZC Speed up Zeek
Zeek Is an open source network traffic analyzer . Many users will Zeek Used as a network security monitor (NSM), To support the investigation of suspicious or malicious activities .Zeek It also supports various traffic analysis tasks outside the security field , Including performance evaluation and troubleshooting . Use PF_RING ZC(zero copy) The driver enables extremely high packet capture / transmission speed , A great promotion Zeek Traffic handling capacity .
Use a PF_RING Of Suricata
Suricata It's a free one 、 Open source 、 mature 、 Fast 、 Robust network threat detection engine .Suricata The engine can carry out real-time intrusion detection (IDS)、 Inline Intrusion Prevention (IPS)、 Network security monitoring (NSM) And offline pcap Handle .Suricata Use powerful and extensive rules and signature languages to check network traffic , It's widely used . Use PF_RING ZC So you can now IDS and IPS High speed use in mode Suricata.
Snort High speed data acquisition
Many users can also use Snort( The most popular IDS/IPS One of ), And is currently benefiting from PF_RING ZC The speed of . Use PF_RING ZC (Snort Data collection ) Cooper's standard PF_RING Speed up 20% To 50% , It can be IPS and IDS Run in mode .
边栏推荐
- Ppt drawing related, shortcut keys, aesthetics
- 软件测试 对前一日函数的基本路径测试
- Tencent's open source project "Yinglong" has become a top-level project of Apache: the former long-term service wechat payment can hold a million billion level of data stream processing
- What is the bin file for? How to open the file correctly
- Give you a server. Can you deploy your code online?
- What is the function of the graphics card driver? Do you want to update the graphics card driver
- Analysis and understanding of Jieba stutter word segmentation principle HMM application in Chinese word segmentation and partial code reading
- Fais ce que tu veux.
- [net action!] Cos data escort helps SMEs avoid content security risks!
- How to export only the titles in word documents? (i.e. delete all the text contents and keep only the title) stop B
猜你喜欢

把騰訊搬到雲上,治愈了他們的技術焦慮

Turn 2D photos into 3D models to see NVIDIA's new AI "magic"!

【本周六活动】.NET Day in China

MYSQL_ Elaborate on database data types

Today in history: Turing's birth day; The birth of the founder of the Internet; Reddit goes online

How to develop hospital information system (his) with SMS notification and voice function

腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...

脚本之美│VBS 入门交互实战

Maui的学习之路 -- 开篇

Use the process monitor tool to monitor process operations on registries and files
随机推荐
Give you a server. Can you deploy your code online?
Simple pricelist style code
What is the bin file for? How to open the file correctly
qt -- QTabWidget 中支持拖拽TabBar项
[deep learning][pytorch][original]crnn trains loss on the higher version of pytorch as a solution for Nan
Lightweight deployment of firefoxsend temporary file sharing service using Tencent cloud
Influence of DEX optimization on arouter lookup path
2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!
喜歡就去行動
Attribute observer didset and willset in swift of swiftui swift internal skill
MYSQL_精讲数据库数据类型
Nxshell session management supports import and export
Centripetalnet: more reasonable corner matching, improved cornernet | CVPR 2020 in many aspects
PPT绘图相关,快捷键,美观度
如何只导出word文档中的标题?(即将正文内容都删除,只保留标题)B站牛逼
Why should we make the best use of the external chain in SEO?
Understanding of homogeneous coordinates
Istio best practice: graceful termination
喜欢就去行动
What does ERP system mean