Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 11:02:39 -0600
From:      David <dajose22@gmail.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   help creating a send-receive test suit using netmap
Message-ID:  <CAHYV_8yREpATTQ6qOce8AQLTYzc6HLvy7wt6KoCagxr3kc8wPw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

I am trying to compare the performance of sending packets using netmap,
socket and packet mmap.

Right now I am working on top of pkt-gen and some other implementations for
socket and packet mmap. I'm interested on the relation between packet size
and packets I can send per second.

I was following the code to check all the steps, and I found it is going
throught a memcpy to set the packet on the netmap buffer (as defined
on nm_pkt_copy inside netmap_user.h). I am afraid that the data I'm reading
is mostly driven by the time the memcpy takes.

Is there any other way around to check the performance in "send" to avoid
this bottleneck?

regards

--=20
David D=C3=ADaz Barquero

Ingenier=C3=ADa en Computadores
Tecnol=C3=B3gico de Costa Rica



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHYV_8yREpATTQ6qOce8AQLTYzc6HLvy7wt6KoCagxr3kc8wPw>