problem in implementing multiprocessing

James Mills prologic at shortcircuit.net.au
Sat Jan 17 00:07:15 EST 2009


On Fri, Jan 16, 2009 at 7:16 PM, gopal mishra <gopalm at infotechsw.com> wrote:
> I create two heavy objects sequentially without using multipleProcessing
> then creation of the objects takes 2.5 sec.if i create these two objects in
> separate process then total time is 6.4 sec.
>
> i am thinking it is happening due to the pickling and unpickling of the
> objects.if i am right then what could be the sollution.
>
> my system configuration:
> dual-core processor
> winXP
> python2.6.1

System specs in this case are irrelevant.

What you are experiencing is most likely an I/O
bound problem - using multiprocessing may likely
not help you solve the problem any faster because of
your I/O constraint.

cheers
James



More information about the Python-list mailing list