Hi All,
Is there any way to reduce the processor usage by perl?
I am trying to use nice -19 but proc usage is still 100%
Tasks: 189 total, 2 running, 187 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.5%sy, 26.0%ni, 73.5%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 4042684k total, 34635
On Sun, Jan 13, 2013 at 3:03 PM, Vic Sage wrote:
> I'm writing a multiplexed TCP-based server that reads "\n"-terminated strings
> from clients and does something with them. Since this is one process with
> multiple client connections, it uses select() (or, actually, can_read from
> IO::Select
I'm writing a multiplexed TCP-based server that reads "\n"-terminated strings
from clients and does something with them. Since this is one process with
multiple client connections, it uses select() (or, actually, can_read from
IO::Select) to block until data has arrived from any client.
It's m