• Poul-Henning Kamp's avatar
    Now that we do not need the new object while holding the highly trafficed · 2c87bd1f
    Poul-Henning Kamp authored
    objhead lock, don't preallocate objects.
    
    One unfortunate effect of this preallocation, only recently identified:
    
    On systems with high number of worker threads and high hitrates, considerable
    time could elapse between the preallocation of an object to a worker
    thread and the use of that object.
    
    This could make cache-misses use a much larger working set size than
    really necessary.
    
    I do not have access to any benchmarks that show a credible performance
    difference, but reports are most welcome.
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3842 d4fa192b-c00b-0410-8231-f00ffab90ce4
    2c87bd1f
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
varnishapi.pc.in Loading commit data...