Re: [ZODB-Dev] Re: ZODB Benchmarks

2008-03-26 Thread Dieter Maurer
Sean Allen wrote at 2008-3-25 15:23 -0400:
> ...
>
>On Mar 25, 2008, at 2:54 PM, Dieter Maurer wrote:
>> Benji York wrote at 2008-3-25 14:24 -0400:
>>> ... commit contentions ...
 Almost surely there are several causes that all can lead to  
 contention.

 We already found:

  *  client side causes (while the client helds to commit lock)

- garbage collections (which can block a client in the order of
  10 to 20 s)
>...
>> A reconfiguration of the garbage collector helped us with this one
>> (the standard configuration is not well tuned to processes with
>> large amounts of objects).
>
>what'd you do?

# reconfigure garbage collector
#  generation 0 GC at "(allocated - freed) == 7.000"; analyse 7.000 objects
#  generation 1 GC at "(allocated - freed) == 140.000"; analyse 140.000 objects
#  generation 2 GC at "(allocated - freed) == 1.400.000"; analyse all objects
import gc; gc.set_threshold(7000, 20, 10)



-- 
Dieter
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] anecdotal speed comparison with RelStorage

2008-03-26 Thread Chris Withers

Shane Hathaway wrote:

Chris Withers wrote:

FileStorage-over-ZEO managed the test in 3 mins 20 seconds

Relatorage-to-Oracle managed the test in 3 mins 18 seconds


Cool, although it's not clear the storage speed had a major impact.


Well, the point was that RelStorage-to-Oracle was of similar speed to 
FileStorage-over-ZEO, meaning there are no performance reasons not to 
head for the former.


Oracle win. ;)  I've seen evidence that RelStorage on MySQL even has a 
chance of beating plain FileStorage in performance.


Cool :-)

I'd be really interested to try some tests with multiple ZEO clients 
attached to a FileStorage versus multiple RelStorage client attached 
to Oracle. I suspect Oracle would win ;-)


I am certainly interested in hearing the results of that test.


This might happen tomorrow, we'll see...

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] Problems installing ZODB under Windows

2008-03-26 Thread Andreas Holtz
Hello,

I have some troubles installing ZODB under Windows with Python 2.5.1. Benji 
York recommended to post here.

The following it the problem:

I downloaded the egg file for ZODB from 
http://pypi.python.org/packages/2.5/Z/ZODB3/ZODB3-3.8.0-py2.5-win32.egg#md5=2a7c8eb2ad6304a859ffdf5e2b9a075f
and tried to install it with easy_install.

It quits with the following message:
Installed c:\python25\lib\site-packages\zodb3-3.8.0-py2.5-win32.egg
Processing dependencies for ZODB3==3.8.0
Searching for zope.interface
Reading http://pypi.python.org/simple/zope.interface/
Reading http://zope.org/Wikis/Interfaces/FrontPage
Best match: zope.interface 3.4.1
Downloading 
http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.4.1.tar.gz#md5=
b085f4a774adab688e037ad32fbbf08e
Processing zope.interface-3.4.1.tar.gz
Running zope.interface-3.4.1\setup.py -q bdist_egg --dist-dir 
c:\docume~1\holtza\locals~1\temp\easy_
install-9zm01c\zope.interface-3.4.1\egg-dist-tmp-8pfxjw
error: Setup script exited with error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

Can somebody please create an egg for zope.interfaces 3.4.1 and other 
dependencies of ZODB? Will I have the same problems if I install the complete 
zope framework? I don't want to install Visual Studio or any other C-compiler.

Thank you very much

Andreas Holtz

PS: The changelog for ZODB 3.8 does not work either:
See http://svn.zope.org/ZODB/trunk/NEWS.txt?view=markup
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Problems installing ZODB under Windows

2008-03-26 Thread Benji York

Andreas Holtz wrote:

Running zope.interface-3.4.1\setup.py -q bdist_egg --dist-dir 
c:\docume~1\holtza\locals~1\temp\easy_
install-9zm01c\zope.interface-3.4.1\egg-dist-tmp-8pfxjw


I believe that if there were a zope.interfaces 2.4.1, Python 2.5 egg for 
Windows available on PyPi, setup_tools wouldn't try to build it for you.


A request for such an egg would be best directed to [EMAIL PROTECTED]
--
Benji York
Senior Software Engineer
Zope Corporation
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Problems installing ZODB under Windows

2008-03-26 Thread Andreas Jung



--On 26. März 2008 13:15:02 +0100 Andreas Holtz <[EMAIL PROTECTED]> wrote:

If
you have Cygwin installed, you can try compiling with MingW32, by passing
"-c mingw32" to setup.py.

Can somebody please fix it? I don't have and don't want to install Visual
Studio or any other C-compiler.


The error message is self-explaining. You can compile compatible 
extensions using cygwin + mingw32.


-aj

pgpyvDOsd9m3B.pgp
Description: PGP signature
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] Problems installing ZODB under Windows

2008-03-26 Thread Andreas Holtz
Hello,

I have some troubles installing ZODB under Windows with Python 2.5.1.

I downloaded the egg file from 
http://pypi.python.org/packages/2.5/Z/ZODB3/ZODB3-3.8.0-py2.5-win32.egg#md5=2a7c8eb2ad6304a859ffdf5e2b9a075f
and tried to install it with easy_install.

It quits with the following message:
Installed c:\python25\lib\site-packages\zodb3-3.8.0-py2.5-win32.egg
Processing dependencies for ZODB3==3.8.0
Searching for zope.interface
Reading http://pypi.python.org/simple/zope.interface/
Reading http://zope.org/Wikis/Interfaces/FrontPage
Best match: zope.interface 3.4.1
Downloading 
http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.4.1.tar.gz#md5=
b085f4a774adab688e037ad32fbbf08e
Processing zope.interface-3.4.1.tar.gz
Running zope.interface-3.4.1\setup.py -q bdist_egg --dist-dir 
c:\docume~1\holtza\locals~1\temp\easy_
install-9zm01c\zope.interface-3.4.1\egg-dist-tmp-8pfxjw
error: Setup script exited with error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

Can somebody please fix it? I don't have and don't want to install Visual 
Studio or any other C-compiler.

Thank you very much

Andreas Holtz

PS: The changelog for ZODB 3.8 does not work either:
See http://svn.zope.org/ZODB/trunk/NEWS.txt?view=markup
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev