Just a remainder, so that the question doesn't get lost in time.
On 16 June 2014 16:30, Carlos Ferreira <carlosmf...@gmail.com> wrote: > Ok, thanks for the enlightenment regarding the loss of performance. > > One question, just to be sure. Does the kernel module contains the VALA > switch code? Or do I need to compile extra code to have the switch working? > Also, where can I find the documentation to use the Vala Switch? > > Once again, thank you for the support. > > > On 14 June 2014 11:15, Luigi Rizzo <ri...@iet.unipi.it> wrote: > >> On Fri, Jun 13, 2014 at 10:55:54AM +0100, Carlos Ferreira wrote: >> > Hello Luigi (and to all) >> > >> > I was able to successfully compile the netmap module for OpenWRT but >> > without drivers. According to the information in the README file which >> > comes with the source, the drivers are not necessary but with some >> "reduced >> > performance". >> > >> > I would like to ask how much degradation should be expected. I would >> like >> > to run some tests to see if everything is ok and if the port was >> successful. >> >> At 10Gbit we are easily talking about a 5x loss of efficiency. >> >> At 1Gbit probably the gap is a bit smaller, also because a >> lot of low-end device have severe bus bandwidth limitations. >> >> I would be interested in seeing what kind of performance you >> get on your openwrt box with the following commands >> >> 1. just a sender on a software switch >> pkt-gen -i vale0:a -f tx >> >> 2. sender and receiver on a software switch >> pkt-gen -i vale0:a -f tx & >> pkt-gen -i vale0:b -f rx & >> >> 3. sender and receiver on a netmap pipe >> pkt-gen -i vale0:x{0 -f tx & >> pkt-gen -i vale0:x}0 -f rx & >> >> 4. sending on a physical device (make sure something is attached >> to the output port. Also this is tricky because many openwrt boxes >> have a switch on the output so you need to use a unicast destination >> MAC address) >> >> pkt-gen -i eth0 -f tx -D 00:11:22:33:44:55 >> >> cheers >> luigi >> >> > >> > Thank you for the help! >> > >> > >> > >> > On 12 June 2014 11:48, Carlos Ferreira <carlosmf...@gmail.com> wrote: >> > >> > > First of all, thank you for the quick answer! >> > > >> > > I will try it myself to compile just the netmap module without the >> drivers >> > > and report the results back to you. >> > > >> > > Once again, thank you! >> > > >> > > >> > > On 12 June 2014 11:41, Luigi Rizzo <ri...@iet.unipi.it> wrote: >> > > >> > >> >> > >> >> > >> >> > >> On Thu, Jun 12, 2014 at 12:35 PM, Carlos Ferreira < >> carlosmf...@gmail.com> >> > >> wrote: >> > >> >> > >>> Hello! >> > >>> >> > >>> First of all, to Luigi and the dev team, great piece of work that >> netmap >> > >>> is! This is a piece of software that I was looking for quite some >> time. >> > >>> Your team effort is appreciated! >> > >>> >> > >>> Now the question. >> > >>> I know that this is a FreeBSD mailing list but I was wondering, >> since you >> > >>> have a PKGBUILD file for ArchLinux, could someone in your team do >> the >> > >>> same >> > >>> for OpenWRT? Netmap seems to be a piece of software which would >> come in >> > >>> handy, to develop applications and protocols for the OpenWRT distro. >> > >>> Since OpenWRT uses uClib, I don't really know if it is possible to >> > >>> compile >> > >>> it. >> > >>> Help is appreciated! >> > >>> >> > >>> >> > >> ???i expect it will be trivial to compile netmap for openwrt, >> > >> because it is just a piece of kernel code and the userspace >> > >> has little or no dependencies. >> > >> Another story is to write specific netmap extensions for the >> > >> driver in use -- that might require a little bit of work >> > >> though not much, knowing the driver. >> > >> >> > >> I am afraid we currently we do not have the time and manpower >> > >> to set up a build environment and give it a try. >> > >> >> > >> cheers >> > >> luigi >> > >> >> > >> >> > > >> > > >> > > -- >> > > >> > > Carlos Miguel Ferreira >> > > Researcher at Telecommunications Institute >> > > Aveiro - Portugal >> > > Work E-mail - c...@av.it.pt >> > > Skype & GTalk -> carlosmf...@gmail.com >> > > LinkedIn -> http://www.linkedin.com/in/carlosmferreira >> > > >> > >> > >> > >> > -- >> > >> > Carlos Miguel Ferreira >> > Researcher at Telecommunications Institute >> > Aveiro - Portugal >> > Work E-mail - c...@av.it.pt >> > Skype & GTalk -> carlosmf...@gmail.com >> > LinkedIn -> http://www.linkedin.com/in/carlosmferreira >> > _______________________________________________ >> > freebsd-net@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net >> > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> > > > > -- > > Carlos Miguel Ferreira > Researcher at Telecommunications Institute > Aveiro - Portugal > Work E-mail - c...@av.it.pt > Skype & GTalk -> carlosmf...@gmail.com > LinkedIn -> http://www.linkedin.com/in/carlosmferreira > -- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - c...@av.it.pt Skype & GTalk -> carlosmf...@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"