Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'anyway.': 0.05; 'interpreter': 0.05; 'lemburg': 0.05; 'run-time': 0.05; 'startup': 0.05; 'subject:Python': 0.06; 'amtsgericht': 0.07; 'germany.': 0.07; 'hrb': 0.07; 'linux,': 0.07; 'marc-andre': 0.07; 'subject:ANN': 0.07; 'subject:file': 0.07; 'weeks.': 0.07; 'm.-a.': 0.09; 'run,': 0.09; 'runtime': 0.09; 'try:': 0.09; 'wrong,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'anyway': 0.14; '>>': 0.16; '(#1,': 0.16; '(say': 0.16; '2.1.3': 0.16; '307': 0.16; '46611': 0.16; 'adapter': 0.16; 'assumptions': 0.16; 'd-40764': 0.16; 'dipl.-math.': 0.16; 'duesseldorf:': 0.16; 'egenix.com': 0.16; 'langenfeld,': 0.16; 'mxdatetime,': 0.16; 'mxodbc,': 0.16; 'mxtexttools': 0.16; 'team:': 0.16; 'to:addr:mal': 0.16; 'to:name:m.-a. lemburg': 0.16; 'url:egenix': 0.16; 'apps': 0.16; 'skip:_ 70': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'app': 0.19; 'module': 0.19; 'projects,': 0.19; 'seems': 0.21; '>>>': 0.22; 'gmbh': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; '>>>': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'source': 0.25; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'external': 0.29; 'scanned': 0.29; 'unix': 0.29; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'page.': 0.31; 'software,': 0.31; 'towards': 0.31; 'arm': 0.31; 'loading': 0.31; 'file': 0.32; 'probably': 0.32; 'run': 0.32; 'quite': 0.32; 'open': 0.33; 'url:python': 0.33; 'running': 0.33; 'ceo': 0.33; 'guess': 0.33; 'mac': 0.33; 'monday,': 0.33; 'could': 0.34; 'problem': 0.35; 'tool': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'version': 0.36; 'really': 0.36; 'ubuntu': 0.36; 'url:downloads': 0.36; 'url:zope': 0.36; "didn't": 0.36; 'shows': 0.36; 'thanks': 0.36; 'should': 0.36; 'so,': 0.37; 'performance': 0.37; 'files': 0.38; 'support,': 0.39; 'sure': 0.39; 'days': 0.60; 'new': 0.61; 'providing': 0.61; 'simple': 0.61; 'you.': 0.62; 'our': 0.64; '8bit%:10': 0.64; 'provide': 0.64; 'total': 0.65; 'world': 0.66; 'services': 0.66; 'due': 0.66; 'here': 0.66; 'direct': 0.67; 'default': 0.69; 'sharing': 0.69; 'subject:One': 0.74; 'behavior': 0.77; '2015': 0.84; 'improvement': 0.84; 'try,': 0.84; 'announcing': 0.91; 'decreased': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lsx/CI+OXvywDt4MOF8ZtOR7BXsONwGHe6agZFdkzQg=; b=WxcKu8m127XFhpD/TjH2mBxLlbd4+U1yVMCZlVGlnriDB+yMfJ1gQhfm89iL01jW1+ CHKfdgmyu0AbR6WYM8huiNQ1vD65zGHiA3sMe3eNc7lO1qEbq6KaqGPq78H7tXFDSN+o Qj7LCkHf/eZTtZ1tl16ouP1VqP7xEcehnaJLS19DU3skcggcsl++jeoLrRqfvHp2mkeB J/N3rlRYZJQPWGkp1Qao9nPflZ12j9v3mRAj2RsA5LmHAF4xkolAiz5pLjUyNNuS3EGH C1ghgn6oGzYFNGyx6A8AwwikQA6erLdcXz67CYPPY564qlq/6tp/ZA3jA4CE7bAtC8Ts 1jUQ== X-Received: by 10.202.18.203 with SMTP id 194mr15447032ois.110.1431526161165; Wed, 13 May 2015 07:09:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <555346E3.4030400@egenix.com> References: <555346E3.4030400@egenix.com> From: Cristiano Cortezia Date: Wed, 13 May 2015 11:09:00 -0300 Subject: Re: ANN: eGenix PyRun - One file Python Runtime 2.1.0 To: "M.-A. Lemburg" Cc: python-list@python.org Content-Type: multipart/alternative; boundary=001a113d24aa52b4600515f728f7 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 268 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431526164 news.xs4all.nl 2924 [2001:888:2000:d::a6]:52697 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90550 --001a113d24aa52b4600515f728f7 Content-Type: text/plain; charset=UTF-8 Well I gave it a try, and it seems my assumptions were *somehow* true. Here is what I got when running one of my apps in single shot mode (load, run, terminate): *default python distribution* total time 9.022s ENOENT's count 7377 *pyrun* total time 8.455s ENOENT's count 3064 So, it indeed failed much less to open files, but I guess this didn't make that much difference after all (500ms). Perhaps it is because this app has some external dependencies (22 to be precise) not bundled on pyrun that had to be scanned by the interpreter anyway. If by any means we could bundle them all the same way, than it could bring a much higher performance gain. But I guess it is not really safe-feasible. Thanks 2015-05-13 9:43 GMT-03:00 M.-A. Lemburg : > On 12.05.2015 15:05, Cristiano Cortezia wrote: > > On Monday, May 11, 2015 at 8:59:22 AM UTC-3, eGenix Team: M.-A. Lemburg > wrote: > >> ________________________________________________________________________ > >> > >> ANNOUNCING > >> > >> eGenix PyRun - One file Python Runtime > >> > >> Version 2.1.0 > >> > >> > >> An easy-to-use single file relocatable Python run-time - > >> available for Linux, Mac OS X and Unix platforms, > >> with support for Python 2.6, 2.7 and > >> **also for Python 3.4**. > > > > Really interesting. > > > > Should we consider this to be an improvement towards the slow startup > problem ? > > > > It seems to have really decreased the number of failed attempt to open > files (ENOENT's appearing with strace upon startup) due to the interpreter > default behavior for module loading on startup. (with a simple hello world > I got 72 ENOENT's against 307 from default python installation on my > standard ubuntu machine). > > > > This problem mainly shows up when slow access storages are used (say > raspberry + sdcard). Any chances you can provide this tool as prebuilt arm > binaries ? > > > > My assumptions may be all wrong, but anyway thanks for sharing your > work. :) > > We have been providing binaries for Raspberry Pis for quite > some time, but without official support, so they are not listed > on the product page. > > If you run install-pyrun on a Raspi, this should install PyRun > for you. I'm not sure whether it'll work on the new Raspi 2. > We'll probably add one to our build farm in a few weeks. > > These are the direct download links if you want to give it > a try: > > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.asc > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.md5 > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.sha1 > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.asc > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.md5 > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.sha1 > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.asc > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.md5 > > https://downloads.egenix.com/python/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.sha1 > > Thanks, > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Source (#1, May 13 2015) > >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ > >>> mxODBC Plone/Zope Database Adapter ... http://zope.egenix.com/ > >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > 2015-05-13: Released mxODBC Connect 2.1.3 ... http://egenix.com/go75 > 2015-05-11: Released eGenix PyRun 2.1.0 ... http://egenix.com/go74 > 2015-05-25: PyWaw Summit 2015, Warsaw, Poland ... 12 days to go > > 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 > http://www.egenix.com/company/contact/ > --001a113d24aa52b4600515f728f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well I gave it a try, and it seems my assumptions were = somehow true.
Here is what I got when running one of my apps in sin= gle shot mode (load, run, terminate):

default p= ython distribution
total time 9.022s
ENOENT's c= ount=C2=A07377

pyrun
total t= ime=C2=A08.455s
ENOENT's count=C2=A03064

=
So, it indeed failed much less to open files, but I guess this d= idn't make that much difference after all (500ms).=C2=A0
Perh= aps it is because this app has some external dependencies (22 to be precise= ) not bundled on pyrun that had to be scanned by the interpreter anyway. If= by any means we could bundle them all the same way, than it could bring a = much higher performance gain. But I guess it is not really safe-feasible.

Thanks


2015-05-13 9:43 GMT-03:00 M.-A. Lem= burg <mal@egenix.com>:
On 12.= 05.2015 15:05, Cristiano Cortezia wrote:
> On Monday, May 11, 2015 at 8:59:22 AM UTC-3, eGenix Team: M.-A. Lembur= g wrote:
>> __________________________________________________________________= ______
>>
>> ANNOUNCING
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 eGen= ix PyRun - One file Python Runtime
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version 2.1.0
>>
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 An easy-to-use single file reloc= atable Python run-time -
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 available for Linux, Mac = OS X and Unix platforms,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 with= support for Python 2.6, 2.7 and
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 **also for Python 3.4**.
>
> Really interesting.
>
> Should we consider this to be an improvement towards the slow startup = problem ?
>
> It seems to have really decreased the number of failed attempt to open= files (ENOENT's appearing with strace upon startup) due to the interpr= eter default behavior for module loading on startup. (with a simple hello w= orld I got 72 ENOENT's against 307 from default python installation on = my standard ubuntu machine).
>
> This problem mainly shows up when slow access storages are used (say r= aspberry + sdcard). Any chances you can provide this tool as prebuilt arm b= inaries ?
>
> My assumptions may be all wrong, but anyway thanks for sharing your wo= rk. :)

