From owner-cvs-src@FreeBSD.ORG Sun Jun 8 17:39:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D79C737B401; Sun, 8 Jun 2003 17:39:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7496D43FDF; Sun, 8 Jun 2003 17:39:09 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h590d90U019175; Sun, 8 Jun 2003 17:39:09 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h590d9pf019174; Sun, 8 Jun 2003 17:39:09 -0700 (PDT) Message-Id: <200306090039.h590d9pf019174@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 8 Jun 2003 17:39:09 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 00:39:10 -0000 jeff 2003/06/08 17:39:09 PDT FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Add a simple CPU load balancing algorithm. This works by executing once a second and equalizing the load between the two most imbalanced CPU. This is intended to clear up long term load imbalances that would not be handled by the 'pull' method in sched_choose(). - Pull out some bits of sched_choose() into a kseq_move() function that moves an arbitrary thread from one kseq to another. Revision Changes Path 1.36 +95 -7 src/sys/kern/sched_ule.c