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

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



Package: libreoffice
Version: 1:4.3.3-2
Severity: important

With /home on network file system (NFS or similar) libreoffice is lagging 
miserably on basic operations like when libreoffice just started or new writer 
document is opened etc., as well as on innocent moves between tabs under 
[Tools -> Options -> Libreoffice] even when nothing is changed.

Strace-ing revealed the problem which is aggressive re-write of 
"registrymodifications.xcu" in "~/.config/libreoffice/4/user":
on almost every action in libreoffice a new temporary file is created (in user 
profile folder) and renamed to "registrymodifications.xcu". The latter is 
about 1 MiB and about that much data is written very very often. But the worst 
thing about it is that configuration is not written in background -- instead 
it is a blocking operation causing very uncomfortable lag in user interface.

Also it seems that often configuration file is unnecessary (re-)written when 
nothing has changed.

What can be done to minimise rewrites of "registrymodifications.xcu" or reduce 
frequency of configuration save?

An ugly workaround may be to disable configuration changes completely by 
setting profile folder read-only (e.g. `chmod -c u-w 
~/.config/libreoffice/4/user`) but I hope that better solution may be 
available.

Thanks.

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


Reply to: