Clearing cache is really sloooowww

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Clearing cache is really sloooowww

Jacques Le Roux
Administrator
Hi,

I don't know if some of you have tried to clear caches these last times, but it's now very, very, very slow... (more than 10 times,
maybe even more than 100x...)

Jacques


Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Adam Heath-2
Jacques Le Roux wrote:
> Hi,
>
> I don't know if some of you have tried to clear caches these last times,
> but it's now very, very, very slow... (more than 10 times,
> maybe even more than 100x...)

Is this after the last set of changes I *just* did?

Note, that if you clear caches from webtools, the caches will clear
fast, but then it has to reload a bunch of data again; it's this that
can be slow.

In any event, I just tried clearing all caches, and it appears to run
fast.
Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Jacques Le Roux
Administrator
Hi Adam,

> Jacques Le Roux wrote:
>> Hi,
>>
>> I don't know if some of you have tried to clear caches these last times,
>> but it's now very, very, very slow... (more than 10 times,
>> maybe even more than 100x...)
>
> Is this after the last set of changes I *just* did?

Yes I think so, but I just saw that you did some changes in util/cache are they related to this message ?
 
> Note, that if you clear caches from webtools, the caches will clear
> fast, but then it has to reload a bunch of data again; it's this that
> can be slow.

I did not look at details yet

> In any event, I just tried clearing all caches, and it appears to run
> fast.

Surprised, I tried on 2 local instances : same symptom.

I will update your last changes, anyway...

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Adam Heath-2
Jacques Le Roux wrote:
>>
>> Is this after the last set of changes I *just* did?
>
> Yes I think so, but I just saw that you did some changes in util/cache
> are they related to this message ?

Unrelated.  I was just backporting changes from head to
our(brainfood's) local package, and noticed some synchronized blocks
that could be removed(I've converted a bunch of stuff in UtilCache to
be non-blocking/unsynchronized).

Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Adrian Crum
In reply to this post by Jacques Le Roux
On my local copy I'm seeing thousands of entitycache entries, each with
only one item cached.

-Adrian

Jacques Le Roux wrote:

> Hi Adam,
>
>> Jacques Le Roux wrote:
>>> Hi,
>>>
>>> I don't know if some of you have tried to clear caches these last times,
>>> but it's now very, very, very slow... (more than 10 times,
>>> maybe even more than 100x...)
>>
>> Is this after the last set of changes I *just* did?
>
> Yes I think so, but I just saw that you did some changes in util/cache
> are they related to this message ?
>
>> Note, that if you clear caches from webtools, the caches will clear
>> fast, but then it has to reload a bunch of data again; it's this that
>> can be slow.
>
> I did not look at details yet
>
>> In any event, I just tried clearing all caches, and it appears to run
>> fast.
>
> Surprised, I tried on 2 local instances : same symptom.
>
> I will update your last changes, anyway...
>
> Jacques
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Adam Heath-2
Adrian Crum wrote:
> On my local copy I'm seeing thousands of entitycache entries, each with
> only one item cached.

That was what I needed to fix it.

When I tested it after Jacques noted the problem, I went to webtools
immediately after starting, so it only had a small list of entries.

I've fixed this in 884262.

Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Adrian Crum
Adam Heath wrote:

> Adrian Crum wrote:
>> On my local copy I'm seeing thousands of entitycache entries, each with
>> only one item cached.
>
> That was what I needed to fix it.
>
> When I tested it after Jacques noted the problem, I went to webtools
> immediately after starting, so it only had a small list of entries.
>
> I've fixed this in 884262.

cool - thanks!

Reply | Threaded
Open this post in threaded view
|

Re: Clearing cache is really sloooowww

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
This is no longer an issue, thanks Adam

Jacques

From: "Jacques Le Roux" <[hidden email]>
> Hi,
>
> I don't know if some of you have tried to clear caches these last times, but it's now very, very, very slow... (more than 10
> times,
> maybe even more than 100x...)
>
> Jacques
>
>