[pve-devel] [PATCH 2/2] monitor diskio with qmp command
Alexandre DERUMIER
aderumier at odiso.com
Tue Jul 10 20:15:55 CEST 2012
Isn't more simple to use something like this ?
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 ?
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mardi 10 Juillet 2012 17:57:01
Objet: RE: [pve-devel] [PATCH 2/2] monitor diskio with qmp command
> Another thing, is it possible to launch vmstatus with some kind of parallelism
> ?
> I'm not expert in perl, but something which works like LWP::Parallel.
> So, if a kvm process take time to respond, it doesn't impact other vm stats.
> Also I didn't have benched qmp call, but maybe with a lot of vms,it can take
> too much time if called sequentially ?
I guess we can use IO::Multiplex for that:
http://search.cpan.org/dist/IO-Multiplex/lib/IO/Multiplex.pm
- Dietmar
--
--
Alexandre D e rumier
Ingénieur Systèmes et Réseaux
Fixe : 03 20 68 88 85
Fax : 03 20 68 90 88
45 Bvd du Général Leclerc 59100 Roubaix
12 rue Marivaux 75002 Paris
More information about the pve-devel
mailing list