mal at egenix.com
Wed Feb 4 22:26:37 CET 2009
On 2009-02-04 11:14, Robin Becker wrote:
> Martin v. Löwis wrote:
>>>> I follow David's guess that Linux does better IO than Windows (not
>>>> knowing anything about the benchmark, of course)
>>> I originally thought it must be the vmware host stuff offloading IO to
>>> the second core, but watching with sysinternals didn't show a lot of
>>> extra stuff going on with the vm compared to just running on the host.
>> I'm not talking about vmware. I'm suggesting that Linux ext3, and the
>> Linux buffer handling, is just more efficient than NTFS, and the Windows
>> buffer handling.
>> If you split the total runtime into system time and user time, how do
>> the 30s split up?
> so here is one for the vm clock is bad theorists :)
>> [rptlab at localhost tests]$ time python25 runAll.py
>> Ran 193 tests in 27.841s
>> real 0m28.150s
>> user 0m26.606s
>> sys 0m0.917s
>> [rptlab at localhost tests]$
> magical how the total python time is less than the real time.
time(1) also measures the Python startup and shutdown time, so
I don't quite see the magic :-(
FWIW: VMware VMs need the VMware tools installed to make their
clocks work more or less. With Linux, you need some extra tweaks
as well, otherwise the clocks are just completely unreliable.
See these notes:
Professional Python Services directly from the Source (#1, Feb 04 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the Python-list