
#15153: GHC uses O_NONBLOCK on regular files, which has no effect, and blocks the runtime -------------------------------------+------------------------------------- Reporter: nh2 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nh2): This is mainly for Linux but may also apply to other OSs. I've read that FreeBSD has a better story for reading files asynchronously, but I don't know whether GHC has any special code to use those features. Input from FreeBSD users would be appreciated. Otherwise, likely the fix to this for Linux will also improve things over the status quo on FreeBSD. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15153#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler