From: Ajith Adapa <adapa.ajith@gmail.com>
To: netdev@vger.kernel.org
Subject: Regarding bottlenecks for high speed packet generation
Date: Thu, 25 Oct 2012 23:16:56 +0530 [thread overview]
Message-ID: <CADAe=+KJ2QuL7ZdrfDWQe8R1vF_r_bu3QBS-5kwZBgQ21QTMtg@mail.gmail.com> (raw)
Hi,
I am trying out a sample application written based on packet_mmap to
generate packets at line rates. I am using 3.4.10 kernel and a gigabit
nic card.
I have found some strange issues as mentioned below.
When I am transmitting packets sized 1500 bytes the socket buffers are
easily filled up eventhough if I increase the value of wmem_default
and wmem_max.
The memory I have allotted can fit around 14k packets of 1500 bytes
size. Is the NIC card not able to transmit them ?? How can I check it
??
I have even increased the Hardware tx queue size of NIC card from 256
to 4096 using ethtool.
Does traffic control causing any issue as I read it wont allow traffic bursts ?
Is there any way to find the major bottlenecks that would really cause
problems in high-speed packet generation.
Regards,
Ajith
next reply other threads:[~2012-10-25 17:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-25 17:46 Ajith Adapa [this message]
2012-10-25 18:04 ` Regarding bottlenecks for high speed packet generation Daniel Borkmann
[not found] ` <CADAe=++9KHUx3qX+2==+q0Fq44CJ9tjYcO=HdLYOF3FVuM5Vtg@mail.gmail.com>
2012-10-25 19:39 ` Daniel Borkmann
2012-10-26 2:49 ` Ajith Adapa
2012-10-26 3:18 ` David Miller
2012-10-26 6:12 ` Ajith Adapa
2012-10-26 16:15 ` Ben Hutchings
2012-10-27 3:55 ` Ajith Adapa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADAe=+KJ2QuL7ZdrfDWQe8R1vF_r_bu3QBS-5kwZBgQ21QTMtg@mail.gmail.com' \
--to=adapa.ajith@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).