[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.120,2.121

Greg Stein gstein@lyra.org
Thu, 16 Dec 1999 10:05:23 -0800 (PST)


On Thu, 16 Dec 1999, Guido van Rossum wrote:
> > But this means that your tables no long reside in "const" space. Yet More
> > Per-Process Memory...
> 
> & size python
> 1046211 + 117992 + 13640 = 1177843
> 
> I don't think there's much of a need to worry about this.  Why are you
> always bringing up this subject?  No-one else that I know has ever had
> this concern...

Somebody has to :-)

Keeping the working set low is more efficient from a system standpoint. If
you have 50 Python processes running, then you want them sharing as much
as possible and you want the per-process working set as small as possible.
A smaller working set means that you can start more processes before
paging (i.e. it scales better), and it also leads to a faster startup time
(less initialization and page allocation).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/