Re: Enabling Checksums

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Enabling Checksums
Дата
Msg-id CAM-w4HPSivQU9Reyk4aH0YSroMU=fpQd0QjvJNkWfK_O0tWgdw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enabling Checksums  (Florian Weimer <fw@deneb.enyo.de>)
Список pgsql-hackers
On Thu, Apr 18, 2013 at 6:04 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> The TCP checksum is too weak to be practical.  Every now an then, I
> see data transfers where the checksum is valid, but the content
> contains bit flips.

Well of course, it's only a 16-bit checksum. 64k packets isn't very
many so if you're not counting checksum failures it won't take very
long before one gets through. The purpose of the checksum is to notify
you that you have a problem, not to block bad packets from getting
through.

> Anything that flips bits randomly at intervals
> which are multiples of 16 bits is quite likely to pass through
> checksum detection.

I'm not sure about this


-- 
greg



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

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: Enabling Checksums
Следующее
От: Rushabh Lathia
Дата:
Сообщение: elog() error, trying CURENT OF with foreign table