Skip to content

Conversation

ymjiang
Copy link
Member

@ymjiang ymjiang commented Dec 20, 2019

export BYTEPS_ENABLE_IPC=1 to enable high performance co-locate mode.

@@ -46,6 +45,8 @@ std::string BytePSGlobal::_trace_dir;
std::unordered_map<std::string, int> BytePSGlobal::_name2end;
int BytePSGlobal::_output_counter = 0;

int BytePSGlobal::_pagesize = 4096;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get the page size from syscall instead of a hard-coded number?

@bobzhuyb bobzhuyb merged commit bb91039 into bytedance:master Jan 5, 2020
@ymjiang ymjiang deleted the page_align branch February 14, 2020 11:49
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

Successfully merging this pull request may close these issues.

2 participants