[GHC] #635: Replace use of select() in the I/O manager with
epoll/kqueue/etc.
GHC
trac at galois.com
Thu Dec 17 04:29:57 EST 2009
#635: Replace use of select() in the I/O manager with epoll/kqueue/etc.
-----------------------------------------+----------------------------------
Reporter: simonmar | Owner: bos
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: libraries/base | Version: 6.4.1
Resolution: | Keywords:
Difficulty: Project (more than a week) | Os: Unknown/Multiple
Testcase: N/A | Architecture: Unknown/Multiple
Failure: Runtime performance bug |
-----------------------------------------+----------------------------------
Comment (by simonmar):
This does look like a step in the right direction. How does this compare
in performance to the select version? Glancing at the patch it looks like
building the fdset will be more expensive than before. There's one
withForeignPtr per FD. The INLINEs on the C functions don't have any
effect (unfortunately), even with `-fvia-C`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/635#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list