Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-23-2003, 06:49 PM   #1
Registered: Dec 2003
Location: Pacific Palisades
Distribution: Suse 9.0
Posts: 48

Rep: Reputation: 15
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.

Last edited by eastsuse; 12-23-2003 at 07:30 PM.
Old 12-23-2003, 07:07 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
Old 02-11-2004, 03:23 PM   #3
Registered: Dec 2003
Location: Pacific Palisades
Distribution: Suse 9.0
Posts: 48

Original Poster
Rep: Reputation: 15
I may have found two solutins.

1) use the fork and exec commands.

2) use ithreads in perl 5.8.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl on linux rinku Linux - Newbie 1 03-10-2005 11:23 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 10:22 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration