Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl threading stability?

by guice (Scribe)
on Jul 26, 2005 at 20:56 UTC ( #478363=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl threading stability?
in thread Perl threading stability?

<blockquot>I am not aware of any problems that that a threaded build of perl causes for non-threaded applications, apart from a minor drop in performance.

Not sure if you'd know, but I thought I'd ask; know how minor? or how impacting is it to currently non-threaded scripts?

One thing I do have to watch out about is this version will be put out onto approximately 350 servers. At this time, my data collection scripts, only, will be using it. The collections script is not to be threaded. The threading is more for the "server" side script which gathers all the data collection dumps and loads it into the database.

-- philip
We put the 'K' in kwality!


Comment on Re^2: Perl threading stability?
Re^3: Perl threading stability?
by dave_the_m (Parson) on Jul 26, 2005 at 23:00 UTC
    I knocked up this random meaningless benchmark script:
    my $t; for my $i (1..10_000_000) { if ($i % 3) { $t += $i; } }
    and ran it a few times on a threaded and non-threaded perl build (a recent bleedperl) and got average timings of 4.46s and 4.99s, so about 10% slower.

    Dave.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-04-21 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls