Re: epoll scheduler

Vincent Bernat <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
 ❦ 18 août 2015 11:51 +0300, Alexey Andriyanov <[email protected]> :

> Thank you for explanation, I was not aware of snmp_select_info2.
>
> I noticed that NetSNMP agent startup routine opens some filehandles
> right after start and then using them to handle queries. This means
> that even if keepalived opens many filehandles during its lifetime,
> the SNMP ones would have numbers less than 20, so the select interface
> would be sufficient for a typical usage.

Yes, that's why I say you shouldn't care too much. However, if you want
to be bullet proof, adding snmp_select_info2 support is "easy":

 https://github.com/vincentbernat/lldpd/commit/59c32cf0a4649d7c3f964311ad4924a46c923b77

Note that you won't get any speed improvement since the new FD set is
just a copy of the old one and no way to efficiently iterate on it is
provided.
-- 
Seeing that death, a necessary end,
Will come when it will come.
		-- William Shakespeare, "Julius Caesar"

------------------------------------------------------------------------------
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.