Re: pg_connect takes 3.0 seconds

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: pg_connect takes 3.0 seconds
Дата
Msg-id 4B458FD0.8020205@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: pg_connect takes 3.0 seconds  (Dmitri Girski <mitek17@gmail.com>)
Ответы Re: pg_connect takes 3.0 seconds  (Dave Crooke <dcrooke@gmail.com>)
Список pgsql-performance
On 7/01/2010 10:44 AM, Dmitri Girski wrote:
> Hi everybody,
>
> Many thanks to everyone replied, I think we are on the right way.
> I've used tcpdump to generate the logs and there are a lot of dropped
> packets due to the bad checksum. Network guy is currently looking at the
> problem and most likely this is hardware issue.

Hang on a sec. You need to ignore bad checksums on *outbound* packets,
because many (most?) Ethernet drivers implement some level of TCP
offloading, and this will result in packet sniffers seeing invalid
checksums for transmitted packets - the checksums haven't been generated
by the NIC yet.

Unless you know for sure that your NIC doesn't do TSO, ignore bad
checksums on outbound packets from the local interface.

--
Craig Ringer

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Digesting explain analyze
Следующее
От: "Carlo Stonebanks"
Дата:
Сообщение: Massive table (500M rows) update nightmare