summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-11-21 11:40:20 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-01-07 17:54:26 -0500
commit877118c667abe0df7e4d7b0607f77806a9d2df91 (patch)
treecf3f365d51c7ff7fe2dae11da3f391d469a72ffd /tools/perf/scripts/python/export-to-postgresql.py
parentb541dd554bc0442f7ff8c6cab6c5460c044913c8 (diff)
svcrdma: Pre-allocate svc_rdma_recv_ctxt objects
The original reason for allocating svc_rdma_recv_ctxt objects during Receive completion was to ensure the objects were allocated on the NUMA node closest to the underlying IB device. Since commit c5d68d25bd6b ("svcrdma: Clean up allocation of svc_rdma_recv_ctxt"), however, the device's favored node is explicitly passed to the memory allocator. To enable switching Receive completion to soft IRQ context, move memory allocation out of completion handling, since it can be costly, and it can sleep. A limited number of objects is now allocated at "accept" time. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions