Severe performance degradation on Linux

Maarten Hoes hoes.maarten at gmail.com
Sat Jan 10 06:51:11 PST 2015


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 at 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150110/c0684dcf/attachment.html>


More information about the LibreOffice mailing list