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

Increase FD_SETSIZE from its default of 64 on Cygwin #57

Merged
merged 2 commits into from
May 17, 2017

Conversation

embray
Copy link
Collaborator

@embray embray commented May 12, 2017

This is basically the same problem that tso-22839 is addressing, but applied to Cysignals (specifically the pselect module). It's necessarily to manually bump up FD_SETSIZE to something reasonable, and ISTM the easiest way to do that consistently, especially with Cython, is to pass it at build time.

This came up in Sage when running ./sage -t with a large number of processes.

@jdemeyer
Copy link
Collaborator

Please add some documentation (the explanation in this PR could be a comment in the code).

@embray
Copy link
Collaborator Author

embray commented May 14, 2017

Ok, no problem--I figured you'd ask. Just wanted to make sure you were OK with the general approach first.

@embray embray requested a review from jdemeyer May 16, 2017 12:14
@jdemeyer jdemeyer merged commit fbbb906 into sagemath:master May 17, 2017
@embray embray deleted the cygwin/fd_setsize branch May 19, 2017 08:40
@embray
Copy link
Collaborator Author

embray commented May 19, 2017

Thanks--how soon do you think we can get this update into Sage? It's not super important but nice to have for running the tests.

@jdemeyer
Copy link
Collaborator

how soon do you think we can get this update into Sage?

5 minutes if needs be :-)

@embray
Copy link
Collaborator Author

embray commented May 19, 2017

Well, okay. It's not an emergency, but thanks!

@jdemeyer
Copy link
Collaborator

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