#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                     
    Keywords:                    |   Difficulty:  Project (more than a week)
          Os:  Unknown/Multiple  |     Testcase:  N/A                       
Architecture:  Unknown/Multiple  |      Failure:  Runtime performance bug   
---------------------------------+------------------------------------------

Comment(by kazu-yamamoto):

 > If you send me an email with the error I can try to reproduce it
 > (I'm also on OS X).

 The error is attached.

 > There are a number of kernel settings that need to be changed to run
 > some of these benchmarks. All of the settings are done automatically
 > for you by the `benchmark_shell.py` script. It can be used like so:

 Thanks!

 > If you want to play with the code using `forkIO` style concurrency
 > (but using `Socket`s instead of `Handle`s) you can you
 > `System.Event.Thread` and `benchmarks/EventSocket.hs`.

 I read it before. But I still want to use Handle for buffering.

 The error: (Note I upgrade my Mac to Snow Leopard and GHC to 6.12.1)

 {{{
 % make
 ranlib ../dist/build/libHSevent-0.1.a
 ghc -funbox-strict-fields -package bytestring -ignore-package event -fno-
 ignore-asserts -Wall -fno-warn-orphans -fno-warn-missing-signatures
 -i../dist/build -package-name event-0.1  -package network -package
 network-bytestring -package attoparsec -package bytestring-show -package
 mtl -threaded -o dead-conn Args.o EventUtil.o EventSocket.o DeadConn.o
 ../dist/build/libHSevent-0.1.a
 gcc -O2 -o deadconn deadconn.o
 ld: warning: in deadconn.o, file is not of required architecture
 Undefined symbols:
   "_main", referenced from:
       start in crt1.10.6.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [deadconn] Error 1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/635#comment:35>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to