Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Optimizing a large project.by salva (Canon) |
on Jun 13, 2008 at 08:15 UTC ( [id://691858]=note: print w/replies, xml ) | Need Help?? |
To know where the problem lies, if in IO or in CPU usage, all you need to do is to run top or any other similar monitoring tool while your program is running. Roughly, if it shows that CPU usage goes over 90%, then your problem is CPU, below 30% it is IO and in the middle it is both.
Well, this method will not work if your application just receives a few events per minute that are processed in less than a second, below the top (and your eyes!) resolution.
In Section
Seekers of Perl Wisdom
|
|