Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Difference between CRC checksum and FCS

2,255 views
Skip to first unread message

SaranJothy

unread,
Apr 30, 2007, 9:22:47 AM4/30/07
to
Hi,
What is the difference between CRC,checksum and Frame check sequence.

I m aware that checksum is used as part of tcp/udp/ip headers.
At which layer CRC and FCS used.

I think purpose all three is Data integrity.Why three different
things.Any specific reason?

Thankx,
Saranjothy

Craig Partridge

unread,
Apr 30, 2007, 1:24:52 PM4/30/07
to
Each layer can scramble data in different ways.

Broadly, the idea is a CRC is a more comprehensive check, intended to catch
a wide range of errors likely to occur over an analog transmission (e.g.
range of bit errors) and a checksum is designed to catch typical errors
made in software implementations.

That's the idea. Reality is somewhat different and I recommend reading
Jonathan Stone's SIGCOMM paper and Stanford doctoral dissertation (warning:
I was Jonathan's advisor and co-author on the SIGCOMM paper).

Craig

David Tiktin

unread,
Apr 30, 2007, 8:45:40 PM4/30/07
to
On 30 Apr 2007, SaranJothy <saran...@gmail.com> wrote:

> What is the difference between CRC,checksum and Frame check sequence.

Checksum is the general term. CRC is one kind of checksum. An FCS is
a checksum (typically a CRC) appended to a frame during serial data
transmission, so an FCS is one use of a praticular type of checksum.

> I m aware that checksum is used as part of tcp/udp/ip headers.
> At which layer CRC and FCS used.
>
> I think purpose all three is Data integrity.Why three different
> things.Any specific reason?

Some are better than others in detecting specific kinds of errors.
Some are more easily computed in software or hardware. Since there are
a variety of different ways checksums are used, there is a variety of
different checksums.

Dave

--
D.a.v.i.d T.i.k.t.i.n
t.i.k.t.i.n [at] a.d.v.a.n.c.e.d.r.e.l.a.y [dot] c.o.m

Le Chaud Lapin

unread,
Apr 30, 2007, 9:33:45 PM4/30/07
to
While we're on the subject, what do you think about the idea of
Layer-3 check-summing. If you could redo UDP/TCP checksums, how would
you do it?

-Le Chaud Lapin-

On Apr 30, 12:24 pm, Craig Partridge <cra...@std.com> wrote:
> Each layer can scramble data in different ways.
>
> Broadly, the idea is a CRC is a more comprehensive check, intended to catch
> a wide range of errors likely to occur over an analog transmission (e.g.
> range of bit errors) and a checksum is designed to catch typical errors
> made in software implementations.
>
> That's the idea. Reality is somewhat different and I recommend reading
> Jonathan Stone's SIGCOMM paper and Stanford doctoral dissertation (warning:
> I was Jonathan's advisor and co-author on the SIGCOMM paper).
>
> Craig
>

Barry Margolin

unread,
Apr 30, 2007, 9:37:41 PM4/30/07
to
In article <1177983225.7...@h2g2000hsg.googlegroups.com>,

Le Chaud Lapin <jaibu...@gmail.com> wrote:

> While we're on the subject, what do you think about the idea of
> Layer-3 check-summing. If you could redo UDP/TCP checksums, how would
> you do it?

Modern computers are probably fast enough that a more powerful checksum
could probably be used without significant performance impact.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

Le Chaud Lapin

unread,
May 1, 2007, 1:15:15 PM5/1/07
to
On Apr 30, 8:37 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
> In article <1177983225.756330.280...@h2g2000hsg.googlegroups.com>,

> Le Chaud Lapin <jaibudu...@gmail.com> wrote:
>
> > While we're on the subject, what do you think about the idea of
> > Layer-3 check-summing. If you could redo UDP/TCP checksums, how would
> > you do it?
>
> Modern computers are probably fast enough that a more powerful checksum
> could probably be used without significant performance impact.

You mean like a CRC instead of the current techniques?

-Le Chaud Lapin-

0 new messages