public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew McGregor <andrew@indranet.co.nz>
To: "H. Peter Anvin" <hpa@zytor.com>, linux-kernel@vger.kernel.org
Subject: Re: Linux iSCSI Initiator, OpenSource (fwd) (Re: Gauntlet Set NOW!)
Date: Thu, 09 Jan 2003 09:09:30 +1300	[thread overview]
Message-ID: <81050000.1042056570@localhost.localdomain> (raw)
In-Reply-To: <avht3k$qpo$1@cesium.transmeta.com>

Actually, talking to some people off-list, I realised that what happened 
with the instances I saw was probably that the packets were corrupted 
inside the host, somewhere after the ethernet checksum had done its job. 
DMA problems or a slow address line on some RAM somewhere could easily beat 
the TCP checksum, but as many folks have pointed out, ethernet CRC is much 
stronger.

Having seen something odd like that in practice, I overestimated the 
probability of these problems.

It was also pointed out that iSCSI also makes it's CRC optional only if 
there is some other mechanism (ESP, AH or some other high-integrity 
transport) providing the data integrity.  Partly this is because that 
checksum is the same as used by Fiber Channel, and is therefore available 
'for free' in some, but not all, hardware, so there needs to be another way 
to integrity protect the data.

Andrew

--On Wednesday, January 08, 2003 11:10:44 -0800 "H. Peter Anvin" 
<hpa@zytor.com> wrote:

> Followup to:  <20030107053146.A16578@kerberos.ncsl.nist.gov>
> By author:    Olivier Galibert <galibert@pobox.com>
> In newsgroup: linux.dev.kernel
>>
>> On Tue, Jan 07, 2003 at 01:39:38PM +1300, Andrew McGregor wrote:
>> > Ethernet and TCP were both designed to be cheap to evaluate, not the
>> > absolute last word in integrity.  There is a move underway to provide
>> > an  optional stronger TCP digest for IPv6, and if used with that then
>> > there is  no need for the iSCSI digest.  Otherwise, well, play dice
>> > with the data.  Loaded in your favour, but still dice.
>>
>> Ethernet's checksum is a standard crc32, with all the usual good
>> properties and, at least on FE and lower, 1500bytes max of payload.
>> So it's quite reasonable.  TCP's checksum, though, is crap.
>>
>> I'm not entirely sure how crc32 would behave on jumbo frames.
>>
>
> AUTODIN-II CRC32 (the one used by Ethernet) is stable up to 11454
> bytes.  The jumbo frame size was chosen as the largest multiple of the
> standard IP payload size to fit within this number.
>
> 	-hpa


  reply	other threads:[~2003-01-08 20:01 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-05  1:54 Linux iSCSI Initiator, OpenSource (fwd) (Re: Gauntlet Set NOW!) Andre Hedrick
2003-01-05  2:47 ` Andrew Morton
2003-01-05  3:26   ` NEURONET
2003-01-05  4:11     ` NEURONET
2003-01-05  4:41   ` Andre Hedrick
2003-01-05  6:16     ` Andrew Morton
2003-01-06  3:06   ` Oliver Xymoron
2003-01-06  3:38     ` Andre Hedrick
2003-01-06  5:24       ` Oliver Xymoron
2003-01-06 10:24       ` Andrew McGregor
2003-01-06 16:51       ` Roman Zippel
2003-01-07  0:28         ` Andre Hedrick
2003-01-07 20:36           ` Roman Zippel
2003-01-07 22:45             ` Andre Hedrick
2003-01-08  0:04               ` Roman Zippel
2003-01-08  1:43                 ` Alan Cox
2003-01-08  1:08                   ` Larry McVoy
2003-01-08 16:48               ` Vojtech Pavlik
2003-01-08 19:37                 ` Andre Hedrick
2003-01-07  0:39         ` Andrew McGregor
2003-01-07  4:20           ` Oliver Xymoron
2003-01-07  5:38             ` Valdis.Kletnieks
2003-01-07  6:16               ` Werner Almesberger
2003-01-07  6:43                 ` Valdis.Kletnieks
2003-01-07  7:08                   ` Werner Almesberger
2003-01-07  8:00                     ` Valdis.Kletnieks
2003-01-07  8:14                       ` Werner Almesberger
2003-01-07  8:41                         ` Valdis.Kletnieks
2003-01-07 17:07                           ` Werner Almesberger
2003-01-07 12:12                     ` Andrew McGregor
2003-01-07  6:45               ` Lincoln Dale
2003-01-07  7:02                 ` Valdis.Kletnieks
2003-01-07 11:24             ` Andrew McGregor
2003-01-07 10:31           ` Olivier Galibert
2003-01-08 19:10             ` H. Peter Anvin
2003-01-08 20:09               ` Andrew McGregor [this message]
2003-01-08 20:40                 ` Richard B. Johnson
2003-01-07 12:31           ` Alan Cox
2003-01-07 12:31             ` Andrew McGregor
2003-01-07 13:58               ` Alan Cox
2003-01-07 23:09                 ` Andrew McGregor
2003-01-07 16:21               ` Oliver Xymoron
2003-01-07 13:04         ` Lionel Bouton
     [not found]     ` <Pine.LNX.4.10.10301051924140.421-100000@master.linux-ide.o rg>
2003-01-06  7:14       ` Lincoln Dale
2003-01-06  7:53         ` Linux iSCSI Initiator Andre Hedrick
     [not found]         ` <Pine.LNX.4.10.10301052337150.421-100000@master.linux-ide.o rg>
2003-01-06  9:10           ` Lincoln Dale
2003-01-06  9:28             ` Andre Hedrick
2003-01-06  3:25   ` Linux iSCSI Initiator, OpenSource (fwd) (Re: Gauntlet Set NOW!) Richard Stallman
2003-01-06  4:08     ` Andre Hedrick
2003-01-06 20:49       ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2003-01-05 22:51 Adam J. Richter
     [not found] <fa.kccjmvv.13go3jp@ifi.uio.no>
     [not found] ` <fa.hjtum4v.fki8p1@ifi.uio.no>
2003-01-08  1:07   ` walt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81050000.1042056570@localhost.localdomain \
    --to=andrew@indranet.co.nz \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox