Changeset d7fd648 for configure.in


Ignore:
Timestamp:
12/19/14 15:47:34 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
1960910
Parents:
6e41e73
Message:

Improves speed of the DPDK format(and parallel libtrace) and fixes some DPDK bugs

Fixes bug with PCI address being parsed as a decimal instead of hex.
Fixes bug so DPDK Breaks out of loop when libtrace_halt is called

For performance

  • Rearranges the header format used to simplify code which might show a small speed up
  • Batching packets is now supported thoughout the parallel framework
  • DPDK now always reads packets in bursts if possible, including in single threaded mode
  • Calls to retrive system time only needs to occur once for a batch of packets
  • The CPU core used to run DPDK is/are now picked based upon the NUMA node the NIC is attached to
  • A delay has been added to reduce the memory load of polling after unsuccessful attempts this tends to improve performance
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r092a09c rd7fd648  
    392392fi
    393393
     394# If we use DPDK we might be able to use libnuma
     395AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
     396
    394397# Checks for various "optional" libraries
    395398AC_CHECK_LIB(pthread, pthread_create, have_pthread=1, have_pthread=0)
     
    411414AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=1, have_clock_gettime=0)
    412415LIBS=
     416
     417if test "$have_numa" = 1; then
     418        LIBTRACE_LIBS="$LIBTRACE_LIBS -lnuma"
     419        AC_DEFINE(HAVE_LIBNUMA, 1, [Set to 1 if libnuma is found supported])
     420        with_numa=yes
     421else
     422        AC_DEFINE(HAVE_LIBNUMA, 0, [Set to 1 if libnuma is found supported])
     423        with_numa=no
     424fi
    413425
    414426if test "$dlfound" = 0; then
     
    685697if test x"$libtrace_dpdk" = xtrue; then
    686698    AC_MSG_NOTICE([Compiled with DPDK live capture support: Yes])
     699    reportopt "Compiled with DPDK trace NUMA support" $with_numa
    687700elif test x"$want_dpdk" != "xno"; then
    688701#   We don't officially support DPDK so only report failure if the user
Note: See TracChangeset for help on using the changeset viewer.