Packet loss in a bridge

2013-11-05 Thread Anil Joshi
Hi All,
I have created a bridge on two nics on the same machine.
The machine having a bridge is an intermediate machine to send packets
across network.
I am seeing much packet loss in the intermediate machine (i think due to
bridge brctl)

How to avoid it?

Thanks
Anil
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Packet loss in a bridge

2013-11-05 Thread Mulyadi Santosa
On Wed, Nov 6, 2013 at 1:56 AM, Anil Joshi aj27...@gmail.com wrote:
 Hi All,
 I have created a bridge on two nics on the same machine.
 The machine having a bridge is an intermediate machine to send packets
 across network.
 I am seeing much packet loss in the intermediate machine (i think due to
 bridge brctl)

 How to avoid it?

 Thanks
 Anil

Could be anything kernel traffic control, too many iptables rules
(AFAIK, too many iptables could slow down packet processing, thus can
not cope with high burst) etc.

I think better run tcpdump and save the result as pcap. Then load it
in latest Wireshark. Maybe you can get better clues there.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Packet loss in a bridge

2013-11-05 Thread Anil Joshi
I have stopped the iptables and ip6tables service.
No rules are loaded in the machine.


On Wed, Nov 6, 2013 at 10:44 AM, Mulyadi Santosa
mulyadi.sant...@gmail.comwrote:

 On Wed, Nov 6, 2013 at 1:56 AM, Anil Joshi aj27...@gmail.com wrote:
  Hi All,
  I have created a bridge on two nics on the same machine.
  The machine having a bridge is an intermediate machine to send packets
  across network.
  I am seeing much packet loss in the intermediate machine (i think due to
  bridge brctl)
 
  How to avoid it?
 
  Thanks
  Anil

 Could be anything kernel traffic control, too many iptables rules
 (AFAIK, too many iptables could slow down packet processing, thus can
 not cope with high burst) etc.

 I think better run tcpdump and save the result as pcap. Then load it
 in latest Wireshark. Maybe you can get better clues there.

 --
 regards,

 Mulyadi Santosa
 Freelance Linux trainer and consultant

 blog: the-hydra.blogspot.com
 training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Fwd: Packet Loss (Robert Clove)

2013-11-04 Thread Murali Annamneni
Hi Robert,

You can write your own kernel (using netfilter framework) module to count the 
number of packets received at kernel.
And, with this kernel module you can have the flexibility of filtering the 
packets you are sending from  packeth.


Thanks  Regards
Murali 

---
Date: Sat, 2 Nov 2013 07:28:24 -0700
From: Robert Clove cloverob...@gmail.com
Subject: Fwd: Packet Loss
To: kernelnewbies kernelnewbies@kernelnewbies.org
Message-ID:
CAEMktPXwKMEEuds9syAV4Y7DzHPQQnVoiaHMC2L=evtj6up...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

On Mon, Oct 28, 2013 at 5:44 PM, Kristof Provost kris...@sigsegv.be wrote:

 On 2013-10-28 17:32:43 (+0530), Robert Clove cloverob...@gmail.com
 wrote:
  Kind of Packets :- *UDP*
  How are you generating them? :-* Packeth (
  http://packeth.sourceforge.net/packeth/Home.html)*
  kernel version : uname -r -   *2.6.32-358.18.1.el6.x86_64
  *
  Are you *SURE* you're sending 1000? - *ya checked through packeth 
  status bar and also through ifconfig command* I have connected them 
  through LAN cable (cat 6) back to back.
 
  Changed cable but no use.
  What should i do?
 
 Break down the problem. Get that smart switch to tell you if the 
 packets are lost by the sender of the receiver.

 Test if it's bidirectional (i.e. does it still happen if the switch 
 the sender and receiver)?

 Does it still happen if you send only 100 packets? Do you still lose 
 30% then, or do you lose more or less?

 Perhaps try a kernel that isn't nearly five years old too.

 Also, don't top-post.

 Regards,
 Kristof



Hey Sir,

I just want to know are there any driver or kernel parameters that we can 
adjust to get the better packet capture?

Thanks
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131102/08d14366/attachment-0001.html
 



::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.




___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Fwd: Packet Loss

2013-11-02 Thread Robert Clove
On Mon, Oct 28, 2013 at 5:44 PM, Kristof Provost kris...@sigsegv.be wrote:

 On 2013-10-28 17:32:43 (+0530), Robert Clove cloverob...@gmail.com
 wrote:
  Kind of Packets :- *UDP*
  How are you generating them? :-* Packeth (
  http://packeth.sourceforge.net/packeth/Home.html)*
  kernel version : uname -r -   *2.6.32-358.18.1.el6.x86_64
  *
  Are you *SURE* you're sending 1000? - *ya checked through packeth status
  bar and also through ifconfig command*
  I have connected them through LAN cable (cat 6) back to back.
 
  Changed cable but no use.
  What should i do?
 
 Break down the problem. Get that smart switch to tell you if the packets
 are lost by the sender of the receiver.

 Test if it's bidirectional (i.e. does it still happen if the switch the
 sender and receiver)?

 Does it still happen if you send only 100 packets? Do you still lose 30%
 then, or do you lose more or less?

 Perhaps try a kernel that isn't nearly five years old too.

 Also, don't top-post.

 Regards,
 Kristof



Hey Sir,

I just want to know are there any driver or kernel parameters that we can
adjust to get the better packet capture?

Thanks
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Packet Loss

2013-10-28 Thread Robert Clove
Hi All,

I am pumping an 1000 packets at 1Gbps and receiving on 300 packets on the
other side.
Both the servers are back to back connected.

Please guide me what to do.
Both the servers are high end.


Thanks
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Packet Loss

2013-10-28 Thread Kristof Provost
On 2013-10-28 17:32:43 (+0530), Robert Clove cloverob...@gmail.com wrote:
 Kind of Packets :- *UDP*
 How are you generating them? :-* Packeth (
 http://packeth.sourceforge.net/packeth/Home.html)*
 kernel version : uname -r -   *2.6.32-358.18.1.el6.x86_64
 *
 Are you *SURE* you're sending 1000? - *ya checked through packeth status
 bar and also through ifconfig command*
 I have connected them through LAN cable (cat 6) back to back.
 
 Changed cable but no use.
 What should i do?
 
Break down the problem. Get that smart switch to tell you if the packets
are lost by the sender of the receiver.

Test if it's bidirectional (i.e. does it still happen if the switch the
sender and receiver)?

Does it still happen if you send only 100 packets? Do you still lose 30%
then, or do you lose more or less?

Perhaps try a kernel that isn't nearly five years old too.

Also, don't top-post.

Regards,
Kristof


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies