[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#774399: libreoffice: aggressive (blocking) config rewrite (lag, slowness)



Control: fixed -1 1:4.4.5-2

Hi Chris,

On Wednesday 09 September 2015 15:53:56 Chris Halls wrote:
> I've had a look into this problem. I can see
> that LO is often updating this file, but it doesn't seem to be doing it
> excessively during editing.

Thank you for looking into this problem. On 4.3.3 problem was severe not only 
in editing but also in main `libreoffice` application that was lagging  
seconds behind mouse movements.


> There is some relevant information in this bug:
> 
> https://bugs.documentfoundation.org/show_bug.cgi?id=92529

Here is another somewhat related bug:

  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1366519

 
> There is a comment: "The way it works is that every call to the
> configmgr's commitChanges() initiates a write-back of
> registrymodifcations.xcu.  Actual writing is then delayed by 1 second to
> allow consecutive calls to commitChanges() to pile up and be processed
> in one batch."

It seems there were some improvements. I tried LibreOffice 4.4.5 and it 
appears to be OK.


> That would suggest that the writing does actually happen in the
> background, so I'm surprised this is causing actual hangs for you. I've
> commented on that bug.

Perhaps somebody fixed that. :)


> This file is being used to commit changes to the users' profile, each
> time something is changed.

I had impression that navigating menu should not qualify for changes 
requiring to re-write user's profile... Unfortunately rewrites were happening 
as far as I can tell...


> I'm changing severity of this to normal
> because it would be possible to work around this by using faster local
> storage.

In some cases "using faster local storage" is not possible and it may require 
administrative and infrastructure changes beyond user control.

FYI our network storage is actually faster than local but comparing to local 
HDD it exhibit slightly different IO patterns that LibreOffice was extremely 
sensitive to.

Basically problem was not in storage performance but with blocking updates of 
"registrymodifications.xcu" causing extreme discomfort to users because UI 
froze frequently for up to few seconds every time LO wrote a new 
"registrymodifications.xcu". Even fraction of a second lag in UI is bad 
enough...

The problem is fixed if LibreOffice writes to this file in background.

I can not reproduce this problem with LibreOffice 4.4.5-2 from "jessie-
backports".

 
> Out of interest, do you see similar problems with other software such as
> web browsers? They also write a lot of local changes such as browsing
> history; I'm wondering whether those are affected too?

No, all other applications are fine but LibreOffice 4.3.3 was exhibiting this 
problem so badly that I've stopped using it entirely and moved to Calligra 
Suite. Newer version of LibreOffice either was not available in jessie-
backports at a time or it was affected by the same problem.

Thank you.

-- 
All the best,
 Dmitry Smirnov.

---

I hate all sports as rabidly as a person who likes sports hates common
sense.
        -- H. L. Mencken

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: