[dpdk-dev] [memnic PATCH 1/7] guest: memnic-tester: PMD benchmark in guest

Hiroshi Shimamoto h-shimamoto at ct.jp.nec.com
Thu Sep 25 01:54:19 CEST 2014


Hi,
> Subject: Re: [dpdk-dev] [memnic PATCH 1/7] guest: memnic-tester: PMD benchmark in guest
> 
> Hi Hiroshi,
> 
> 2014-09-11 07:46, Hiroshi Shimamoto:
> >  master |<- put packets ->|     |<- get packets ->|
> >  slave  |   |<- rx packets ->|<- tx packets ->|   |
> >         |<----------------- set ----------------->|
> >
> > Measuring how many sets in the certain period, that represents
> > the MEMNIC PMD performance. The master workload must be very low.
> 
> Sorry, I don't really understand this diagram and the associated explanation.
> Could you try to reword it?

sure, will make more understandable description.
Could you please help me to do that?

The purpose of this program is measuring the performance of MEMNIC PMD itself.
It means that we'd like to know how much the PMD takes in rx and tx API.
The program does rx and tx in the slave thread and the PMD performance could
be measured how much packets are handled in certain period. By the way we
need to fill and clear MEMNIC packet buffer for enabling to work the PMD rx/tx
in the slave thread. Then, I made the master thread which fills and clears
MEMNIC packet buffer in the lightest way, and it should be with the least jitter.
If we generate a real packet out of VM, that may cause increasing jitter
outside of the MEMNIC PMD, it means we will not see the precise performance
of MEMNIC PMD itself.

Can you see the concept of this benchmark with the above?

thanks,
Hiroshi

> 
> Thanks
> --
> Thomas


More information about the dev mailing list