summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2023-01-18 16:23:55 +0000
committerIlya Maximets <i.maximets@ovn.org>2023-01-23 17:23:20 +0100
commitf62629a55894546ff043e8a116c3c57aff73c285 (patch)
tree6adcfb99ef6ba80c218d17741976b0ad40cd74f6 /tests
parente24b68fa708c1c31388bee24ebe781dc49b284da (diff)
downloadopenvswitch-f62629a55894546ff043e8a116c3c57aff73c285.tar.gz
dpif-netdev: Set timer slack for PMD threads.
The default Linux timer slack groups timer expires into 50 uS intervals. With some traffic patterns this can mean that returning to process packets after a sleep takes too long and packets are dropped. Add a helper to util.c and set use it to reduce the timer slack for PMD threads, so that sleeps with smaller resolutions can be done to prevent sleeping for too long. Fixes: de3bbdc479a9 ("dpif-netdev: Add PMD load based sleeping.") Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2023-January/401121.html Reported-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: David Marchand <david.marchand@redhat.com> Co-authored-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions