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

Thread Pool: Update default settings (move from default cached to fixed) #2858

Closed
kimchy opened this issue Apr 4, 2013 · 0 comments
Closed

Comments

@kimchy
Copy link
Member

kimchy commented Apr 4, 2013

The default thread pool settings for most thread pools is problematic in it being cached (for example, for index, search) since its unbounded in its thread creations. Change the default thread pool settings to follows:

  • index: type: fixed, size: num_proc
  • bulk: type: fixed, size: num_proc
  • get: type: fixed, size: num_proc
  • search: type: fixed, size: num_proc * 2, queue_size: 1000
  • percolate: type: fixed, size: num_proc
  • management: type: scaling, size: 5
  • flush: type: scaling, size: halfProcMax5
  • merge : type: scaling, size: halfProcMax5,
  • refresh: type: scaling, size: halfProcMax10
  • warmer: type: scaling, size: halfProcMax5
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

1 participant