netdev
[Top] [All Lists]

Re: PROBLEM: udp not delivered on special socket receive buffer size

To: kuznet@xxxxxxxxxxxxx
Subject: Re: PROBLEM: udp not delivered on special socket receive buffer size
From: Matthias Welk <welk@xxxxxxxxxxxx>
Date: Wed, 10 Jul 2002 12:44:15 +0200
Cc: netdev@xxxxxxxxxxx, davem@xxxxxxxxxx, pekkas@xxxxxxxxxx, gober@xxxxxxxxxxxx
In-reply-to: <200207100856.MAA25289@sex.inr.ac.ru>
Organization: Fraunhofer Fokus
References: <200207100856.MAA25289@sex.inr.ac.ru>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: KMail/1.4.5
On Wednesday 10 July 2002 10:56, kuznet@xxxxxxxxxxxxx wrote:

>> The probles is, that I did not receive any udp packets (224 bytes), if the=
>> =20
>> receive buffer size (SO_RCVBUF) of the socket is set to a value below 
831=20
>> (??) bytes.
>
>Apparently, 831 is not enough to allow to queue such buffer.
>
>Tune value of "rx_copybreak" for ethernet to value sort of 1000.
>It is module parameter for most of drivers.
>

But shouldn't it not be working without tuning via kernel module parameters ?
And where is the relation between the "rx_copybreak" -value and the socket, I 
mean why is it working if I increase receive buffer size ?
And shouldn't the minimum size set to a minum working value ?

Thanks, Matthias.
-- 
---------------------------------------------------------------
From: Matthias Welk                   office:  +49-30-3463-7272
      FHG Fokus                       mobile:  +49-179- 1144752
      Kaiserin-Augusta-Allee 31       fax   :  +49-30-3463-8672
      10589 Berlin                    email : welk@xxxxxxxxxxxx
----------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>