diff options
| author | Mike Christie <[email protected]> | 2024-12-03 19:15:09 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2025-02-25 12:10:46 +0000 |
| commit | bf2d650391be508dd8b5e188b65ed32300cf3489 (patch) | |
| tree | 7ab3a6e11e947477dd4989b05e175a8c0d3f2cbd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | vhost-scsi: Reduce mem use by moving upages to per queue (diff) | |
| download | kernel-bf2d650391be508dd8b5e188b65ed32300cf3489.tar.gz kernel-bf2d650391be508dd8b5e188b65ed32300cf3489.zip | |
vhost-scsi: Allocate T10 PI structs only when enabled
T10 PI is not a widely used feature. This has us only allocate the
structs for it if the feature has been enabled. For a common small setup
where you have 1 virtqueue and 128 commands per queue, this saves:
8MB = 32 bytes per sg * 2048 entries * 128 commands
per vhost-scsi device.
Signed-off-by: Mike Christie <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Stefan Hajnoczi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
