DragonFly BSD
DragonFly commits List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Reduce the size of the callout wheel


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 15:14:37 -0800 (PST)

commit e0bb2265100c4b882ad69417f9055f66e4066370
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]