LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-11-2008, 05:45 PM   #1
vlyamtse
Member
 
Registered: Apr 2007
Posts: 51

Rep: Reputation: 15
udp packet loss problem


Hello,
I have video player ( as UDP server) on Ubuntu ( 6.10 -Edgy Eft) receiving video in UDP packets from client on the same system. Client app streams to the loopback ( 127.0.0.1); Video works fine if I introduce 1 ms delay between sending packets in client app... With no delay I see packet loss, causing large percent of decoding errors in video player. I suspected UDP buffer overflow and tried to increase buffer size, as following:
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
But this doesn't fix the problem.
Any idea on how to troubleshoot this issue would be greatly appreciated.
-V.L
 
Old 02-11-2008, 06:38 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,699
Blog Entries: 54

Rep: Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962Reputation: 2962
I'd use two systems on a LAN. I mean if you are trying to mimick a network *cast over UDP test system and you have all processor-intensive video generation, pack sending and receiving, processing and playing going on on one system I'm sure a 1 ms delay doesn't sound too bad?
 
Old 02-12-2008, 09:59 AM   #3
vlyamtse
Member
 
Registered: Apr 2007
Posts: 51

Original Poster
Rep: Reputation: 15
re:

Thank for reply, unSpawn.
Just a clarification: "server" app just "packetizer" for incoming raw video ( which is encoded on another system), e.g.
it's not numerically intensive process.
Have to investigate that bottleneck anyway...
Thanks again,
-V.L.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reliably detect UDP packet loss. rikusg Linux - Networking 2 07-14-2006 04:50 AM
Packet loss problem in RHEL4 shaan Linux - Networking 5 07-07-2006 11:38 AM
70% packet loss bingviini Linux - Networking 5 11-18-2004 12:35 PM
What can cause packet loss? Micah Linux - Hardware 8 03-15-2004 01:31 AM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration