[Varnish] #14: storage_file.c allocation strategy

Varnish varnish-bugs at projects.linpro.no
Thu Sep 7 13:00:38 CEST 2006

#14: storage_file.c allocation strategy
 Reporter:  des       |        Owner:  phk        
     Type:  defect    |       Status:  new        
 Priority:  low       |    Milestone:  Varnish 1.0
Component:  varnishd  |      Version:  trunk      
 Severity:  minor     |   Resolution:             
 Keywords:            |  
Comment (by phk):

 The freelist has been split into 32 buckets on number of pages.

 The last bucket holds anything larger than N.

 Allocation policy is smallest first, lower address first.

 This has significantly reduced the search time and seems to have
 benefitted fragmentation as well.

Ticket URL: <http://varnish.projects.linpro.no/ticket/14>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list