Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/dropqueuedpackets #882

Merged

Commits on Apr 26, 2023

  1. Linting change.

    Remove config parser/lexer code as it's rebuilded every time but can
    break adding new config options.
    Also clean up the code base to avoid mixing actual code changes and lint
    issues.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    648ad4d View commit details
    Browse the repository at this point in the history
  2. timeval_func: move all timeval manipulation to separate file

    There are several definitions of the same functions manipulating timeval
    structures. Let's move them to separate file and arrange the code
    preperly.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    a197aac View commit details
    Browse the repository at this point in the history
  3. netevent: parse and store rcv timestamp from sock

    Add special field in comm_point to store the software receive timestamp
    for every particular UDP packet. Aux data parser is updated to read
    values and the whole callback is switched to use recvmsg form.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    2e6ddd6 View commit details
    Browse the repository at this point in the history
  4. config: add sock_queue_timeout configuration

    Add sock_queue_timeout config option to have queue timeout configurable.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    04540f8 View commit details
    Browse the repository at this point in the history
  5. stats: add counter for timed out queries

    Add counter `num_queries_timed_out` meaning queries that were sitting in the
    socket queue and waiting to being processed too long. There is no reason
    to process such queries, so let's drop it in the very beginning of the
    pipeline.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    e577ab1 View commit details
    Browse the repository at this point in the history
  6. stats: add query max wait time metric

    Add new statistic value to know the size of the queue in microseconds.
    
    Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
    vvfedorenko committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    263096d View commit details
    Browse the repository at this point in the history