SlideShare a Scribd company logo
How to measure your dataflow
using fio, dpdk-pktgen
and bandwidthTest
2018/04/12 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO
(C) Copyright 1996-2018 SAKURA Internet Inc
How to measure your dataflow using fio, pktgen and bandwidthTest
2
WRITE: 12,648MB/s (bs=256KB)
READ: 13,793MB/s (bs=256KB)
RAMDISK DDR4 2133MHz 16GB x4
40Mpps (pkt=64B) 2,560MB/s
40GbE (max rate) 5,000MB/s
Mellanox Connect X-4
Intel(R) Core(TM)
i7-7800X CPU @ 3.50GHz
WRITE: 12,648MB/s (bs=256KB)
READ: 13,793MB/s (bs=256KB)
RAMDISK DDR4 2133MHz 16GB x4
Intel(R) Core(TM)
i7-7800X CPU @ 3.50GHz
# cd /opt
# git clone git://dpdk.org/dpdk
# git clone git://dpdk.org/apps/pktgen-dpdk
export RTE_SDK=/opt/dpdk
export RTE_TARGET=x86_64-native-linuxapp-gcc
# sysctl vm.nr_hugepages=2048
# cd /opt/dpdk
# make install T=x86_64-native-linuxapp-gcc
# /opt/dpdk/usertools/dpdk-devbind.py -u 0b:00.0
# /opt/dpdk/usertools/dpdk-devbind.py -u 13:00.0
# /opt/dpdk/usertools/dpdk-devbind.py -b igb_uio 0b:00.0
# /opt/dpdk/usertools/dpdk-devbind.py -b igb_uio 13:00.0
# /opt/dpdk/usertools/dpdk-devbind.py --status
# cd /opt/pktgen-dpdk/
# make
# /opt/pktgen-dpdk/tools/setup.sh
# /opt/pktgen-dpdk/app/x86_64-native-linuxapp-gcc/pktgen -- -m "1.0, 2.1"
Intel(R) Core(TM)
i7-7800X CPU @ 3.50GHz
Host to Device: 6,029MB/s
Device to Host: 6,448MB/s
GeForce GTX 1050
WRITE: 2,000MB/s (bs=4KB)
READ: 2,500MB/s (bs=4KB)
IntelOpate 900P (3DXP)
WRITE: 2,000MB/s (bs=4KB)
READ: 2,500MB/s (bs=4KB)
IntelOpate 900P (3DXP)
# mount -t tmpfs -o size=32G tmpfs /ramdisk
# fio --directory=/ramdisk --rw=write --bs=4k --size=1G --numjobs=3 
--runtime=100 --group_reporting --name=data
# bash cuda_9.1.85_387.26_linux.run --silent --toolkit --override 
--no-opengl-libs --driver
:
# cd NVIDIA_CUDA-9.1_Samples/1_Utilities/bandwidthTest
# ./bandwidthTest

More Related Content

PDF
In-Memory Computing for FASTDATA (memo)
PDF
20170927 pydata tokyo データサイエンスな皆様に送る分散処理の基礎の基礎、そしてPySparkの勘所
PPTX
C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned
PDF
Hadoop - Simple. Scalable.
PDF
20201006_PGconf_Online_Large_Data_Processing
ODP
import rdma: zero-copy networking with RDMA and Python
PDF
Introduction to Hadoop - FinistJug
PDF
Steven Le Roux - Kafka et Storm au service de la lutte antiDDoS à OVH - Soiré...
In-Memory Computing for FASTDATA (memo)
20170927 pydata tokyo データサイエンスな皆様に送る分散処理の基礎の基礎、そしてPySparkの勘所
C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned
Hadoop - Simple. Scalable.
20201006_PGconf_Online_Large_Data_Processing
import rdma: zero-copy networking with RDMA and Python
Introduction to Hadoop - FinistJug
Steven Le Roux - Kafka et Storm au service de la lutte antiDDoS à OVH - Soiré...

What's hot (17)

PDF
20180920_DBTS_PGStrom_EN
PDF
Tvs 473, Tvs 673, Tvs 873
PDF
Tobias Oetiker: RRDtool - how to make it sit up and beg
PPT
UBD (LaserVault Universal Backup Device )
ODP
LinuxCon2009: 10Gbit/s Bi-Directional Routing on standard hardware running Linux
PDF
hbaseconasia2019 Spatio temporal Data Management based on Ali-HBase Ganos and...
PDF
20190909_PGconf.ASIA_KaiGai
PPTX
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
PDF
PDF
Webinar - Approaching 1 billion documents with MongoDB
PPTX
ONS 2014 Bare Metal Switching & Programming
PDF
redis-benchmark with AMD RYZEN 1800X Intel Kaby Lake (i7-7700K) memo
PDF
An introduction to Big-Data processing applying hadoop
PDF
Ceph at salesforce ceph day external presentation
PDF
クラウド時代の半導体メモリー技術
PDF
20181016_pgconfeu_ssd2gpu_multi
PPTX
Cpu高效编程技术
20180920_DBTS_PGStrom_EN
Tvs 473, Tvs 673, Tvs 873
Tobias Oetiker: RRDtool - how to make it sit up and beg
UBD (LaserVault Universal Backup Device )
LinuxCon2009: 10Gbit/s Bi-Directional Routing on standard hardware running Linux
hbaseconasia2019 Spatio temporal Data Management based on Ali-HBase Ganos and...
20190909_PGconf.ASIA_KaiGai
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
Webinar - Approaching 1 billion documents with MongoDB
ONS 2014 Bare Metal Switching & Programming
redis-benchmark with AMD RYZEN 1800X Intel Kaby Lake (i7-7700K) memo
An introduction to Big-Data processing applying hadoop
Ceph at salesforce ceph day external presentation
クラウド時代の半導体メモリー技術
20181016_pgconfeu_ssd2gpu_multi
Cpu高效编程技术
Ad

