netsnmp_large_fd_set_resize

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E417003C07CEA@dexbe012-6.exch012.intermedia.net>
In profiling the net-snmp code it was discovered that the function
netsnmp_large_fd_set_resize is consuming a lot of cpu time.

Does anyone know the ramifications of not doing the following set of
code:
 	/*
	 * Unix: clear the file descriptors defined in the resized
*fdset
	 * but that were not defined in the original *fdset.
	 */
	for (i = fdset->lfs_setsize + 1; i < setsize; i++)
	    FD_CLR(i, fdset->lfs_setptr);


69.39 %  netsnmp_large_fd_set_resize

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.