Linux good! Re: [ZODB-Dev] Results from latest CVS code and trial patch

JohnD.Heintz JohnD.Heintz
Thu, 9 Aug 2001 16:12:13 -0500


--------------Boundary-00=_D8KT4YUH8G99Y63XUGTH
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

With the asyncore.py patch things ran a lot longer, but still crashed and=
 had=20
terrible response - it spend most of its time blocking.

Attached is the traceback that got thrown in the ZEO client with one remo=
te=20
and one local CORBA client.

John


On Thursday 09 August 2001 15:29, John D. Heintz wrote:
> Ergh!
>
> Linux works just fine with the local CORBA clients, but a remote client
> causes the system to hang for > 30 seconds.  It does come back and keep
> running though!
>
> Attached are thread traces from the CORBA Server/ZEO Client.  There are=
 two
> identical traces in the output file - I took one and then a second or s=
o
> later I took the other to show that the system hadn't moved yet.
>
> I interpret the traces to show that the
> r,w,e =3D select.select (r,w,e, timeout) is the important blocking call=
,
> while the self._lock_acquire() is just a side-effect.
>
> I'll try the asyncore.py patch on Linux next to see if it changes this
> behavior.
>
> John
>
> On Thursday 09 August 2001 14:18, John D. Heintz wrote:
> > I've run the cvs code on Linux now and have gotten really good result=
s.
> >
> > I was able to connect 7 multiThreadClient.py processes to the server =
and
> > got reliable behavior - no exceptions.  I'll keep scaling this up to
> > multi-machine and absolute stress as well.
> >
> > Jeremy, do you want me to try the asyncore.py patch on Linux?  Or do =
you
> > think these good results are the way things should be?
> >
> > John
> >
> > On Thursday 09 August 2001 11:57, John D. Heintz wrote:
> > > Hi Jeremy,
> > >
> > > Here is what we got from the latest CVS code and the suggested patc=
h.
> > >
> > > trace1.txt is what we got on windows after going to the latest CVS
> > > code. It failed and every client died.
> > >
> > > trace2.txt is what we then got after applying the asyncore.py patch=
 you
> > > suggested.  This one hung for a long time then killed everything.
> > >
> > > John
> >
> > ----------------------------------------
> > Content-Type: text/plain; charset=3D"iso-8859-1"; name=3D"trace1.txt"
> > Content-Transfer-Encoding: base64
> > Content-Description:
> > ----------------------------------------
> >
> > ----------------------------------------
> > Content-Type: text/plain; charset=3D"iso-8859-1"; name=3D"trace2.txt"
> > Content-Transfer-Encoding: base64
> > Content-Description:
> > ----------------------------------------

--=20
=2E . . . . . . . . . . . . . . . . . . . . . . .

John D. Heintz | Senior Engineer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com

w w w . d a t a c h a n n e l . c o m

--------------Boundary-00=_D8KT4YUH8G99Y63XUGTH
Content-Type: text/plain;
  charset="iso-8859-1";
  name="trace4.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="trace4.txt"

Pj4+IG9tbmlPUkI6IENhdWdodCBhbiB1bmV4cGVjdGVkIFB5dGhvbiBleGNlcHRpb24gZHVyaW5n
IHVwLWNhbGwuClRyYWNlYmFjayAobW9zdCByZWNlbnQgY2FsbCBsYXN0KToKICBGaWxlICIuL1Nl
cnZlci5weSIsIGxpbmUgMTEzLCBpbiB3cml0ZQogICAgKG9mZnNldCwgZGF0YSkpCiAgRmlsZSAi
Li9aT0RCQ29yYmFGcmFtZXdvcmsucHkiLCBsaW5lIDI4MiwgaW4gX3RyeURvbWFpbkNvbW1pdAog
ICAgcmV0dXJuIHNlbGYuX3RyeUNvbW1pdEZ1bmN0aW9uKHNlbGYuX19mdW5jdG9yLCAqYXJncykK
ICBGaWxlICIuL1pPREJDb3JiYUZyYW1ld29yay5weSIsIGxpbmUgMjM3LCBpbiBfdHJ5Q29tbWl0
RnVuY3Rpb24KICAgIGdldF90cmFuc2FjdGlvbigpLmNvbW1pdCgpCiAgRmlsZSAiLi9UcmFuc2Fj
dGlvbk1hbmFnZW1lbnQucHkiLCBsaW5lIDc0LCBpbiBjb21taXQKICAgIFpPREIuVHJhbnNhY3Rp
b24uVHJhbnNhY3Rpb24uY29tbWl0KHNlbGYsIHN1YnRyYW5zYWN0aW9uKQogIEZpbGUgIi9ob21l
L2poZWludHovbGliL3B5dGhvbi9aT0RCL1RyYW5zYWN0aW9uLnB5IiwgbGluZSAzMDEsIGluIG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