Score:1

Low IOPS on GKE

in flag

We are installing a MongoDB in Kubernetes Engine and it performs very poorly. We have installed it using Helm with 3 replicas (in a replicaset) and storage-class=premium-rwo (pd-ssd) with 500GB on each. It takes many seconds to just insert 500 documents. Google promises IOPS of about 15.000 but when looking at the monitoring we only see about 30 IOPS. What are we doing wrong?

The problem is that we do not receive the promised IOPS from Google - 500GB should give us 15.000 and we receive very few... does it only "kick in" when the system comes under stress?

Currently we are not confident to move our MongoDB from Atlas to our GKE cluster.

djdomi avatar
za flag
Does this answer your question? [Can you help me with my capacity planning?](https://serverfault.com/questions/384686/can-you-help-me-with-my-capacity-planning)
Oscar Orellana avatar
in flag
No, not really.
Gabriel Robledo Ahumada avatar
us flag
I suggest to edit your question and add the minimum redroducible information, like your helm charts, or if you followed a tutorial paste the link.
Score:0
ng flag

Are you able to share more configuration detail, hard to provide much assistance with what is provided.

I hope your nodes have at least 100GB of PD-Balanced storage attached otherwise you can have performance issues.

Oscar Orellana avatar
in flag
We only have 25GB on each node - I will try to increase that to 200GB
Oscar Orellana avatar
in flag
Now running N2 with 8GB of ram, 2vCPU and 150GB of pd-blanaced storage
Oscar Orellana avatar
in flag
Still very slow...
Oscar Orellana avatar
in flag
Current setup: N2 with 8GB of ram, 2vCPU and 150GB SSD on each node (3 nodes). MongoDB is deployed with 300GB SSD PVC. Still very slow.
Oscar Orellana avatar
in flag
Would it make any difference to deploy its own cluster, instead of its own node-pool? Currently, we have a backend node-pool with cluster scaling and a mongodb node-pool without.
ServerMonkey avatar
ng flag
What about interactively connecting to a pod and stressing the disks to confirm whether it's disk IOPs or application configuration?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.