Commit 047fcbb
vhost-scsi: Change def inline_sg_cnt and max_io_vqs for exadata
Upstream we set inline_sg_cnt and max_io_vqs based on their
original values and concerns about regressions:
max_io_vqs - If a user tries to create more than max_io_vqs then
the device setup will fail and QEMU will fail to start. Upstream
this is 128 because since mq was added this was the default. If
we change it too low, then VMs will fail to start.
For exadata, this is their first time using vhost-scsi so we can
set it low. Their primary concern is mem use so we set it to 1.
inline_sg_cnt - If a user has a really high perf setup (multiple
LUNs per vhost-scsi device with fast backend devices) then there
was a concern they could see a regression if we lower this too
low. Upstream it was left as the original value.
For exadata, their primary concern is mem use so we set this to
not preallocate any memory for command's scatterlists. We will
use whatever memory is available when performing IO.
Orabug: 38099086
Signed-off-by: Mike Christie <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Brian Maly <[email protected]>1 parent 83560c9 commit 047fcbb
1 file changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
2811 | 2812 | | |
2812 | 2813 | | |
2813 | 2814 | | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
2814 | 2844 | | |
2815 | 2845 | | |
2816 | 2846 | | |
| |||
0 commit comments