[GHC] #7606: Stride scheduling for Haskell threads with priorities

GHC cvs-ghc at haskell.org
Thu Jan 24 00:52:35 CET 2013


#7606: Stride scheduling for Haskell threads with priorities
---------------------------------+------------------------------------------
    Reporter:  ezyang            |       Owner:  ezyang          
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  7.8.1           
   Component:  Runtime System    |     Version:  7.7             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by ezyang):

 I wonder if we're hitting this:

 {{{
     /* The size argument we are given includes all the per-thread
      * overheads:
      *
      *    - The TSO structure
      *    - The STACK header
      *
      * This is so that we can use a nice round power of 2 for the
      * default stack size (e.g. 1k), and if we're allocating lots of
      * threads back-to-back they'll fit nicely in a block.  It's a bit
      * of a benchmark hack, but it doesn't do any harm.
      */
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7606#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list