Questions tagged [packet-loss]

Packet loss is the failure of one or more transmitted packets to arrive at their destination. This event can cause noticeable effects in all types of digital communications.The causes of packet loss include inadequate signal strength at the destination, natural or human-made interference, excessive system noise, hardware failure, software corruption or overburdened network nodes.

Packet loss occurs when one or more packets of data travelling across a computer network fail to reach their destination.
The effects of packet loss:
In data, packet loss produces errors.
In videoconference environments it can create jitter.
In pure audio communications, such as VoIP, it can cause jitter and frequent gaps in received speech.
In the worst cases, packet loss can cause severe mutilation of received data, broken-up images, unintelligible speech or even the complete absence of a received signal.
Packet loss may be measured as frame loss rate defined as the percentage of frames that should have been forwarded by a network load were not forwarded due to lack of resources.

The amount of packet loss that is acceptable depends on the type of data being sent.Anything over 2% packet loss over a period of time is a strong indicator of problems. Most internet protocols can correct for some packet loss, so you really shouldn't expect to see a lot of impact from packet loss until that loss starts to approach 5% and higher. Anything less than this is showing a possible problem, but one that is probably not impacting your experience significantly at present (unless you're an online gamer or something similar that requires 'twitch' reflexes).

141 questions
1
vote
0 answers

UDP packets are dropped in OS (asio is used)

I am developing client-server application which transfers data via UDP. I am facing the problem of dropped packets. I added socket buffer checking to detect potential overflow. Also my app checks sequence of received numbers in packets. Packets have…
1
vote
2 answers

Packet loss detection in .pcap file

I have several transport stream videos which are encapsulated within a PCAP file. It is known that they have packet losses. I would need to know a way to detect all of these losses. The protocols used are: Ethernet, IP, UDP, RTP and finally TS…
user9013612
  • 11
  • 1
  • 3
1
vote
0 answers

Cause of iOS BLE packet loss, packet duplication

I built 3 different Apps using a single BLE device. The device sends several values of several sensors to 2 Apps simultaneously. Same packets to 2 Apps at the same time. In Android Apps, they are fine. But, in iOS devices, there are some packet…
1
vote
1 answer

C - Read bytes from the UDP socket buffer (Linux)

I wrote the code in order to handle receiving UDP packets. The packets are all same length(120 bytes), and about 1,000 packets are coming in every second. Simply, my code is like this. int sock = -1; int flag = 0; int nRead = 0; #define…
1
vote
1 answer

C# - How to identify packet loss between server and client

We would like to develop a desktop tool for checking the packet loss between server and client. Tool will be running on client machine. The client has port 4172 TCP and UDP open and can communicate on that port. Is it possible to identify data…
1
vote
0 answers

Android - Google play service : Fallback issue

The "Google Play Services" library contains an integrated fallback system in case of lost packets? Here is the problem. I have a app that works like this: The player A sends a reliable message to the player B The player A can not send another…
Greelings
  • 4,964
  • 7
  • 34
  • 70
1
vote
1 answer

what is the source of packet loss using pfsend

I'm using pfsend to send traffic at very high speed from a host1 to a host2. At host2 side, I'm using pfcount to get some statistics regarding packet dropped and number of packets received. Some details: The NICs used are Mellanox Connectx-3.…
user2567806
  • 460
  • 3
  • 7
  • 17
1
vote
3 answers

UDP packet loss rate might increase on conditions?

Does UDP packet loss percentage might increase considering packet size? For example if I send 100'000 packets, in first try byte[] size is 30, but second 300. Could packet size play role in it's drop ability or packet loss percentage is not its size…
Scavs
  • 673
  • 1
  • 5
  • 16
1
vote
2 answers

Get packet loss from Open Flow switch

I am using ryu controller (3.22) to monitor switches (Open vSwitch 2.0.2, supporting Open Flow 1.3), which are a part of virtual network created using mininet (2.1.0). It is a tree topology with depth = 2, and fanout = 5. I am using…
sinhayash
  • 2,693
  • 4
  • 19
  • 51
1
vote
1 answer

Packet drops in multicast when multiple instance of listner are running

I have a multicast server which is continuously sending out multicast packets. There is one listener that is listening to this data on the same machine (loop-back multicast). When only one instance of listener is running I see no packet drops but…
bdubey
  • 307
  • 4
  • 13
1
vote
0 answers

Average Queueing Delay/End-to-End Delay

I am trying to figure out a problem where I calculate the average queueing delay where N packets are being sent of length L bits from Host A to Host B. There are two links between A and B (there is one router between A and B). The link connected to…
mike_tech123
  • 105
  • 2
  • 10
1
vote
0 answers

Udp packet out of order tolerance

I have message data structure with a sequence number and sending them in a udp packet. Because of udp, messages can be get in wrong order. I will skip this out of order messages in general. But i want to add this a tolerance such as average latency…
user706071
  • 805
  • 3
  • 10
  • 25
1
vote
2 answers

Change max UDP Packet Size

It seems that I'm not able to receive UDP Packets with a message bigger than 4096 bytes. Where can I change this limit? Is it OS or network adapter related? I got this issue on my Windows Server 2012 R2 while it's working fine on my Windows 8.1…
CrazyTea
  • 297
  • 1
  • 3
  • 13
1
vote
0 answers

Bluetooth Packets Get Lost While Doing Some Other Calculations

I have my Android device and WT-12 bluetooth module communicating over RFCOMM. My data rate is about ~180kbps roughly. I don't have any problem in my data if I only get the data and don't process it online. However, when I try to use a counter to d…
ilhan3
  • 11
  • 2
1
vote
1 answer

UDP tuning linux

I have C application which transmits UDP stream. It works well in most of servers, but its crazy on few servers. I have 100 Mbps network connection say eth1 on server. Using this network I usually transmit (TX) around 10-30 Mbps UDP streams, and…
nullptr
  • 3,320
  • 7
  • 35
  • 68