Skip to content

zhiwayzhang/spdk-benchmark-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile to build spdk benchmark env

Seal spdk env to docker container.

WARNING: This image only tested of the local disk.

Usage

Build as docker image.

docker build -t spdk-benchmark -f Dockerfile .

Run a container with nvme device, mount /dev/nvme0n1 and /dev/nvme1n1 ssd.

# Run in frontend
docker run -it --name spdk-benchmark-example \
    --device /dev/nvme0n1 \
    --device /dev/nvme1n1 \
    --privileged \
    -v /lib/modules:/lib/modules \
    -v /dev/hugepages:/dev/hugepages \
    spdk-benchmark \
    /bin/bash

Benchmark

cd ~
./bind.sh
fio spdk_conv.fio

Knowing issues

Complie with warning ( seem have not any effect ):

./include//reg_sizes.asm:358: warning: Unknown section attribute 'note' ignored on declaration of section `.note.gnu.property' [-w+other]

Reference

  1. https://spdk.io/doc/containers.html
  2. phusion/baseimage-docker#319

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published