GNU/Linux vs. Windows as Python platform
Niki Spahiev
spahievi at vega.bg
Fri May 18 05:47:02 EDT 2001
18.5.2001, 10:56:06, Tim Peters wrote:
TP> I have no explanation for any of this, and since I can't look at the Windows
TP> source code probably never will.
TP> Ah, there *is* a way to boost pystone performance again under Win98SE without
TP> rebooting: get into Python and create a giant array, then get out of Python
TP> and run pystone again. For example, my home desktop box has 256Mb RAM, and
TP> something like this is plenty:
>>>> a = [None] * 50000000
TP> That forces Python to allocate and crawl over a 200Mb chunk of memory. For
TP> whatever reason, that's enough to convince Win98SE to forget whatever it is
TP> it's caching that's *killing* pystone performance.
You can try set win9x cache size with free utility from
www.sysinternals.com win9x has very strange ideas for optimal size.
--
Best regards,
Niki Spahiev
More information about the Python-list
mailing list