Re: Is committing objects with ZEO 4 on Linux insanely slow for everyone? Or just me?

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/10/2016 04:58 PM, Tres Seaver wrote:

> $ bin/pip freeze -f file:///home/tseaver/.pip/wheels BTrees==4.3.1 
> persistent==4.2.1 six==1.10.0 transaction==1.6.1 zc.lockfile==1.2.1 
> ZConfig==3.1.0 zdaemon==4.1.0 ZEO==4.3.0 ZODB==4.4.3 
> zodbpickle==0.6.0 zope.exceptions==4.0.8 zope.interface==4.2.0 
> zope.testing==4.5.0

> $ bin/python perf4.py Times per operation in microseconds (o=999, t=3,
> c=1) op          min         mean       median          max add
> 44248 update        41771 cached          193 read         2658 
> ------------------------- % -------------------------------

Just for fault-isolation purposes, I tried again with older ZEO / ZODB:

$ bin/python --version
Python 2.7.11

$ bin/pip freeze
- -f file:///home/tseaver/.pip/wheels
BTrees==4.3.1
persistent==4.2.1
six==1.10.0
transaction==1.6.1
zc.lockfile==1.2.1
ZConfig==3.1.0
zdaemon==4.1.0
ZEO==4.1.0
ZODB==4.3.1
zodbpickle==0.6.0
zope.exceptions==4.0.8
zope.interface==4.2.0
zope.testing==4.5.0

$ bin/python perf4.py
Times per operation in microseconds (o=999, t=3, c=1)
           op          min         mean       median          max
          add        43945
       update        40218
       cached          149
         read         2485


Same older versions, but with Python 2.6:

$ bin/python --version
Python 2.6.9

$ bin/pip freeze
- -f file:///home/tseaver/.pip/wheels
BTrees==4.3.1
persistent==4.2.1
six==1.10.0
transaction==1.6.1
zc.lockfile==1.2.1
ZConfig==3.1.0
zdaemon==4.1.0
ZEO==4.1.0
ZODB==4.3.1
zodbpickle==0.6.0
zope.exceptions==4.0.8
zope.interface==4.2.0
zope.testing==4.5.0

$ bin/python perf4.py
Times per operation in microseconds (o=999, t=3, c=1)
           op          min         mean       median          max
          add        43310
       update        44609
       cached          147
         read          768


With Python3 and the current releases:

$ bin/python3 --version
Python 3.4.3

$ bin/pip3 freeze
- -f file:///home/tseaver/.pip/wheels
BTrees==4.3.1
persistent==4.2.1
six==1.10.0
transaction==1.6.1
zc.lockfile==1.2.1
ZConfig==3.1.0
zdaemon==4.1.0
ZEO==4.3.0
ZODB==4.4.3
zodbpickle==0.6.0
zope.exceptions==4.0.8
zope.interface==4.2.0
zope.testing==4.5.0

$ bin/python3 perf4.py
Times per operation in microseconds (o=999, t=3, c=1)
           op          min         mean       median          max
          add         8674
       update         8516
       cached          238
         read         2016



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXrJjBAAoJEPKpaDSJE9HYpbgP/0IaRu6w+dor13um6xR8a4dC
bRvk0ZifGQ+C9LlYp6BTqbv6jxaDCfI4/DCaaPmAcFMF6TTjcCrzFeYoYRW3Yl/4
mx8oqyt3l5cz1/aqkk4ap+yKbnPwLkWk4YTC6GGhg10yBy0IF/HRMzGlmhjpFOk/
HUI9HTp+fm5E8z9cxjY2CH50qnj/V4GGdTeyobnaOI9eFjfMybnvVEkdUJt/59Fh
HfEzqxuOilm1Zc0iXad4oyMwQfrKq1hEcfenCLSOZyjhYIE7AKBetkS75fNMsMio
H6Pr+OIy/EiSLLYHua+bvXa0Akcm4EoFcNUBT7YFz1O7qznHPVHyagtT7FvD1bym
129llmqMmP/sX5OMxsDitTE3ay1mGauwMhksM3RpVR3PxDdYK3Y3eEVNk+hax2Ck
zgxiXk/Ox6cXx9RBWFbfencbuV8doZz13IaL7H0RdI2FrgOdHgYIVXtjVehkyzqg
3lfTIfrCaSNbjoSU/P0ruSjqQnjebALiNlXKpoOL3rhNUDolrFUn13A9zjIV9oBE
fEljsyNdxVxRIfBD1LS4zkxmpIy4hlfGMNM6Wc+S/c76SdhLPeA6eRTiS8T1KUe3
4/62dIbqQRntQ3QRdgUMOOi37vcoUmF+oxxMBbCzXOdU3uWHLCnzla8Tb/2Dq4t6
cn5LHbXLmNsT8uTbaLRC
=1PI7
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.