Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai-on-gke benchmark locust load inferencer hits 90%+ cpu usage with master at 200+ users #766

Open
annapendleton opened this issue Aug 6, 2024 · 0 comments

Comments

@annapendleton
Copy link
Collaborator

At 200+ users, master hits a CPU 90%+ error and becomes non-responsive.

Taking out the related custom metrics related calls in these lines fixes the issue:

https://github.com/GoogleCloudPlatform/ai-on-gke/blob/main/benchmarks/benchmark/tools/locust-load-inference/locust-docker/locust-tasks/tasks.py#L174

Observation:

Custom metrics calls adds unscalable load on the master. The master is single threaded and it appears these calls are causing too much CPU pressure on the master for scaling up # of users for larger load tests.

Feature request:

Adjust the custom metrics implementation so that it doesn't add excessive load on the master at 200+ users.

@annapendleton annapendleton changed the title ai-on-gke benchmark locust ai-on-gke benchmark locust load inferencer hits 90%+ cpu usage with master at 200+ users Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant