Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Perl threads loss of performance with system call

by daniel85 (Novice)
on Jul 10, 2021 at 08:26 UTC ( [id://11134893]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl threads loss of performance with system call
in thread Perl threads loss of performance with system call

Hi perlfan, the computer is a Fedora linux machine with 56 cores.
  • Comment on Re^2: Perl threads loss of performance with system call

Replies are listed 'Best First'.
Re^3: Perl threads loss of performance with system call
by perlfan (Vicar) on Jul 13, 2021 at 05:03 UTC
    Trust me, if you want to do real threading, perl is the wrong tool. If you're cool with fork, it is. Check out MCE as suggested, or my personal hammer, Parallel::ForkManager. PDL::ParallelCPU looks interesting, but I have not tried it out.

    That said, if you want to feel "perlish" yet have real SMP threading, checkout out Qore.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found