cvs commit: src/sys/i386/i386 machdep.c

Peter Wemm peter at FreeBSD.org
Wed Mar 26 19:41:02 PST 2003


peter       2003/03/26 11:40:29 PST

  FreeBSD src repository

  Modified files:
    sys/i386/i386        machdep.c 
  Log:
  Halt the cpus in the idle loop for SMP as well for several reasons:
  1) Its critical for HTT.  There's less foot-shooting opportunity.
  2) I've seen significant improvements in interactive response to commands
  over ssh sessions.  I assume this is less lock contention.
  3) As incentive to finish the idle cpu IPI wakeup stuff.
  4) The machine on my desk was blowing hot air in my general direction
  because somebody forgot to turn the hlt on, and it saves 50 watts per
  cpu..
  
  The machdep.cpu_idle_hlt sysctl is still available, but now the default
  is the same as on UP kernels.
  
  Revision  Changes    Path
  1.556     +3 -4      src/sys/i386/i386/machdep.c


More information about the cvs-src mailing list