Running 3 node scylladb in docker

On a intel based chip with “2.8 GHz Quad-Core Intel Core i7” I’m able to start a 3 node cluster, each with --smp 1.

$ sysctl -n hw.ncpu
8

sysctl -a | grep aio
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4

 $ docker exec -it some-scylla nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address     Load       Tokens       Owns    Host ID                               Rack
UN  172.17.0.3  572 KB     256          ?       0028d9e0-e771-45eb-b922-f15660b7b3a8  rack1
UN  172.17.0.2  500 KB     256          ?       06a0db13-20a1-43a8-a7ff-c60c0128066b  rack1
UN  172.17.0.4  696 KB     256          ?       f136cc48-1b17-4626-b584-d2898d87f8f1  rack1

However, on a apple chip based (Apple M3 Pro), 2 nodes starts ok with --smp 1, but the 3 node has the issue of max-aio-nr.

sysctl -n hw.ncpu
11

sysctl -a | grep aio
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4

1 Like