Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: faster with threads?

by eserte (Deacon)
on Jun 09, 2004 at 09:39 UTC ( [id://362666]=note: print w/replies, xml ) Need Help??


in reply to faster with threads?

Also this script will run on a machine with 2 cpus. Will the threading enable it to use both cpu's?
This depends on the threading implementation of your operating system. I believe that on FreeBSD 4.x it won't (unless you use the linuxthreads package), while on Linux it will.

Replies are listed 'Best First'.
Re^2: faster with threads?
by hakkr (Chaplain) on Jun 09, 2004 at 13:28 UTC
    Check your kernel if you are using the smp linux kernel theres a good chance it will use both processors. Also check if your db is setup to use threads

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://362666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-16 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found