You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net/rds: Recycle RDS headers to speed up connection fail over
At fail over time, a connection's headers are freed and then
re-allocated again based on the underlying device. Since fail over
only happens between ports of the same device, it means that the freed
headers may be re-used. This commit delays the headers deallocation.
When headers need to allocated, it checks if the previously "freed"
headers can be re-used. If yes, those headers are re-used. If not,
new headers will be allocated. The delayed time can be changed using
the sysctl net.rds.ib.dma_hdrs_free_delay. The default value is 10
seconds. Under normal conditions, this delay does not need to be that
long and this value should do no harm. But in successive fail over
and back testing, a short delay can cause unnecessary de-allocation.
Orabug: 30434704
Fixes: 10b43f1 ("net/rds: Use DMA memory pool allocation for
rds_header")
Signed-off-by: Ka-Cheong Poon <[email protected]>
Reviewed-by: Håkon Bugge <[email protected]>
Tested-by: Håkon Bugge <[email protected]>
Signed-off-by: Somasundaram Krishnasamy <[email protected]>
0 commit comments