-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Running Seastar Memcached
Peter Corless edited this page Jul 20, 2020
·
19 revisions
-
Build Seastar Building Seastar.
-
Seastar Memcached will be available at /PATH/TO/SEASTAR/build/release/apps/memcached/.
-
For seeing all the available options to run Seastar Memcached, use the following command:
/PATH/TO/SEASTAR/build/release/apps/memcached/memcached -h
- Running Seastar Memcached with posix network stack, 4 cpus, and the server listening on the default port, use the following command:
/PATH/TO/SEASTAR/build/release/apps/memcached/memcached --smp 4 --network-stack posix
- Running Seastar Memcached with posix network stack, 4 cpus, per-cpu slab size (maximum memory to be used for items) of 100M (totaling 4*100M) and the server listening on the default port, use the following command:
*** NOTE ***: If per-cpu slab size wasn't specified, Seastar Memcached will consume all the memory available to the Seastar instance, which can be changed via parameter -m.
/PATH/TO/SEASTAR/build/release/apps/memcached/memcached --smp 4 --max-slab-size 100 --network-stack posix
- Running Seastar Memcached with DPDK backend, setting ip 192.168.10.1, netmask 255.255.255.0, 4 cpus and the server listening on the port 11212, use the following command:
sudo /PATH/TO/SEASTAR/build/release/apps/memcached/memcached --network-stack native --dpdk_pmd --dhcp 0 --host-ipv4-addr 192.168.0.1 --netmask-ipv4-addr 255.255.255.0 --smp 4 --port 11212
Latest Memcached Benchmark