diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2018-11-28 17:44:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-04 00:05:19 +0300 |
commit | 90b2620e6a8aa08c40cc78d61603e0acd853c33a (patch) | |
tree | 8fffa51cdddb9be77c88a48cac50e7151b6382d4 /lib/memory-notifier-error-inject.c | |
parent | 7bca603a69c0c239654a8f0bcb99e1a60b30040c (diff) | |
download | linux-90b2620e6a8aa08c40cc78d61603e0acd853c33a.tar.xz |
IB/hfi1: Fix a latency issue for small messages
A recent performance enhancement introduced a latency issue in the
HFI message path. The new algorithm removed a forced call send for
PIO messages and added a forced schedule event for messages larger
than the MTU.
For PIO, the schedule path can introduce thrashing that can
significantly impact the throughput for small messages.
If a message size is within the PIO threshold, always take the send
path.
Fixes: 0b79b27748cb ("IB/{hfi1, qib, rdmavt}: Schedule multi RC/UC packets instead of posting")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions