Fri Mar 24 08:45:32 PST 2006  Simon Marlow <[EMAIL PROTECTED]>
  * Add some more flexibility to the multiproc scheduler
  
  There are two new options in the -threaded RTS:
   
    -qm       Don't automatically migrate threads between CPUs
    -qw       Migrate a thread to the current CPU when it is woken up
  
  previously both of these were effectively off, i.e. threads were
  migrated between CPUs willy-milly, and threads were always migrated to
  the current CPU when woken up.  This is the first step in tweaking the
  scheduling for more effective work balancing, there will no doubt be
  more to come.

    M ./ghc/includes/RtsFlags.h +2
    M ./ghc/includes/TSO.h -25 +28
    M ./ghc/rts/Apply.cmm -1 +1
    M ./ghc/rts/Capability.c -2 +38
    M ./ghc/rts/Capability.h -1 +12
    M ./ghc/rts/Exception.cmm -1 +1
    M ./ghc/rts/RtsFlags.c +25
    M ./ghc/rts/Schedule.c -20 +52
    M ./ghc/rts/Schedule.h +22
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to