Re: Most time spent on POE/Loop/Select.pm?

Ryan Chan <[email protected]> Thu, 4 Mar 2010 22:42:36 +0800
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Hi ALL,

On Thu, Mar 4, 2010 at 4:22 AM, [email protected] <[email protected]> wrote:

> profiling. Also, there are numerous Loop adapters ( POE::Loop::IO_Poll,
> POE::XS::Loop::EPoll, etc ) that could take advantage of your platform or
> workload to reduce the overhead. As always, benchmark/test your code against
> the various loops to see if one of them is best for your workload. As taken
> from the POE::Kernel pod: "By default POE uses its select() based loop to
> drive its event system. This is perhaps the least efficient loop, but it is
> also the most portable. POE optimizes for correctness above all."

Thanks for your reply.

I need to clean up my code first so I will upload later (together with
the profile report).

In the meantime, since I am only with Linux, how can I tell POE to use EPOLL?

Thanks.