Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #55775

Re: Idea for removing the GIL...

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Idea for removing the GIL...
Date 2011-02-08 11:52 -0500
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-65096A.11523608022011@news.panix.com> (permalink)
References <7d3a67ba-b5ff-4b11-95b5-71f041dfc63a@o7g2000prn.googlegroups.com> <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>

Show all headers | View raw


In article <mailman.13.1297183120.1633.python-list@python.org>,
 Robert Kern <robert.kern@gmail.com> 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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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