[Stackless] Stackless and Psyco
Christian Tismer
tismer at stackless.com
Mon Mar 1 16:09:24 CET 2004
Aaron Watters wrote:
> Just curious: are you using kjbuckets with gadfly?
> That could make around a 10x speed difference for
> database intensive code (stackless or not) depending
> on the kinds of queries you do.
> -- Aaron Watters
Oh, right, that makes a huge difference!
First, I'd make sure to use the extensions,
then an analysis of the SQL statements
should be done to look for optimisation.
Both Aaron and I are happy with some contract work. :-)
> */Mellon Gibson <bsdbeast at yahoo.com>/* wrote:
>
> I can't get psyco to work with stackless, which is pretty critical
> for my application, as it's a tad bit too slow right now (about to
> 11% speed improvement would suffice to serve all clients instead of
> buying new hardware). Both the client and server classes are
> designed around GadflyB5, which needs some of the 30% speed
> improvements I had with just vanilla python and psyco, but then the
> server tasks become too slow because of the C stack fumbling that
> vanilla python does. Are there any plans to support psyco, is it too
> much work? I'm not very fond of the idea to buy brand new SMP
> hardware to support just 300 more clients. /beast
Hmm, I appreciate that you want to use Stackless, but
I don't see how this could make your program faster.
The overall C stack fumbling is almost the same as in
regular Python, just that I do less recursions.
And if you application needs 30% speedup from Psyco,
you are still about to loose with just a bit more clients.
cheers - chris
--
Christian Tismer :^) <mailto:tismer at stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list