logo       

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

lang.haskell.glasgow.bugs

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

#865: runghc extremely slow when output redirected to file on NFS
------------------------------------+---------------------------------------
Reporter: greenrd@xxxxxxxxxxx | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.4.2
Severity: normal | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: x86_64 (amd64) |
------------------------------------+---------------------------------------
When I compile my program using ghc and run the generated executable, the
compilation is slow but the executable is very fast. When I run the
program using runghc, it's extremely slow if I redirect the output to a
file on NFS - but it's not using lots of CPU, it just sits there.

My best guess is that runghc turns off output buffering entirely and
outputs one character at a time - which murders NFS performance, so I'm
told.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/865>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise