1. 28 5月, 2013 3 次提交
  2. 25 5月, 2013 1 次提交
  3. 23 5月, 2013 5 次提交
  4. 01 5月, 2013 2 次提交
  5. 30 4月, 2013 1 次提交
  6. 25 4月, 2013 8 次提交
  7. 20 4月, 2013 1 次提交
  8. 18 4月, 2013 1 次提交
  9. 12 4月, 2013 1 次提交
  10. 08 4月, 2013 1 次提交
    • D
      selftests: net: add PF_PACKET TPACKET v1/v2/v3 selftests · 23a95442
      Daniel Borkmann 提交于
      This patch adds a simple test case that probes the packet socket's
      TPACKET_V1, TPACKET_V2 and TPACKET_V3 behavior regarding mmap(2)'ed
      I/O for a small burst of 100 packets. The test currently runs for ...
      
        TPACKET_V1: RX_RING, TX_RING
        TPACKET_V2: RX_RING, TX_RING
        TPACKET_V3: RX_RING
      
      ... and will output on success:
      
        test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
        test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
        test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
        test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
        test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
        OK. All tests passed
      
      Reusable parts of psock_fanout.c have been put into a psock_lib.h
      file for common usage. Test case successfully tested on x86_64.
      Signed-off-by: NDaniel Borkmann <dborkman@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      23a95442
  11. 01 4月, 2013 13 次提交
  12. 31 3月, 2013 1 次提交
  13. 27 3月, 2013 1 次提交
  14. 26 3月, 2013 1 次提交
    • S
      perf stat: Add per-core aggregation · 12c08a9f
      Stephane Eranian 提交于
      This patch adds the --per-core option to perf stat.
      
      This option is used to aggregate system-wide counts
      on a per physical core basis. On processors with
      hyperthreading, this means counts of all HT threads
      running on a physical core are aggregated.
      
      This mode is useful to find imblance between physical
      cores running an uniform workload. Cores are identified
      by socket: S0-C1, means physical core 1 on socket 0. Note
      that cores are identified using their physical core id,
      thus their numbering may not be continuous.
      
      Per core aggregation can be combined with interval printing:
      
       # perf stat -a --per-core -I 1000 -e cycles sleep 1000
       #           time core         cpus             counts events
            1.000090030 S0-C0           1          4,765,747 cycles
            1.000090030 S0-C1           1          5,580,647 cycles
            1.000090030 S0-C2           1            221,181 cycles
            1.000090030 S0-C3           1            266,092 cycles
      Signed-off-by: NStephane Eranian <eranian@google.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung.kim@lge.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: http://lkml.kernel.org/r/1360846649-6411-4-git-send-email-eranian@google.com
      [ committer note: Remove parts already applied on 86ee6e18 to keep bisectability ]
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      12c08a9f