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 03:27 PM, Jim Fulton wrote:
> I'd be curious to know what sorts of numbers other folks get on Linux
> with Python 2.7 and ZEO 4, especially on Linux computers, as opposed
> to docker containers or EC2 instances.

Here is what I get on my Linux laptop:

- ------------------------- % -------------------------------
$ cat /etc/issue
Ubuntu 14.04.5 LTS \n \l

$ /opt/Python-2.7.11/bin/virtualenv /tmp/jim-perf4
$ cd /tmp/jim-perf4
$ bin/python -m test.pystone
Pystone(1.1) time for 50000 passes = 0.317167
This machine benchmarks at 157646 pystones/second
$ bin/pip install zope.testing BTrees "ZODB < 5.0dev" "ZEO < 5.0dev"
...
$ 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
$ wget
https://gist.githubusercontent.com/jimfulton/fd7e10efe049e9f297e65b7111443869/raw/fd6bf81ee1ad255b1453da33a832ef4f46726223/perf4.py
...
2016-08-10 16:55:04 (2.67 MB/s) - ‘perf4.py’ saved [6492/6492]

$ 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
- ------------------------- % -------------------------------


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

iQIcBAEBAgAGBQJXq5VtAAoJEPKpaDSJE9HY9XsQAIZilaKGShzA0BWmhVFicvNE
lmqX4I9bcWB7fsLmQXLOalo39EW3a1tdyOwa+JuFkrz77LNL7LFhpntU36YVU4Pn
LZYBnMb7qE8JP59VGARBG6dSHnm6o90r8yFJt5L/sJ1yU2hiF4DXkqqGkOtUggrb
O4lyUzeWlSHGYhUSBtBdBlYtleAryQY+EJ+xOLsRYO2TPz5QBKXNk583cOU4lNHT
NT5A/vM7dwaHZSNdxmVIuirMWro1zSBPCo/bVsetC1CI1ibL+LMoDSJM25EnnPh6
+Eg17PU6ElfZOjE5myzkbUi6XBt8voH3ga/vLEYST43wWe1sr0IceWCz91wXOJnH
57+34cCN3Vl1LEceebStKMzMzBRmJ+ZH6LC059OLkOSdvybAbMPrS+1aCQJUCuBK
YPQ/ocS3tvyjpUFDqNX4A6QymLss4Bwaopt9k2qTJUfUWv9AtQz3mr8FaR8zv4fA
hxDU3dRx/OgSBEJrrJzmil9SEiqfk+jpd1gKrCmEOw4/RmihQp2aLPkdz3/HU0Ta
LroZw/OqX4fxAtu1FgXaxGSHzUBiDQTlxp5hl9LTGMSNhoTLr6gDCUVsInn3mugL
qxmjNPDWb6vQT6Av15jw+NtGvzvQB3+tO5AvwUfEDuZTYFHGrkrX3bFZUT8a4d8O
FzmkyrvXFN2CvoQoppT/
=VQ9n
-----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.