
#8733: I/O manager causes unnecessary syscalls in send/recv loops --------------------------------------------+------------------------------ Reporter: tibbe | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Runtime System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime performance bug | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: --------------------------------------------+------------------------------ Comment (by hvr): Replying to [comment:14 tibbe]:
Good question. I have a theory that the `MVar` overheads might be hurting us and integrating the I/O manager with the scheduler could allow us to get around that.
Just wondering, would integration with the scheduler simplify implementing (soft) timeouts, like e.g. providing {{{#!hs threadWaitReadWithTimeout, threadWaitWriteWithTimeout :: Fd -> Int -> IO Bool }}} directly in the I/O manager? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8733#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler