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

cvs commit: src/sys/sys usched.h src/sys/kern usched_bsd4.c kern_clock.c src/bin/ps extern.h keyword.c print.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jun 2005 18:25:10 -0700 (PDT)

dillon      2005/06/28 18:25:10 PDT

DragonFly src repository

  Modified files:
    sys/sys              usched.h 
    sys/kern             usched_bsd4.c kern_clock.c 
    bin/ps               extern.h keyword.c print.c 
  Log:
  Yet more scheduler work.  Revamp the batch detection heuristic and fix a few
  things here and there.  Test the algorithm against buildworlds, mozilla,
  gnome-terminal, and pine all running at once.
  
  * Fix a bug in how I handle p_slptime.
  * Move the ++p_cptime out of usched_bsd4 and into kern_clock.c.
  * Redo the batch heuristic, boost the cost of doing a fork, and
    slowly decrement p_origcpu to compensate for long-running
    processes.
  * Use an instantanious load instead of a time-averaged load in the
    decay calculation.
  
  TODO: the SMP support will be virtually identical across all schedulers
  and should probably be abstracted out of usched_*.c.
  
  Revision  Changes    Path
  1.5       +1 -1      src/sys/sys/usched.h
  1.30                 src/sys/kern/usched_bsd4.c
  1.45      +1 -0      src/sys/kern/kern_clock.c
  1.12      +1 -0      src/bin/ps/extern.h
  1.20      +4 -1      src/bin/ps/keyword.c
  1.22      +11 -0     src/bin/ps/print.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/usched.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/extern.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/keyword.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.21&r2=1.22&f=u



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