Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Manual. Switch to the latest stable version.
POSIX networking for ScyllaDBCopy
Topic: Planning and setup
Learn: How to configure POSIX networking for ScyllaDB
Audience: Developers, devops, integration testers
The Seastar framework used in ScyllaDB can support two networking modes. For high-performance production workloads, use the Data Plane Development Kit (DPDK) for maximum performance on specific modern network hardware.
For ease of development, you can also use POSIX mode, which works on all physical and virtual network devices supported by your operating system.
Kernel ConfigurationCopy
The Linux “transparent hugepages” feature is recommended, but not
required, in POSIX mode to minimize overhead on memory allocations. The
value of /sys/kernel/mm/transparent_hugepage/enabled
should be
always
or madvise
. See your Linux distribution’s documentation
for instructions on how to enable transparent hugepages.
Firewall ConfigurationCopy
For a single node, the firewall will need to be set up to allow TCP on the following ports.
ScyllaDB ConfigurationCopy
POSIX mode is the default, in /etc/sysconfig/scylla-server
. Check
that NETWORK_MODE
is set to posix
.
# choose following mode: virtio, dpdk, posix
NETWORK_MODE=posix.
The ETHDRV
option is ignored in POSIX mode.
More InformationCopy
Cassandra: configuring firewall port access
How to use, monitor, and disable transparent hugepages in Red Hat Enterprise Linux 6