0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

DPDK

Posted at

DPDKとは?(超シンプル)

OS のネットワークスタックをバイパスして
NIC からユーザアプリに 超高速でパケットを渡す仕組み


🔥 もっと簡単に言うと

普通の Linux は:

NIC → カーネル → TCP/IP → アプリ

DPDK は:

NIC → アプリ(ほぼ直通)

だから とにかく速いし、PPS がめちゃくちゃ高い


🚀 DPDK の特徴(簡単)

特徴 説明
超高速 ソフトウェアルータ・ファイアウォールでも数千万 PPS
低レイテンシ カーネルを通らない
CPU 効率が良い ポーリング方式で安定した処理

🧩 どこで使われる?

  • 仮想ファイアウォール(VNF)
  • SDN スイッチ
  • ロードバランサ
  • 高性能パケット処理ソフト(NGINX、Envoy など一部機能)
  • 高頻度取引(HFT)
  • DDoS 防御装置

DPDK が速い理由(超要点だけ)

  1. カーネルネットワークスタックを使わない
  2. ユーザ空間 (User Space) でパケット処理
  3. HugePages で高速メモリアクセス
  4. NIC と直接 DMA
  5. ポーリング方式(割り込みなし)

🎯 一言まとめ

DPDK = NIC とアプリを直結して、カーネルをスキップする超高速パケット処理フレームワーク。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?