On Thu, Feb 04, 2016 at 09:03:21AM +0300, Владимир Терентьев wrote:> Hi. Try add this to your config in global section. > > socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=262140 > SO_SNDBUF=262140Sorry to step in, but SO_SNDBUF and SO_RCVBUF are almost always bad for performance, unless you know *EXACTLY* what you're doing at a packet level. A general advice on a mailing list without VERY close analysis of the network infrastructure and operating system behaviour is very unlikely to help improve performance. Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
Maybe, but i tested with this configurations and with 1G link, i get speed 100MB/s. Maybe i get 200MB/s without socket settings :D 2016-02-04 23:48 GMT+03:00 Volker Lendecke <Volker.Lendecke at sernet.de>:> On Thu, Feb 04, 2016 at 09:03:21AM +0300, Владимир Терентьев wrote: > > Hi. Try add this to your config in global section. > > > > socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_THROUGHPUT > SO_RCVBUF=262140 > > SO_SNDBUF=262140 > > Sorry to step in, but SO_SNDBUF and SO_RCVBUF are almost always bad for > performance, unless you know *EXACTLY* what you're doing at a packet > level. A general advice on a mailing list without VERY close analysis > of the network infrastructure and operating system behaviour is very > unlikely to help improve performance. > > Volker > > -- > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > phone: +49-551-370000-0, fax: +49-551-370000-9 > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > http://www.sernet.de, mailto:kontakt at sernet.de >
I fixed it an removed both parameters. It seems that signing/encrypting the connection was the cause. server signing = mandatory client signing = mandatory Martin> Am 05.02.2016 um 06:40 schrieb Владимир Терентьев <tervladimir at gmail.com>: > > Maybe, but i tested with this configurations and with 1G link, i get speed 100MB/s. Maybe i get 200MB/s without socket settings :D > > 2016-02-04 23:48 GMT+03:00 Volker Lendecke <Volker.Lendecke at sernet.de <mailto:Volker.Lendecke at sernet.de>>: > On Thu, Feb 04, 2016 at 09:03:21AM +0300, Владимир Терентьев wrote: > > Hi. Try add this to your config in global section. > > > > socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=262140 > > SO_SNDBUF=262140 > > Sorry to step in, but SO_SNDBUF and SO_RCVBUF are almost always bad for > performance, unless you know *EXACTLY* what you're doing at a packet > level. A general advice on a mailing list without VERY close analysis > of the network infrastructure and operating system behaviour is very > unlikely to help improve performance. > > Volker > > -- > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > phone: +49-551-370000-0, fax: +49-551-370000-9 > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > http://www.sernet.de <http://www.sernet.de/>, mailto:kontakt at sernet.de <mailto:kontakt at sernet.de> >-- Martin Markert Westendstr. 89 80339 München