git: kernel - Reduce the size of the callout wheel

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 10 15:14:37 PST 2012


commit e0bb2265100c4b882ad69417f9055f66e4066370
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/e0bb2265100c4b882ad69417f9055f66e4066370


-- 
DragonFly BSD source repository


More information about the Commits mailing list