Hi,

-------- Original Message --------
On 20/7/25 8:54 pm, Samuel Thibault <[email protected]> wrote:

>  > Set Receive Timeout is required.
>  >
>  > The immediate flag makes it begin filling the bpf buffer without any 
> delay.  But without the timeout set, a pending blocking read will never 
> return until the whole buffer is filled because the default timeout is 
> indefinitely long.
>  
>  But you are setting a 1s timeout, is it waiting for 1s before handing a
>  non-filled buffer? If so, we really want to avoid that by using select()
>  (which isn't *that* hard to call for a single fd). If not, then better
>  make this delay 1m or so, there is no need for rumpnet to wake up every
>  second only to find that there is nothing to read :)

No. It's a timeval (in microseconds) so I am using (10ms*1000)us as the timeout 
- I tried a few values and this seemed to have best performance.

Damien

Reply via email to