Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Conversation

@pierg75
Copy link

@pierg75 pierg75 commented Jun 29, 2018

I think it would be beneficial to have the min/max number of nodes in a separate file, something like
a recommendation with the best settings.
I've put the new file under 'resources/settings/recommended_num_nodes.yml'. Not sure if the best place though.

pierg75 added 4 commits June 29, 2018 16:02
This file should list all the recommended configurations with
min/max/multiple amount of nodes and it's in yaml format.

Signed-off-by: Pierguido Lambri <plambri@redhat.com>
Signed-off-by: Pierguido Lambri <plambri@redhat.com>
Signed-off-by: Pierguido Lambri <plambri@redhat.com>
Signed-off-by: Pierguido Lambri <plambri@redhat.com>
@dustinblack
Copy link
Contributor

There is probably some additional logic consideration needed to make the min setting adjustable. We currently make some design choices about replica and disperse configurations that necessitate the 4 and 6 minimums, respectively. So the minimums I would not want to move to a config file without other work.

The maximums are, however, more arbitrary (though they need to be appropriate multiples -- of 2 for replica and of 6 for disperse). I think it would make sense to set the maximum in the flavor OEMID file.

@pierg75
Copy link
Author

pierg75 commented Aug 29, 2018

May I ask which other work would be needed to move the min/max into an external file?
My aim was to not have a fixed setting into the code but move it into a separate place (but still with recommended options).

@dustinblack
Copy link
Contributor

dustinblack commented Aug 30, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants