Comments (7)
Hi morphyno,
we fixed the problem with jumbo frames and ixgbe, but without libpcap.
This fixes are into "next" branch of netmap. Maybe this problem is related.
Can you try with "next" branch?
Thanks,
Stefano
Original comment by [email protected]
on 22 Oct 2014 at 11:45
- Added labels: ****
- Removed labels: ****
from netmap.
Hi Stefano:
Jumbo packets does seem to work with the "next" branch of netmap. However,
here's my observation.
I set "buf_size" to 9000, in dmesg, I see bufsz is set to 9088
[ 2834.998629] 050.285168 [ 460] ixgbe_netmap_configure_srrctl bufsz: 9088
srrctl: 8
However, I see actual MTU is 8196 Bytes.
Because as soon as I send packets bigger than 8196 bytes, I see fragmentation.
892 bytes is a pretty big difference.
Is buf_size a software buffer size that includes other objects other than skb?
Original comment by [email protected]
on 27 Oct 2014 at 8:06
- Added labels: ****
- Removed labels: ****
from netmap.
Hi morphyno,
bufsz is set to 9088 for alignment reason.
For the MTU, I don't understand if you are set it up to 9000 in both side (tx
and rx).
Can you explain the test environment? (tools for traffic generation, NIC set
up, tx and rx NIC interconnection)
Cheers,
Stefano
Original comment by [email protected]
on 31 Oct 2014 at 2:17
- Added labels: ****
- Removed labels: ****
from netmap.
Original comment by [email protected]
on 31 Oct 2014 at 2:19
- Changed state: Started
- Added labels: ****
- Removed labels: ****
from netmap.
Hi Stefano:
I actually avoided using jumbo packets for some time. I'm using tcpreplay over
netmap to play pcaps that contain jumbo packets (largest is 9200 bytes). I'm
able to do so when I set /sys/module/netmap/parameters/buf_size to 9300. I also
use tcpdump over netmap-libpcap to capture the packets in a loopback (from my
device under test).
tcpeplay -> Netmap:ethX -> DUT > Netmap:eth7 -> tcpdump
I'm noticing something very interesting. When I attempt to invoke but tcpreplay
and tcpdump both in netmap mode(they both use difference interfaces). I see the
following errors in dmesg.
[2549737.221434] 057.187385 [ 798] generic_netmap_dtor Restored native NA
(null)
[2549738.286908] 058.252026 [1786] netmap_interp_ringid eth0: tx [0,12) rx
[0,12) id 0
[2549738.350512] 058.315582 [ 356] nm_mem_assign_group iommu_group 0
[2549738.416472] 058.381491 [ 507] netmap_obj_malloc no more netmap_buf
objects
[2549738.482315] 058.447283 [ 672] netmap_new_bufs no more buffers
after 444 of 512
[2549738.548963] 058.513879 [1360] netmap_mem_rings_create Cannot allocate
buffers for tx_ring
[2549738.617586] 058.582448 [1516] netmap_mem_global_deref refcount = 1
This only happens if I have a buffer size set to a very large number. Is there
any other parameter I need to adjust accordingly with buff_size?
Original comment by [email protected]
on 4 Feb 2015 at 8:06
- Added labels: ****
- Removed labels: ****
from netmap.
Attached is the dmesg, tcpdump over netmap-libpcap is using eth13, tcpreplay
over netmap is using eth12
Original comment by [email protected]
on 4 Feb 2015 at 8:08
- Added labels: ****
- Removed labels: ****
Attachments:
from netmap.
Is the problem still there?
from netmap.
Related Issues (20)
- Netmap could not allocate memory : netmap_config_obj_allocator requested objsize 140032 out of range [256, 131072]
- Time resolution on rx sync HOT 1
- i4oe driver in version 2.19.3 overflow when bitrate get up of peta bytes
- performance problem with emulated mode (Linux 5.15.0 Ubuntu 22.04) HOT 1
- problem in ring of i40e
- error while executing make command (build)
- netmap_poll should check if interface is up
- pkt-gen txseq issues with ixl
- kernel updated, pkt-gen cause kernel panic HOT 4
- pkt-gen IP randomization differs for jumbo vs. standard frames
- nm_open with range of queues HOT 4
- Failure accessing netmap: Invalid argument HOT 1
- netmap causing hang of kernel worker.
- netmap i40e not support 6.6.4
- ProxMox + VirtIO (KVM)
- igc driver does not seem to work HOT 2
- num_slots on RX rings are zero HOT 2
- igb_netmap_rxsync error HOT 1
- Can't build ICE drivers HOT 5
- netmap_ring_reinit problems when running Zeek with netmap pipes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netmap.