git: DragonFly_RELEASE_3_2 kernel - Reduce the size of the callout wheel

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 13 19:17:34 PST 2012


commit 4e9492a2de2db3eb2c3ba2c331d664c7f9829132
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 10 15:11:46 2012 -0800

    kernel - Reduce the size of the callout wheel
    
    * The callout wheel is per-cpu but ncallout is calculated based on memory.
      A system with many cpus tended to allocate an excessive amount of memory
      in aggregate for the callout wheels.
    
    * Reduce the size of the per-cpu callout wheel by approximately a factor
      of (ncpus).  On a 16G machine with 8 cores, aggregate callout wheel
      allocations is reduced from 128MB to 16MB.

Summary of changes:
 sys/kern/kern_timeout.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e9492a2de2db3eb2c3ba2c331d664c7f9829132


-- 
DragonFly BSD source repository



More information about the Commits mailing list