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

Optimize document-similarity memory requirements #415

Open
marekhorst opened this issue Nov 23, 2016 · 1 comment
Open

Optimize document-similarity memory requirements #415

marekhorst opened this issue Nov 23, 2016 · 1 comment
Assignees

Comments

@marekhorst
Copy link
Member

Currently top level mapredChildJavaOpts value (e.g. defined at document-similarity-oap-uberworkflow workflow level) is propagated deep down to all subworkflows and all PIG scripts.

Does it mean all the subworkflows and scripts have the same, pretty high, memory requirements?

In OpenAIRE CDH5 OCEAN cluster, after number of experiments, we were able to get down to 4g with top level mapredChildJavaOpts parameter value without affecting document-similarity stability. The thing is this is still causing performance bottleneck because YARN is able to delegate at most ~200 cores out of 608 cores in total due to the physical memory shortage.

If we could get down to e.g. 1638m for some of the subworkflows then all 608 cores could be utilized at this phase of processing.

@marekhorst
Copy link
Member Author

The idea could be to:

  • spot the most memory demanding subworkflows and explicitly propagate mapredChildJavaOpts (as it is done now), where "most memory demanding" = "requiring more than default cluster configuration"
  • rely on default cluster memory related settings in all the other less memory demanding subworkflows (AFAIR 1g is default, 1638m is on OpenAIRE CDH5 OCEAN cluster, not sure how is the spark cluster configured, you know probably better)

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