Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #55718
| From | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| Subject | Re: Idea for removing the GIL... |
| Date | 2011-02-08 18:05 +0100 |
| References | (1 earlier) <mailman.0.1297159531.1633.python-list@python.org> <b88fdfc0-0aa1-4710-9b82-30afff9f8a01@a28g2000prb.googlegroups.com> <AANLkTi=i1Zm-MC2isn+hpn6WGy0MSsV7=5LzKnQ8_xVC@mail.gmail.com> <mailman.13.1297183120.1633.python-list@python.org> <roy-65096A.11523608022011@news.panix.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17.1297185009.1633.python-list@python.org> (permalink) |
Roy Smith, 08.02.2011 17:52: > Robert Kern wrote: > >> Unlike a UNIX fork, CreateProcess() does not have the same copy-on-write >> semantics for initializing the memory of the new process. If you want to pass >> data to the children, the data must be pickled and sent across the process >> boundary. He's not saying that multiprocessing isn't useful at all on >> Windows, just less useful for the scenarios he is considering here. > > Amen, brother! I used to work on a project that had a build system > which was very fork() intensive (lots of little perl and shell scripts > driven by make). A full system build on a linux box took 30-60 minutes. > Building the same code on windows/cygwin took about 12 hours. Identical > hardware (8-core, 16 gig Dell server, or something like that). > > As far as we could tell, it was entirely due to how bad Windows was at > process creation. Unlikely. Since you mention cygwin, it was likely due to the heavy lifting cygwin does in order to emulate fork() on Windows. http://www.cygwin.com/faq/faq-nochunks.html#faq.api.fork Stefan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Idea for removing the GIL... Adam Tauno Williams <awilliam@whitemice.org> - 2011-02-08 05:05 -0500
Re: Idea for removing the GIL... Vishal <vsapre80@gmail.com> - 2011-02-08 04:34 -0800
Re: Idea for removing the GIL... Stefan Behnel <stefan_ml@behnel.de> - 2011-02-08 18:05 +0100
Re: Idea for removing the GIL... Roy Smith <roy@panix.com> - 2011-02-08 11:52 -0500
Re: Idea for removing the GIL... Jean-Paul Calderone <calderone.jeanpaul@gmail.com> - 2011-02-08 04:53 -0800
csiph-web