Skip to content
  • Simon Marlow's avatar
    Add some more flexibility to the multiproc scheduler · 4368121d
    Simon Marlow authored
    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.
    4368121d