Severe performance degradation on Linux

Jens Tröger jens.troeger at light-speed.de
Sat Jan 10 06:01:11 PST 2015


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/


More information about the LibreOffice mailing list