Skip to content

Use mmap_mode='r' by default in MemmapingPool - #150

Merged
ogrisel merged 1 commit into
joblib:masterfrom
ogrisel:fix-use-readonly-mmap
Jun 30, 2014
Merged

ogrisel merged 1 commit into
joblib:masterfrom
ogrisel:fix-use-readonly-mmap

Conversation

@ogrisel

@ogrisel ogrisel commented Jun 30, 2014

Copy link
Copy Markdown
Contributor

mmap_mode='c' triggers unexpected memory paging under Windows. See: scikit-learn/scikit-learn#3313.

mmap_mode='c' triggers unexpected memory paging under Windows.
@ogrisel

ogrisel commented Jun 30, 2014

Copy link
Copy Markdown
Contributor Author

@GaelVaroquaux I switched to mmap_mode='r' by default and clarified the tests a bit. I confirm that the behavior under windows is not now working as expected (no more unexpected paging).

@GaelVaroquaux

Copy link
Copy Markdown
Member

LGTM. 👍 for merge. Thanks

ogrisel added a commit that referenced this pull request Jun 30, 2014
Use mmap_mode='r' by default in MemmapingPool
@ogrisel
ogrisel merged commit 9e57395 into joblib:master Jun 30, 2014
@ogrisel

ogrisel commented Jun 30, 2014

Copy link
Copy Markdown
Contributor Author

BTW, tests in this branch pass under windows.

@GaelVaroquaux

Copy link
Copy Markdown
Member

BTW, tests in this branch pass under windows.

Good job!

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