linux and perl
I know that linux supports multiprocessors... I guess up to 8 in the 2.4 kernel and 32 in the 2.6. However, I've noticed one of my intensive perl scripts only uses 1 cpu at all times. Is this due to perl limitation, or do I need to configure perl, or do I need to configure something in the kernel.
Any help would be appreciated. |
To my understanding its at the application level, not the hardware deciding on what uses one or more cpu's. I would think you could write a perl script that would utilize both cpu's, but I'm really uncertain.
|
I may have found two solutins.
1) use the fork and exec commands. 2) use ithreads in perl 5.8. |
All times are GMT -5. The time now is 12:24 AM. |