I was reading following recommendation on number of processes and I am not clear how to spread these many processes on 3 nodes using configuration file or “configuration” command or combination of both. Can someone please help to understand the setup needed.
" The recommended minimum number of class=transaction
(log server) processes is 8 (active) + 2 (standby) and the recommended minimum number for class=stateless
processes is 1 (GRV proxy) + 3 (commit proxy) + 1 (resolver) + 1 (cluster controller) + 1 (master) + 2 (standby). It is better to spread the transaction and stateless processes across as many machines as possible."
So far I have used following configuration file and “configuration command” to setup 2 storage fdbserver.ID process per node , 3 coordinator , double redundancy as follows. But i am not clear should i use fdbserver.ID (and use class=storage/transaction/stateless) or “configuration” command to setup the recommended processes and use all the 4 cpu per node i have for a given EC2 server i am using.
I also dont know how to check current count for these processes.
[fdbserver.4500]
datadir = /data/foundationdb/data1
[fdbserver.4501]
datadir = /data/foundationdb/data2
========
fdb> status details
Using cluster file `/etc/foundationdb/fdb.cluster’.
Configuration:
Redundancy mode - double
Storage engine - ssd-2
Coordinators - 3
Usable Regions - 1
Cluster:
FoundationDB processes - 6
Zones - 3
Machines - 3
Memory availability - 8.0 GB per process on machine with least available
Fault Tolerance - 1 machines
Server time - 05/27/22 22:45:03
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 0 MB
Disk space used - 944 MB
Operating space:
Storage server - 2034.1 GB free on most full server
Log server - 2034.1 GB free on most full server
Workload:
Read rate - 20 Hz
Write rate - 0 Hz
Transactions started - 5 Hz
Transactions committed - 0 Hz
Conflict rate - 0 Hz
Backup and DR:
Running backups - 0
Running DRs - 0
Process performance details:
-
( 1% cpu; 2% machine; 0.000 Gbps; 0% disk IO; 0.4 GB / 8.0 GB RAM )
-
( 1% cpu; 2% machine; 0.000 Gbps; 0% disk IO; 0.4 GB / 8.0 GB RAM )
-
( 1% cpu; 2% machine; 0.001 Gbps; 0% disk IO; 0.4 GB / 8.0 GB RAM )
-
( 1% cpu; 2% machine; 0.001 Gbps; 0% disk IO; 0.3 GB / 8.0 GB RAM )
-
( 2% cpu; 2% machine; 0.001 Gbps; 0% disk IO; 0.4 GB / 8.0 GB RAM )
-
( 0% cpu; 2% machine; 0.001 Gbps; 0% disk IO; 0.4 GB / 8.0 GB RAM )
Coordination servers:
*:4500 (reachable)
*:4500 (reachable)
*:4500 (reachable)