mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Charlie \(Zhanglei\) Wang" <filamoon2@hotmail.com>
To: "Denis Vlasenko" <vda@port.imtp.ilyichevsk.odessa.ua>,
	<linux-kernel@vger.kernel.org>
Subject: Re: udp packet loss even with large socket buffer
Date: Mon, 1 Mar 2004 21:12:04 -0500	[thread overview]
Message-ID: <BAY14-DAV4PA2sRlnbM000155ac@hotmail.com> (raw)
In-Reply-To: <200402282255.18609.vda@port.imtp.ilyichevsk.odessa.ua>

hi,

Thanks for your reply. If you want to exactly reproduce my problem, please
use the following
commands to download my codes from cvs:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gaim-vv login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gaim-vv co
linphone

Simply hit enter when prompted for passwd.
(1) Please download and install libosip before compiling.
(2) Before ./configure, please run command 'rm -Rf ffmpeg; ln -s
ffmpeg-0.4.8 ffmpeg'.
(3) After 'make' and 'make install', use 'linphonec' to run the program.
(4) Under linphonec, use the following commands to communicate with windows
messenger:
   r www-db.research.bell-labs.com
   c <sip:username_of_windows_messenger@www-db.research.bell-labs.com>

www-db.research.bell-labs.com is a public sip server.

Under Windows Messenger (which runs only under WinXP), use SIP login
method. Sign-in name should be
username_of_windows_messenger@www-db.research.bell-labs.com

Please note that Windows Messenger is different from MSN Messenger.

I know it's kind of complicated... :( Thank you in advance!
PS: My Linux box and Windows XP box run in the same LAN.

Johnny

----- Original Message ----- 
From: "Denis Vlasenko" <vda@port.imtp.ilyichevsk.odessa.ua>
To: "johnny zhao" <filamoon2@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Saturday, February 28, 2004 4:22 PM
Subject: Re: udp packet loss even with large socket buffer


> On Saturday 28 February 2004 03:09, johnny zhao wrote:
> > Hi,
> >
> > I have a problem when trying to receive udp packets containing video
data
> > sent by Microsoft Windows Messenger. Here is a detailed description:
> >
> > Linux box:
> >     Linux-2.4.21-0.13mdksmp, P4 2.6G HT
> > socket mode:
> >     blocked mode
> > code used:
> >     while ( recvfrom(...) )
> > socket buffer size:
> >     8388608, set by using sysctl -w net.core.rmem_default and rmem_max
> >
> > I used ethereal(using libpcap) to monitor the network traffic. All the
> > packets were transferred and captured by libpcap. But my program
constantly
> > suffers from packet loss. According to ethereal, the average time
interval
> > between 2 packets  is 70-80ms, and the minimum interval can go down to
> > ~1ms. Each packet is smaller than 1500 bytes (ethernet MTU).
> >
> > Can anybody help me? I googled and found a similar case that had been
> > solved by increasing the socket buffer size. But it doesn't work for me.
I
> > think 8M is a crazily large size :(
>
> Post a small program demonstrating your problem.
> (I'd test udp receive with netcat too)
> --
> vda
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

  reply	other threads:[~2004-03-02  2:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28  1:09 johnny zhao
2004-02-28 21:22 ` Denis Vlasenko
2004-03-02  2:12   ` Charlie (Zhanglei) Wang [this message]
2004-02-28 22:08 johnny zhao
2004-03-02 12:58 ` Paulo Marques
2004-03-03  0:16 johnny zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY14-DAV4PA2sRlnbM000155ac@hotmail.com \
    --to=filamoon2@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®