Re: POE & Tk excessive CPU usage

2007-05-02 Thread David Davis
POE::Loop::TkActiveState is using select with a timeout of 0. That doesn't look right to me. my $hits = select( my $rout = $loop_vectors[MODE_RD], my $wout = $loop_vectors[MODE_WR], my $eout = $loop_vectors[MODE_EX], 0, ); David On 5/2/07, John R. <[EMAIL

Re: POE & Tk excessive CPU usage

2007-05-02 Thread John R.
John R. wrote: I just joined the mailing list...sorry about then new thread... I am experiencing the same problem: single CPU / 100% utilization when idle. POE: 0.99.89 Tk: 804.027 Perl: v5.8.8 built for i686-linux John strace snippet: gettimeofday({1178152425, 688201}, NULL) = 0 getti

POE & Tk excessive CPU usage

2007-05-02 Thread John R.
I just joined the mailing list...sorry about then new thread... I am experiencing the same problem: single CPU / 100% utilization when idle. POE: 0.99.89 Tk: 804.027 Perl: v5.8.8 built for i686-linux John

Re: POE & Tk excessive CPU usage?

2007-05-02 Thread Robert Landrum
Craig Votava wrote: When I use POE and Tk together, I see the process using up a constant 50% of my CPU, even when there's nothing going on. Am I doing something wrong, or is there a good explanation for this? Is there any way to reduce this? Attached is a small test program. truss (sun) or

Re: POE & Tk excessive CPU usage?

2007-05-02 Thread Mark Swayne
I see the same thing on my system, using: POE 0.9989 Tk 804.27 Perl 5.8.8 (ActivePerl build 819) The process is eating a whole CPU. Since I have a dual processor setup, the script is pegged at 50% CPU utilization. --Mark Swayne Craig Votava wrote: Folks- When I use POE and Tk tog

Re: POE & Tk excessive CPU usage?

2007-05-02 Thread Craig Votava
Folks- Anybody have any thoughts on this? I haven't heard a whisper yet. Do others see the same thing? Thanks -Craig On Apr 27, 2007, at 11:15 AM, Craig Votava wrote: Folks- When I use POE and Tk together, I see the process using up a constant 50% of my CPU, even when there's nothing going