[pve-devel] [PATCH 2/2] monitor diskio with qmp command

Dietmar Maurer dietmar at proxmox.com
Wed Jul 11 06:10:57 CEST 2012


> http://search.cpan.org/~nilsonsfj/subs-parallel-0.08/lib/subs/parallel.pm
> or
> http://search.cpan.org/~odigity/Parallel-Simple-0.01/lib/Parallel/Simple.pm
> 
> (But maybe they use some king of threads or fork ?)
> 
> They is no way to do real threading with perl ?

IMHO Perl Threads are nonsense. They do not share any data, so
starting a new thread need to copy data and is slow. Basically, it combines the 
disadvantages of "multiple processes" and threads.

But I tested that a long time ago, and do not know it that is now better.

- Dietmar


More information about the pve-devel mailing list