run multi-threading processes in aws instances

12/21/2021

I have a node group in my EKS with m5.2xlarge instances (6 desired instances, 8 cores 32gb RAM for each instance)

I want to run a multi-threading processes of Gradle-tests in this node group.

The Gradle code knows to find cores and assign threads, so tests will run in parallel according to number of cores.

On MacOS and Windows my tests are working in parallel as I wish, but on k8s when running on these instances only one test is running at a time. no parallelism there.

htop from inside the pod itself shows 8 cores with usage average of 3% amd memory average usage is 5% !!!

Any suggestion what should be done to run multi-threading processes on AWS instances would be much appreciated.

-- jrz
amazon-web-services
gradle
kubernetes

0 Answers