Hi Alo,
I have been reading this. It says we should use "-pthread", but it
is four years old though.
http://gnu-darwin.sourceforge.net/porting.html
yes, this is old. On Tiger (and I believe Panther as well), the
pthread library, /usr/lib/libpthread.dylib is actually a symlink to
libSystem.dylib, therefore there is no need for the flag.
No, actually there is a keyword for that: "PollMethod". Take a look
at the advance.conf configuration file, there is an example there.
Thanks! works great!
> I wondered because if not, then I need to create a patch file to
> remove KQUEUE from config.h for the moment since it leads to poor
> performance on OS X.
I have committed a little patch to change the default priority from:
epoll, kqueue, event port, poll and select, to: epoll, poll, kqueue,
event port and select, so in the next release it is going to be
fine.
This is great news as well! Actually Apple released 10.4.3 today and
the kqueue bug is gone!!! Performance of the OS are actually up a
notch as well (~10% as far as cherokee is concerned). On my machine
benchmarking the small default cherokee page at 10 concurrency gives
me now 3.3K req/s with kqueue (and no errors!), and 5.6K req/s with
poll!
Anyway, I am glad to see that Apple fixed the problem with kqueue. I
am wondering though why kqueue is leading to such poor performance
when in theory it should yield to better performance than poll...
Maybe a little bit more in depth benchmarking might be able to see
the short fall of poll versus kqueue if in fact it is true under very
high concurrency/heavy load.
Cheers!
Sébastien_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee