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

what is the limit of GASPI_MAX_MSEGS #18

Closed
intoraw opened this issue Apr 19, 2015 · 2 comments
Closed

what is the limit of GASPI_MAX_MSEGS #18

intoraw opened this issue Apr 19, 2015 · 2 comments

Comments

@intoraw
Copy link

intoraw commented Apr 19, 2015

The max number of segments can be created is #define GASPI_MAX_MSEGS (32) in file include/GASPI.h
I want to create thousands of segments, can i just modify #define GASPI_MAX_MSEGS (1024)
and what is the limit of GASPI_MAX_MSEGS can be defined ?

Thank you very much

@rumach
Copy link
Member

rumach commented Apr 20, 2015

@zorksylar in principle there's no real impediment for not having a larger GASPI_MAX_MSEGS and thus allow a higher number of segments. But there's a practical reason for such a "low" constant: the creation of a segment is an expensive operation. The idea is that one uses a few, possibly large, segments that are managed by the application.
We can continue the discussion of your use-case per email.

@intoraw
Copy link
Author

intoraw commented Apr 21, 2015

That helped a lot, thank you.

@intoraw intoraw closed this as completed Apr 21, 2015
rumach added a commit that referenced this issue Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants