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
0
votes
3 answers

How to calculate packet loss rate with scapy?

I'm trying to calculate packet loss rate from youtube when a video is running. I sniff packets one by one by Scapy, on eth0 and filter TCP packets with IP header. To calculate packet loss rate, I should have a number of received packets and a…
nima
  • 357
  • 5
  • 18
0
votes
0 answers

Reduce the rate of dropped packets in ns2

I have made an ad hoc simulation with 7 nodes. I use udp agents in the 2 nodes who are both transmitters and receivers cause I am simulating a video conference.The other 4 nodes are in between and move slightly. My problem is that no matter the…
0
votes
0 answers

How to best feed packets to Wireshark from e.g. CAN

We have a logger that streams CAN bus messages from e.g. a CAR via a C program and a pipe into Wireshark. This works great, though we are experiencing some packet loss, in some cases significant. Right now the C code handles one byte at a time,…
Martin
  • 149
  • 3
  • 12
0
votes
1 answer

Simulate packet loss in UDP in python

I am supposed to simulate a packet loss rate of 10^-2 in a Stop-and-wait protocol, that is 0.01, which means that 1 out of 100 packets transmitted get lost. Suppose I'm sending 1000 packets, how to drop exactly 1 random packet out of the 100 packets…
Jarvis
  • 8,494
  • 3
  • 27
  • 58
0
votes
0 answers

Multithreading and packet loss in UDP

Is a multi-threaded client necessary in order to cause packet loss, if both the server and client are on the same machine ? What would be the case if there is a remote server ? Suppose I'm sending packets to the server from the client sequentially…
Jarvis
  • 8,494
  • 3
  • 27
  • 58
0
votes
1 answer

Getting Random Constant Packet Loss

The code below is what I'm using to ping 8.8.8.8, but some times when I press start it is just packet loss which this counts, that is strange because I'm sure I don't have that much of packet loss, then I pause it and start again and it works just…
Sina M.Azad
  • 27
  • 1
  • 9
0
votes
1 answer

Receive UDP packets with python, packet loss

I'm having a lot of packet loss using UDP in python. I know I should use TCP if I don't want packet loss, but I don't have (full) controll over the sender. It's a camera that sends 15 images per second using UDP multicast. Below you see the code…
RD1897
  • 1
  • 1
  • 3
0
votes
1 answer

Dropping Packets Intentionally

I want to test robustness of my application. So i want a linux command that will drop few packets for some nanosecond. I am receiving these packets from a multicast IP-Port.
Akansha Bagale
  • 129
  • 1
  • 13
0
votes
0 answers

What will packet lose affect for “Long not so Fat Network”?

I am streaming video from a remote server through HTTP. I captured the packets with Wireshark on the client, I notice that the client of the connection stops sending packets from time to time, for several seconds each pause. The RTT is between 170ms…
neevek
  • 11,760
  • 8
  • 55
  • 73
0
votes
0 answers

Retransmissions in Consecutive duplicated ACK in TCP

In the fast retransmission logic in TCP, TCP retransmit the packet when the sender gets the 3 duplicated ACKs. However, what if the sender gets 6 duplicated ACKS? The following procedure is what I think, 1) sender sends lots of packets with big…
0
votes
1 answer

Sending a larger serialized object over the network causes glitchy behavior

I have been wrestling with serializing a object over the network for a small project I have been working on. The code I am using works almost flawlessly, sometimes the bytes don't load in correctly, but that is fixed by just reloading the UI.…
0
votes
1 answer

NAL unit loss software , packet loss , video

I'm trying to stream an HD video and insert loss to its packets. I found "NAL Unit Loss Software" in references of papers that I were written about Hd video streaming. but I can't find this documente. it's removed ! is there anybody can help me to…
0
votes
0 answers

Dropping packets in linux

I am looking for a reliable way to drop packets in linux as if you have bad networking. Looking at stack overflow (and the internet) there seem to be two good possibilities pointed out in this answer. Both of these should get 5% packet loss. tc…
vitiral
  • 8,446
  • 8
  • 29
  • 43
0
votes
0 answers

At what layer of the OSI model does ipfw works?

Clearly, when I use iptables to drop packets in output of a sender A, the TCP instance of A re-send them because it never gets ACK from the receiver B of those lost packets. In the end, depending on the probability of drop (>0), all data from A…
Lili_marston
  • 149
  • 1
  • 12
0
votes
0 answers

UDP Packet loss at Sender

I have an application that sends logs to a log server residing on a different machine. These logs are sent as UDP packets. My problem is that i see UDP log loss. I have a running sequence number in the UDP packets which is printed along with the log…
Vinod
  • 11