We have been providing binaries for Raspberry Pis for quite
some time, but without official support, so they are not listed
on the product page.

If you run install-pyrun on a Raspi, this should install PyRun
for you. I'm not sure whether it'll work on the new Raspi 2.
We'll probably add one to our build farm in a few weeks.

These are the direct download links if you want to give it
a try:

https://downloads.egenix.com/python/e= genix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.asc
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.md5
https://downloads.egenix.com/pyt= hon/egenix-pyrun-2.1.0-py2.7_ucs2-linux-armv6l.tgz.sha1
https://downloads.egenix.com/python/e= genix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.asc
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.md5
https://downloads.egenix.com/pyt= hon/egenix-pyrun-2.1.0-py2.7_ucs4-linux-armv6l.tgz.sha1
https://downloads.egenix.com/python/e= genix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.asc
https://downloads.egenix.com/pyth= on/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.md5
https://downloads.egenix.com/pyt= hon/egenix-pyrun-2.1.0-py3.4_ucs4-linux-armv6l.tgz.sha1

Thanks,
--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source=C2=A0 (#1, May 13 201= 5)
>>> Python Projects, Coaching and Consulting ...=C2=A0 http://www.egenix.com/
>>> mxODBC Plone/Zope Database Adapter ...=C2=A0 =C2=A0 =C2=A0 =C2= =A0http://zope.egenix= .com/
>>> mxODBC, mxDateTime, mxTextTools ...=C2=A0 =C2=A0 =C2=A0 =C2=A0= http://python.egen= ix.com/
________________________________________________________________________ 2015-05-13: Released mxODBC Connect 2.1.3 ...=C2=A0 =C2=A0 =C2=A0http://egenix.com/go75
2015-05-11
: Released eGenix PyRun 2.1.0 ...=C2=A0 =C2=A0 =C2=A0 =C2=A0<= a href=3D"http://egenix.com/go74 2015-05-25" target=3D"_blank">http://egenix.com/go74
2015-05-25: PyWaw Summit 2015, Warsaw, Poland ...=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 12 days to go

=C2=A0 =C2=A0eGenix.com Software, Skills and Services GmbH=C2=A0 Pastor-Loe= h-Str.48
=C2=A0 =C2=A0 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lembu= rg
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Registered at Amtsgericht Duesseld= orf: HRB 46611
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://www.egenix.com/comp= any/contact/

--001a113d24aa52b4600515f728f7--