Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
Дата
Msg-id 20150703080643.GL30708@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
On 2015-07-02 23:56:16 +0300, Heikki Linnakangas wrote:
> On 04/10/2015 01:46 PM, chenhj wrote:
> >Result(execute time):
> >default(8K),                              7.370s
> >set SO_SNDBUF to 32K,         4.159s(the current implement)
> >set SO_SNDBUF to 64K,         2.875s
> >set SO_SNDBUF to 128K,      1.593s
> >set SO_SNDBUF to 256K,      1.324s
> 
> I was about to commit the attached, but when I tested this between my
> Windows 8.1 virtual machine and Linux host, I was not able to see any
> performance difference. It may be because the case is hobbled by other
> inefficiencies, in the virtualization or somewhere else, but I wonder if
> others can reproduce the speedup?

Given that too small sockets incur significantly smaller latency bumps
in a virtualized environment than in a real network, and hit another set
of buffers inside the virtualization technology,, I'm not particularly
surprised by that.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fix pgbench --progress report under (very) low rate