lkml.org 
[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: When does Linux drop UDP packets?
    From
    Date
    On Thu, 2009-06-04 at 12:34 -0400, Steven Rostedt wrote:

    > BTW, I used ftrace to look into this:
    >
    > Enable:
    >
    > CONFIG_FTRACE
    > CONFIG_FUNCTION_TRACER
    > CONFIG_FUNCITON_GRAPH_TRACER
    > CONFIG_DYNAMIC_FTRACE
    >
    > Compile and boot:
    >
    > # mount -t debugfs nodev /sys/kernel/debug

    Very glad to see you following standards ;-)

    > # cd /sys/kernel/debug

    hmm you mean # cd /sys/kernel/debug/tracing

    > # echo udp_rcv > set_graph_function
    > # echo function_graph > current_tracer
    > # cat trace
    >

    Anyway you can also see UDP packet drops when you increase network and
    CPU load.

    --
    JSR



    \
     
     \ /
      Last update: 2009-06-04 19:49    [W:0.021 / U:0.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site