Re: [Libevent-users] high CPU usage?

2006-04-26 Thread jmzorko
Hannah, What results do you get if you profile your server program (compile and link with -pg, run it, terminate it, run gprof binary gmon.out profile.txt and look at the output)? The high CPU usage is happening inside event_dispatch() -- basically, it seems to be doing a busy wait

Re: [Libevent-users] high CPU usage?

2006-04-26 Thread Niels Provos
Which version of libevent are you using and where is the code that makes use of it? Niels. On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hannah, What results do you get if you profile your server program (compile and link with -pg, run it, terminate it, run gprof binary