scylladb / seastar

High performance server-side application framework
http://seastar.io
Apache License 2.0
8.36k stars 1.55k forks source link

Where do I use the --dpdk-pmd parameter? #385

Open SungHoHong2 opened 6 years ago

SungHoHong2 commented 6 years ago

Hello I am trying to use the dpdk version seastar and I don't what I am missing

here is I have done so far

git clone https://github.com/scylladb/seastar.git
./install-dependencies.sh
./configure.py --enable-dpdk
ninja

and the seastar applications run normally without the dpdk but when I try to

export SEASTAR=/home/sungho/seastar
c++ `pkg-config --cflags --libs $SEASTAR/build/release/seastar.pc` getting-started.cc
./a.out --dpdk-pmd 1
error: too many positional options have been specified on the command line 

There aren't many detailed documentations that I can follow and I was wondering if I can find out how to properly use the dpdk

tedqian commented 6 years ago

when you run the application add the dpdk-pmd parameter,not the time you compile the program

shanshanpt commented 6 years ago

You can exec: ./a.out -h to check the args. ./a.out --dpdk-pmd , there has no a '1' param.