More from Naoto MATSUMOTO (20)

PDF
Alder Lake-S CPU Temperature Monitoring
PDF
CPU製品出荷状況と消費電力の見える化
PDF
5Gの見える化
PDF
2023年以降のサーバークラスタリング設計(メモ)
PDF
防災を考慮した水中調査の一考察
PDF
旅するパケットの見える化
PDF
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
PDF
災害時における無線モニタリングによる社会インフラの見える化
PDF
BeautifulSoup / selenium Deep dive
PDF
AMDGPU ROCm Deep dive
PDF
Network Adapter Deep dive
PDF
RTL2838 DVB-T Deep dive
PDF
x86_64 Hardware Deep dive
PDF
ADS-B, AIS, APRS cheatsheet
PDF
curl --http3 cheatsheet
PDF
3/4G USB modem Cheat Sheet
PDF
How To Train Your ARM(SBC)
PDF
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
PDF
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
PDF
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
Alder Lake-S CPU Temperature Monitoring
CPU製品出荷状況と消費電力の見える化
5Gの見える化
2023年以降のサーバークラスタリング設計(メモ)
防災を考慮した水中調査の一考察
旅するパケットの見える化
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
災害時における無線モニタリングによる社会インフラの見える化
BeautifulSoup / selenium Deep dive
AMDGPU ROCm Deep dive
Network Adapter Deep dive
RTL2838 DVB-T Deep dive
x86_64 Hardware Deep dive
ADS-B, AIS, APRS cheatsheet
curl --http3 cheatsheet
3/4G USB modem Cheat Sheet
How To Train Your ARM(SBC)
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
Ad

Recently uploaded (20)

PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
August Patch Tuesday
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Approach and Philosophy of On baking technology
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
Encapsulation theory and applications.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
1. Introduction to Computer Programming.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
August Patch Tuesday
TLE Review Electricity (Electricity).pptx
OMC Textile Division Presentation 2021.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Approach and Philosophy of On baking technology
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
A Presentation on Touch Screen Technology
Encapsulation theory and applications.pdf
A comparative study of natural language inference in Swahili using monolingua...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars
cloud_computing_Infrastucture_as_cloud_p
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Group 1 Presentation -Planning and Decision Making .pptx
1. Introduction to Computer Programming.pptx
A Presentation on Artificial Intelligence
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Web App vs Mobile App What Should You Build First.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf

How to measure your dataflow using fio, pktgen and bandwidthTest

  • 1. How to measure your dataflow using fio, dpdk-pktgen and bandwidthTest 2018/04/12 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO (C) Copyright 1996-2018 SAKURA Internet Inc
  • 2. How to measure your dataflow using fio, pktgen and bandwidthTest 2 WRITE: 12,648MB/s (bs=256KB) READ: 13,793MB/s (bs=256KB) RAMDISK DDR4 2133MHz 16GB x4 40Mpps (pkt=64B) 2,560MB/s 40GbE (max rate) 5,000MB/s Mellanox Connect X-4 Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz WRITE: 12,648MB/s (bs=256KB) READ: 13,793MB/s (bs=256KB) RAMDISK DDR4 2133MHz 16GB x4 Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz # cd /opt # git clone git://dpdk.org/dpdk # git clone git://dpdk.org/apps/pktgen-dpdk export RTE_SDK=/opt/dpdk export RTE_TARGET=x86_64-native-linuxapp-gcc # sysctl vm.nr_hugepages=2048 # cd /opt/dpdk # make install T=x86_64-native-linuxapp-gcc # /opt/dpdk/usertools/dpdk-devbind.py -u 0b:00.0 # /opt/dpdk/usertools/dpdk-devbind.py -u 13:00.0 # /opt/dpdk/usertools/dpdk-devbind.py -b igb_uio 0b:00.0 # /opt/dpdk/usertools/dpdk-devbind.py -b igb_uio 13:00.0 # /opt/dpdk/usertools/dpdk-devbind.py --status # cd /opt/pktgen-dpdk/ # make # /opt/pktgen-dpdk/tools/setup.sh # /opt/pktgen-dpdk/app/x86_64-native-linuxapp-gcc/pktgen -- -m "1.0, 2.1" Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz Host to Device: 6,029MB/s Device to Host: 6,448MB/s GeForce GTX 1050 WRITE: 2,000MB/s (bs=4KB) READ: 2,500MB/s (bs=4KB) IntelOpate 900P (3DXP) WRITE: 2,000MB/s (bs=4KB) READ: 2,500MB/s (bs=4KB) IntelOpate 900P (3DXP) # mount -t tmpfs -o size=32G tmpfs /ramdisk # fio --directory=/ramdisk --rw=write --bs=4k --size=1G --numjobs=3 --runtime=100 --group_reporting --name=data # bash cuda_9.1.85_387.26_linux.run --silent --toolkit --override --no-opengl-libs --driver : # cd NVIDIA_CUDA-9.1_Samples/1_Utilities/bandwidthTest # ./bandwidthTest