当前位置:网站首页>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 .
边栏推荐
- Dedecms template file explanation and homepage label replacement
- How to use arbitrarygen code generator what are the characteristics of this generator
- Which is a good CAD drawing software? How to select good software
- @RequestBody注解
- 把腾讯搬到云上,治愈了他们的技术焦虑
- Code is really - omnipotent! Refuse to fight
- Investing in a good navigation framework from the beginning of the jetpack compose tutorial will help you save a lot of migration work later
- The nodejs service global timeout callback failed to get process Domain problem
- Fais ce que tu veux.
- What is the resource search platform and how resource search works
猜你喜欢

历史上的今天:图灵诞生日;互联网奠基人出生;Reddit 上线

Rising bubble canvas breaking animation JS special effect

PHP SMS notification + voice broadcast automatic double call

Déplacer Tencent sur le cloud a guéri leur anxiété technologique

"Write once, run at all ends", Qualcomm released AI software stack!

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

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

Simple pricelist style code

Any and typevar make the automatic completion of IDE better

喜欢就去行动
随机推荐
Investing in a good navigation framework from the beginning of the jetpack compose tutorial will help you save a lot of migration work later
如何开发短信通知和语音功能医院信息系统(HIS系统)
Nacos source code - configure automatic update
Why choose b+ tree as storage engine index structure
《opencv学习笔记》-- 矩阵归一化 normalize()函数
Tke deployment kubord
Group counting_ Structure and workflow of CPU
8 types of API automated testing that technicians must know
What is the resource search platform and how resource search works
Shape change loader loads jsjs special effect code
Google Earth Engine(GEE)—如何新增一个图例在Map面板
Moving Tencent to the cloud cured their technical anxiety
How to make a good video? What are the operation methods?
System design: load balancing
Code is really - omnipotent! Refuse to fight
Use the process monitor tool to monitor process operations on registries and files
[net action!] Cos data escort helps SMEs avoid content security risks!
Go basic series | 4 Environment construction (Supplement) - gomod doubts
Step 3: access the API interface for inquiry of SF express doc No. [express 100api interface]
Why are some old SEO methods still effective?