[ZODB-Dev] Re: ZEO and time.sleep
Jürgen Kartnaller
juergen at kartnaller.at
Thu Mar 29 10:11:19 EDT 2007
Jim Fulton wrote:
>
> On Mar 29, 2007, at 3:51 AM, Jürgen Kartnaller wrote:
>
>>
>>
>> Jim Fulton wrote:
>>> On Mar 28, 2007, at 6:37 PM, Benji York wrote:
>>>> Jim Fulton wrote:
>>>>> On Mar 28, 2007, at 6:28 PM, Benji York wrote:
>>>>>
>>>>>> threading.Connection
>>>>> threading.Condition :)
>>>>
>>>> Yeah, that. :)
>>>>
>>>>> What was the time to return the first request after the fix?
>>>>
>>>> I didn't stick around for the post-Linux-kernel-recompile testing,
>>>> but when we hacked the Python standard library to use sleep(0) all
>>>> the time (emulating an infinite granularity timer), it went down to
>>>> about 10 seconds. A pretty nice improvement. ;)
>>> And the original time was 15 minutes! :)
>>
>> My test environment on MAC OS-X is loading my frontpage in 2:50 min
>> after restarting zope.
>> with your fix and the one I made in a ZODB branch using nanosleep is
>> went down to 27 sec.
>
> I'm confused. Was the 27 seconds with both changes together? Or did
> each change individually lead to a 27 second time?
Each canche individual.
Both have the same result.
Jürgen
More information about the ZODB-Dev
mailing list