A lot of packets get dropped in linux.. Help!

August 24, 2009 at 07:29:44
Specs: Linux Fedora
I have managed to crosscompile a linux kernel for an embedded system. But when receiving a videostream a lot of packets seem to get dropped. I am a linux newbie and don't know about all the filters and buffers in Linux. I am streaming a MPEG TS stream (UDP > RTP > MPEG TS). Any ideas what I have to tweak to get a minimal packet loss (or 0 for that matter).

I have changed buffers in hardware added FIFOs etc. But it seems that linux is making the problem. Please help!

See More: A lot of packets get dropped in linux.. Help!

Report •

August 24, 2009 at 12:07:15
Why do you think you're dropping packets?

Please describe the problem you're having in detail (include any/all error messages) and what troubleshooting steps you have taken so far.

Report •

August 24, 2009 at 14:38:09
UDP is connectionless. It can drop the whole enchalada.

Playing to the angels
Les Paul (1915-2009)

Report •

August 25, 2009 at 02:34:05
The problem is that I have crosscompiled Tshark (command line version of Wireshark) to measure packet loss and jitter on a video stream. It doesn't show any stability. I can get 0% packet loss at approximately 1-1.5 Mb/s. above this a very unstable result is achieved. packet drops vary from approximately 0-50% if not more..

Report •

Related Solutions

August 25, 2009 at 02:34:38
I am streaming locally from one computer to the development board with the embedded linux.. packet loss shouldn't occur...

Report •

August 25, 2009 at 06:05:02
Why are you bothering to do this crosscompiling? I don't understand sorry. If it were me and I wanted to check packets flow I'd just run tcpdump on that computer instead of going to all the trouble you're going through. Try it and see if things don't improve.

Using the "tee" command you could split the output and send one stream to the STDOUT and the other to a file if you wanted.

If you're testing this in a LAN situation, there's no reason for packet loss and I suspect yours is a problem with the core compile you've tried.

Report •

Ask Question