Dung Patrick writes:
> Correct me if I am wrong:
>
> To use the zero copy 'receive' on i386, you need to set the MTU to 4096 bytes(page
> size) or 4096 multiples.
No, just larger than a page-size plus headers. FreeBSD's tcp
automagically sets the mss to a page-sized multiple for large MTUs
assume MTU 1500(or
smaller) is suitable for fast ethernet/Internet.)
Patrick
-Original Message-
From: Andrew Gallatin <[EMAIL PROTECTED]>
To: Dung Patrick <[EMAIL PROTECTED]>
Date: Thu, 12 Feb 2004 09:17:46 -0500 (EST)
Subject: Re: Zero copy sockets question
Dung Patrick write
Dung Patrick writes:
> Hi
>
> I have read http://people.freebsd.org/~ken/zero_copy/
>
> To correctly use zero copy receive, it seems it need to set the MTU to:
> have to be at least page sized, and be aligned on page boundaries.
Yes.
> So is the default MTU for ethernet network card 150
Hi
I have read http://people.freebsd.org/~ken/zero_copy/
To correctly use zero copy receive, it seems it need to set the MTU to:
have to be at least page sized, and be aligned on page boundaries.
So is the default MTU for ethernet network card 1500 works?
Thank you in advance.
Patrick
___
4 matches
Mail list logo