Thank you, Maarten.
I tried to upload the callgrind data, but the email was rejected due to
its size. Glad you can reproduce the slowness!
Now the question is: what's to cause of the socket slowness, compared to
the pipe performance? Based on yesterday's findings, this might not be
a LO issue afterall. Connecting to LO through a pipe gives me the same
performance (and faster) that I have on my Mac. It's the socket connect
which is so slow. See here for more data:
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=74332&p=336914#p336975
The question lingers: why is socket connect on Linux so tremendously
slower than on the Mac...
http://superuser.com/questions/860321/linux-localhost-sockets-painfully-slower-than-on-mac
Jens
On Mon, Jan 05, 2015 at 06:36:47PM +0100, Maarten Hoes wrote:
Hi,
For what its worth, i can easily reproduce the script takes fairly long
(about ~50 seconds on my vm's) to complete on both Ubuntu 14.04 and
Fedora 21, both with the distro supplied binaries and a recent master.
I ran the script using strace -f. It shows a lot of calls on futex(
'FUTEX_WAIT_PRIVATE'), though im not sure how relevant that may be. I
attached the strace output.
- Maarten
--
Jens Tröger
http://savage.light-speed.de/
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.