lkml.org 
[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Minimizing dropped UDP packets
"Brian F. G. Bidulock" wrote:
>
> Frank,
>
> Have you considered checking /proc/net/dev_stat (first entry)
> to see whether NET4 is dropping packets due to backlog
> maximums? If there is a non-zero entry there, you might try
> uping /proc/sys/net/core/netdev_max_backlog from the default
> 300 and see if your loss diminishes.
>
> On Tue, 24 Oct 2000, Frank Hansen wrote:
>
> > Any suggestions whatsoever would be greatly appreciated. FWIW NT 4.0
> > running on the same hardware performs this task flawless, and I will
> > have a diffucult time to convice my boss that we should use Linux as
> > long as it is outperformed by NT.
>
> --
> Brian F. G. Bidulock
> bidulock@openswitch.org
> http://www.openss7.org/

Also you can try setsockopt with SO_RCVBUF, from man 7 socket:
SO_RCVBUF
Sets or gets the maximum socket receive buffer in
bytes. The default value is set by the rmem_default
sysctl and the maximum allowed value is set by the
rmem_max sysctl.

rmem_max defaults to 65535 perhaps you could try to increase this and
then use setsockopt in your receiving program.

--
Jorge Nerin
<comandante@zaralinux.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.059 / U:5.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site