January/February 2018 issue of acmqueue


The January/February issue of acmqueue is out now


Networks

  Download PDF version of this article PDF

ITEM not available

acmqueue

Originally published in Queue vol. 10, no. 1
see this item in the ACM Digital Library


Tweet



Related:

Yonatan Sompolinsky, Aviv Zohar - Bitcoin's Underlying Incentives
The unseen economic forces that govern the Bitcoin protocol


Antony Alappatt - Network Applications Are Interactive
The network era requires new models, with interactions instead of algorithms.


Jacob Loveless - Cache Me If You Can
Building a decentralized web-delivery model


Theo Schlossnagle - Time, but Faster
A computing adventure about time through the looking glass



Comments

(newest first)

Displaying 10 most recent comments. Read the full list here

Abdul Hakeem | Sat, 31 May 2014 18:05:05 UTC

Hello, Any advice on how to build a USB driver with Netmap ? We have 2 boards connected to each other talking directly to an application. Regards, Abdul Hakeem


Rajiv | Fri, 14 Feb 2014 01:20:56 UTC

Have some higher level networking stacks been built on top of netmap? Like UDP? Sounds interesting. It sounds a lot like the Van Jacobson net channels that was supposed to go into Linux but never did.


Nulik | Sun, 25 Aug 2013 13:53:26 UTC

3 hours ago I didn't know about netmap, but now I have a working example of receiving a packet. Doing this took me about 1 week with DPDK, because it has lots of documentation and it is difficult to understand. Both DPDK and PF_RING have lots of unneeded stuff in the APIs. Netmap is the cleanest, and genious solution. With netmap I can link my app statically and get rid of annoying GLIBC, with DPDK I can't do that.Great piece of code, keep up the good work!


Michael | Tue, 07 May 2013 19:47:44 UTC

Seems to be a great piece of software. Is there any known patch to fasten up ip routing using it?

Regards Michael


Dongil Park | Tue, 07 May 2013 01:41:23 UTC

I could not get the raw packet.

i compiled netmap code and load netmap_lin.ko and ixgbe.ko. OS: centos Kernel version: 2.6.38 the example pkt-gen is working, i think... but there is no packet information.

receive_packets [710] cur 54 receive_packets [713] limit 1 FFFFFF83 24 00 00 00 00 01 00 receive_packets [723] slot 0x7f437cc041e0 receive_packets [724] slot->len 0 receive_packets [725] slot->buf_idx 9347 receive_packets [726] ring.buf_ofs 6635520 receive_packets [727] ring.num_slots 512 receive_packets [728] ring.avail 1 receive_packets [729] ring.cur 54 receive_packets [730] ring.nr_buf_size 2048 receive_packets [731] ring.flags 0 receive_packets [735] len 0 main [1265] 0 pps receive_packets [710] cur 55 receive_packets [713] limit 1 FFFFFF84 24 00 00 00 00 01 00 receive_packets [723] slot 0x7f437cc041e8 receive_packets [724] slot->len 0 receive_packets [725] slot->buf_idx 9348 receive_packets [726] ring.buf_ofs 6635520 receive_packets [727] ring.num_slots 512 receive_packets [728] ring.avail 1 receive_packets [729] ring.cur 55 receive_packets [730] ring.nr_buf_size 2048 receive_packets [731] ring.flags 0 receive_packets [735] len 0

this is the log. packet length is 0... ??

is there any solution?


Alan Mimms | Thu, 04 Apr 2013 00:01:45 UTC

Tahir,

I found that I had to do "ifconfig ethN up" before running pkt-gen. Would that fix your problem?


Tahir | Thu, 14 Feb 2013 16:54:18 UTC

Dear Luigi,

I compiled the netmap code on my UBUNTU machine (kernel version 3.2.0-32.51). After installation, I loaded "netmap_lin" and "ixgeb" kernel modules. However, the pkt-gen example is not working and giving me the error "Unable to get ifinfo for eth1". My Ethernet interface is Intel 82598EB 10G. Any clue that why the example is not working?

Regards


osopolis | Mon, 23 Apr 2012 10:36:55 UTC

Hi.

Any timeline when netmap will be included into the kernel forwarding engine? I´d love to test it out :-)


Luigi Rizzo | Tue, 17 Apr 2012 23:15:58 UTC

James: netmap is mostly useful (and usable) for applications requiring raw packet I/O, such as software routers/switches, firewalls, traffic monitors, and to some degrees virtualization systems. I have some work in progress for changes of the (in-kernel) host stack to make direct use of netmap, but the gains will be more limited (for TCP because it uses large frames, for UDP because the socket API is limited to one frame per system call).

Stephane: the issue is that network devices cannot control incoming traffic, so they must be prepared to handle even min-sized frames (64 bytes + 160 bits of framing, total 672 bits).


stéphane | Fri, 13 Apr 2012 12:54:04 UTC

Hi Luigi, I thought maximum throughput on a NIC was reached with jumbo frame (9000B payload) or at least standard frame (1500B payload). That's why I'm surprise by the 14.88Mpps. I computed 138.6kpps or 823.5kpps. Do you have any resource giving hardware specifications ? Regards


Displaying 10 most recent comments. Read the full list here
Leave this field empty

Post a Comment:







© 2018 ACM, Inc. All Rights Reserved.