[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_pvt_mp_ multiprecision stuff



I'm seeing a significant amount of CPU use after a search completes, apparently just from updating the op counters. The CPU really should not be 50-90% busy after processing a single query, after the client has already disconnected. I think it might be better to prefer long long's to the bignum or gmp stuff. Are we really concerned that any 64 bit counter is going to overflow? Even on 10Gbit ethernet it will take ~544 years to overflow a 64 bit byte counter, and that's assuming a continuous output stream at 100% bandwidth utilization.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/