Hrm.
I thought I tried that, but I see my mistake now: I didnt set
'tcpNoDelay=1" on *both* ends. Looks like Noel Grandin was right after all.
Oh, well.. At least I learned some more details on how to read and
interpret strace output in the process.
;)
- Maarten
On Sat, Jan 10, 2015 at 3:01 PM, Jens Tröger <jens.troeger@light-speed.de>
wrote:
Thank you everybody for poking this problem. After much discussion in
different places I was able to resolve this: set the TCP_NODELAY flag
when setting up the connection on both sides. By passing the following
string:
uno:socket,host=localhost,port=2002,tcpNoDelay=1
when creating both the Office instance and the client side, the test
document ran for about 0.9 seconds (instead of 45s) at almost the speed
of the named pipe.
More info about this is here:
https://superuser.com/questions/860321/linux-localhost-sockets-painfully-slower-than-on-mac/862303
Cheers,
Jens
--
Jens Tröger
http://savage.light-speed.de/
Context
Re: Severe performance degradation on Linux · Jens Tröger
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.