Re: Multiprocessing takes higher execution time

2009-01-08 Thread Nick Craig-Wood
Sibtey Mehdi sibt...@infotechsw.com wrote: I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile, newFile)).start() It takes 61 seconds execution time. When

Re: Multiprocessing takes higher execution time

2009-01-08 Thread James Mills
On Thu, Jan 8, 2009 at 7:31 PM, Nick Craig-Wood n...@craig-wood.com wrote: (...) How many projects are you processing at once? And how many MB of zip files is it? As reading zip files does lots of disk IO I would guess it is disk limited rather than anything else, which explains why doing

RE: Multiprocessing takes higher execution time

2009-01-08 Thread Sibtey Mehdi
, Gopal -Original Message- From: Nick Craig-Wood [mailto:n...@craig-wood.com] Sent: Thursday, January 08, 2009 3:01 PM To: python-list@python.org Subject: Re: Multiprocessing takes higher execution time Sibtey Mehdi sibt...@infotechsw.com wrote: I use multiprocessing to compare more

Multiprocessing takes higher execution time

2009-01-07 Thread Sibtey Mehdi
Hi, I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile, newFile)).start() It takes 61 seconds execution time. When I do the same comparison without

Re: Multiprocessing takes higher execution time

2009-01-07 Thread Steve Holden
Sibtey Mehdi wrote: Hi, I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile, newFile)).start() It takes 61 seconds execution time. When I do

Re: Multiprocessing takes higher execution time

2009-01-07 Thread Grant Edwards
On 2009-01-07, Steve Holden st...@holdenweb.com wrote: I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile, newFile)).start() It takes 61 seconds execution

Re: Multiprocessing takes higher execution time

2009-01-07 Thread Nick Craig-Wood
Grant Edwards inva...@invalid wrote: On 2009-01-07, Steve Holden st...@holdenweb.com wrote: I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile,

RE: Multiprocessing takes higher execution time

2009-01-07 Thread Sibtey Mehdi
higher execution time On 2009-01-07, Steve Holden st...@holdenweb.com wrote: I use multiprocessing to compare more then one set of files. For comparison each set of files (i.e. Old file1 Vs New file1) I create a process, Process(target=compare, args=(oldFile, newFile)).start() It takes