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

ovsdb2ddlog: Add --intern-table CLI switch. #934

Merged
merged 1 commit into from
Mar 11, 2021

Commits on Mar 10, 2021

  1. ovsdb2ddlog: Add --intern-table CLI switch.

    Added `--intern-table` flag to the compiler to declare input tables coming from
    OVSDB as `Intern<...>`.  This is useful for tables whose records are copied
    around as a whole and can therefore benefit from interning performance- and
    memory-wise.  In the past we had to create a separate table and copy records
    from the original input table to it while wrapping them in `Intern<>`.  With
    this change, we avoid the extra copy and intern records as we ingest them
    for selected tables.
    
    I am not pushing any tests for the new feature with this commit.
    Testing was done using the master branch of OVN that currently has a
    bunch of nondet test failures, presumably due to race conditions in the
    test harness.
    ryzhyk committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    df3d343 View commit details
    Browse the repository at this point in the history