BIND 10 #1777: resetting vectors in auth::Query

BIND 10 Development do-not-reply at isc.org
Wed Mar 14 13:55:53 UTC 2012


#1777: resetting vectors in auth::Query
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:
                Type:  enhancement   |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 #1747 and its predecessors introduced three vectors for storing the rrsets
 that get added to response messages. These vectors currectly get reserved
 to contain 64 rrsets each, but in theory they might grow. It was suggested
 that if they ever become larger than this, it might be good to reset them
 (back to a reserved size of 64, or whatever value turns out to be good).

 The idea is that if they are abnormally large, the are replaced by new
 vectors during reset(). In normal cases this wouldn't happen (and the
 overhead is a size check for each). If much larger, the replacement should
 clear up unused memory for these.

 But see the discussion in #1747

-- 
Ticket URL: <http://bind10.isc.org/ticket/1777>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list