[GHC] #1623: ghci: 20 wakeups per second

GHC trac at galois.com
Tue Aug 21 09:29:47 EDT 2007


#1623: ghci: 20 wakeups per second
-----------------------+----------------------------------------------------
  Reporter:  igloo     |          Owner:         
      Type:  bug       |         Status:  new    
  Priority:  normal    |      Milestone:  6.8    
 Component:  Compiler  |        Version:  6.6.1  
  Severity:  normal    |       Keywords:         
Difficulty:  Unknown   |             Os:  Unknown
  Testcase:            |   Architecture:  Unknown
-----------------------+----------------------------------------------------
From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438371 :
 {{{
 According to powertop on my laptop, ghci seems to wake up 20 times per
 second looking for input when sitting at the command prompt.  This has
 negative impact on battery life, as discussed on the powertop page.
 }}}
 I don't think the change in the HEAD to using `timer_create` rather than
 `setitimer` will have fixed this, but I can't currently run powertop so
 haven't been able to confirm that.

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


More information about the Glasgow-haskell-bugs mailing list