[GHC] #865: runghc extremely slow when output redirected to file on NFS

GHC trac at galois.com
Thu Sep 28 06:48:07 EDT 2006


#865: runghc extremely slow when output redirected to file on NFS
----------------------------------+-----------------------------------------
  Reporter:  greenrd at greenrd.org  |          Owner:                
      Type:  bug                  |         Status:  closed        
  Priority:  normal               |      Milestone:  6.6           
 Component:  GHCi                 |        Version:  6.4.2         
  Severity:  normal               |     Resolution:  fixed         
  Keywords:                       |             Os:  Linux         
Difficulty:  Unknown              |   Architecture:  x86_64 (amd64)
----------------------------------+-----------------------------------------
Changes (by simonpj):

  * resolution:  => fixed
  * milestone:  => 6.6
  * status:  new => closed

Comment:

 Assuming your diagnosis is right (it seems very plausible), the right
 thing seems to be that we should use un-buffered I/O only when doing truly
 interactive GHCi, and not when doing runghc, or ghc -e.

 So we've made that change, and will push the change into 6.6.

 Can you test a nightly-build snapshot to see if it fixes your problem?

 Meanwhile, we're closing the bug.  Thanks for reporting it

 Simon

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


More information about the Glasgow-haskell-bugs mailing list