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

Reduce the number of eventloops started by default #5119

Open
vietj opened this issue Feb 15, 2024 · 3 comments
Open

Reduce the number of eventloops started by default #5119

vietj opened this issue Feb 15, 2024 · 3 comments
Milestone

Comments

@vietj
Copy link
Member

vietj commented Feb 15, 2024

Quoting @Sanne

  • there's no compelling reason to start more eventloops than available cores
  • it's actually harmful for performance in some cases

https://github.com/quarkusio/quarkus/pull/27025/files

@vietj vietj added this to the 5.0.0 milestone Feb 15, 2024
@zekronium
Copy link
Contributor

Does this apply to internal-blocking-threads the same way?

@vietj
Copy link
Member Author

vietj commented Feb 24, 2024

no, the threads in question are event-loop only

@zekronium
Copy link
Contributor

In the talk they communicated that one of the big penalties in too many threads is the cost of thread wakeup.

This could impact throughput initially while handshaking SSL since that is solely the internal blocking pool, which then sits idle for relatively no use as long as no new connections are established

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants