[pox-dev] how to make recoco support more than 1024 fds?

Murphy McCauley murphy.mccauley at gmail.com
Mon Dec 2 14:12:06 PST 2013


There's no commandline argument for it.  It's not really a supported configuration since as far as I know, there aren't very many use cases (indeed, the only people I know of for whom it has been important are the STS guys).  I wouldn't even swear that it works on current versions!  But you can certainly try it (and if it doesn't work, I may be able to help get it working again).

To switch to it, modify core.py.  Around line 198 is:
self.scheduler = recoco.Scheduler(daemon=True)

Change this to:
self.scheduler = recoco.Scheduler(daemon=True, useEpoll=True)

.. and I think that should do it.


-- Murphy

On Dec 2, 2013, at 2:17 PM, Nan Zhu <zhunanmcgill at gmail.com> wrote:

> Hi, all
> 
> I saw there is a commit about using epoll, but, how to enable that through cmd argument?
> 
> Best,
> 
> -- 
> Nan Zhu
> School of Computer Science,
> McGill University
> 



More information about the pox-dev mailing list