Re: Enabling Checksums - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Enabling Checksums
Date
Msg-id CAM-w4HPSivQU9Reyk4aH0YSroMU=fpQd0QjvJNkWfK_O0tWgdw@mail.gmail.com
Whole thread Raw
In response to Re: Enabling Checksums  (Florian Weimer <fw@deneb.enyo.de>)
List 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 by date:

Previous
From: Ants Aasma
Date:
Subject: Re: Enabling Checksums
Next
From: Rushabh Lathia
Date:
Subject: elog() error, trying CURENT OF with foreign table