[IronPython] performance hit on 64 bit systems
idan at cloudshare.com
Fri Sep 3 12:42:43 CEST 2010
Using ipy64 gave better results of 14.8 sec but still not as good as the 32
I did do the ngen but Im not sure I did properly.
BTW, my real application is hosted on .net application, does ngen affect me
in this case?
*From:* users-bounces at lists.ironpython.com [mailto:
users-bounces at lists.ironpython.com] *On Behalf Of *Lukas Cenovsky
*Sent:* Friday, September 03, 2010 1:17 PM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] performance hit on 64 bit systems
- do you run 64-bit IronPython on 2008 R2?
- did you NGEN 64-bit IronPython and the app?
On 3.9.2010 12:04, Idan Zaltzberg wrote:
I'm trying to migrate a big application (running on IronPython 2.6.1) from
a 32 bit OS (windows server 2003 R2) to a 64 bit system (windows server 2008
I have noticed about 50% performance hit, i.e. operations that took 10
seconds, now take 15 seconds.
I have tried to see the what is the root cause and created the following
test, and ran it on both systems:
for x in xrange(n):
s='string:%s' % (x,)
from System.Diagnostics import Stopwatch
sw = Stopwatch()
n = 1e7
è *11.7766457 (In windows server 2003 R2 – 32 bit)*
è *16.3231212 (In windows server 2008 R2 – 64 bit)*
Which matches the about 50% loss I have seen on my system.
On the other hand, the equivalent code in cpython yields *slightly better
results to the 64 bit OS* (3.7 sec to the 64 bit, against 4.1 sec to the 32
I hoped you might help to understand why this as happened and can I improve
the performance in any way for 64 bit systems.
Users mailing list
Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users