Re: Multiprocessing and file I/O

2009-05-25 Thread Infinity77
Hi Paul & All, On May 24, 4:16 pm, Paul Boddie wrote: > On 24 Mai, 16:13, Infinity77 wrote: > > > > > No, the processing of the data is fast enough, as it is very simple. > > What I was asking is if anyone could share an example of using > > multiprocessing to read a file, along the lines I desc

Re: Multiprocessing and file I/O

2009-05-24 Thread Paul Boddie
On 24 Mai, 16:13, Infinity77 wrote: > > No, the processing of the data is fast enough, as it is very simple. > What I was asking is if anyone could share an example of using > multiprocessing to read a file, along the lines I described above. Take a look at this section in an article about multi-

Re: Multiprocessing and file I/O

2009-05-24 Thread Infinity77
Hi Igor, On May 24, 1:10 pm, Igor Katson wrote: > Infinity77 wrote: > > Hi All, > > >     I am trying to speed up some code which reads a bunch of data from > > a disk file. Just for the fun of it, I thought to try and use parallel > > I/O to split the reading of the file between multiple process

Re: Multiprocessing and file I/O

2009-05-24 Thread Igor Katson
Infinity77 wrote: Hi All, I am trying to speed up some code which reads a bunch of data from a disk file. Just for the fun of it, I thought to try and use parallel I/O to split the reading of the file between multiple processes. Although I have been warned that concurrent access by multiple

Multiprocessing and file I/O

2009-05-24 Thread Infinity77
Hi All, I am trying to speed up some code which reads a bunch of data from a disk file. Just for the fun of it, I thought to try and use parallel I/O to split the reading of the file between multiple processes. Although I have been warned that concurrent access by multiple processes to the sam