Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2008 09:56:01 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sched_ule.c
Message-ID:  <200804170956.m3H9u1nm075979@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2008-04-17 09:56:01 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - Add a metric to describe how busy a processor has been over the last
     two ticks by counting the number of switches and the load when
     sched_clock() is called.
   - If the busy metric exceeds a threshold allow the idle thread to spin
     waiting for new work for a brief period to avoid using IPIs.  This
     reduces the cost on the sender and receiver as well as reducing wakeup
     latency considerably when it works.
  
  Sponsored by:   Nokia
  
  Revision  Changes    Path
  1.243     +71 -7     src/sys/kern/sched_ule.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804170956.m3H9u1nm075979>