-
Notifications
You must be signed in to change notification settings - Fork 11
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
Number of stripes is non-configurable #13
Comments
IMO it seems pretty dodgy that I'm going to submit a patch that accepts a |
Out of curiosity, why are you running 20 capabilities? Do you have a machine with 20 physical cores? |
Yes, my laptop has 20 cores. |
I see. How many of these are physical? Asking since according to my experimentations running more capabilities than physical cores (and if you run with |
Huh apparently I have 14 physical cores, 8 "effiicency" and 6 "performance." Wild! And I guess hyperthreading gets me up to 20. |
Version 2 would accept an
Int
parameter for how many stripes to create. Version 3 usesgetNumCapabilites
unconditionally.We're running into problems upgrading, and I think this may be related. Previously, with a
createPool _ _ 1 3600 4
call, you'd have1
stripe and4
resources per stripe. But now you will have 4 stripes, with 1 resource per stripe. Locally, I'm seeing errors about "refusing to create resource 12", when we have acreatePool _ _ 1 3600 4
call.getNumCapabilities
on my machine returns20
, so when we calculate the max resources, we get4
(4 resources, 1 stripe). Then we get 20 stripes, each with 1 resource each.I'd suggest adding a field for configuring stripe count on
PoolConfig
- that should alleviate this issue.The text was updated successfully, but these errors were encountered: