Severe performance degradation on Linux
Jens Tröger
jens.troeger at light-speed.de
Mon Jan 5 09:43:46 PST 2015
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/
More information about the LibreOffice
mailing list