Spdk/test/spdkcli/match_files/spdkcli_iscsi.test.match
Shuhei Matsumoto 11d76e8c81 iscsi: Set resource pool size to the predetermined values to run with little memory
Add three parameters, pdu_pool_size, immediate_data_pool_size, and
data_out_pool_size to the RPC iscsi_set_options to run iSCSI target
with little memory.

For some use cases, we want to keep the max number of connections,
but simultaneously we want to reduce the pool size and let I/Os wait
until resource is provided.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I74dc785310b1d985f3e338c1e13fba3a3840d113
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8191
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-06-17 08:59:18 +00:00

61 lines
7.6 KiB
Plaintext

o- iscsi ..................................................................................................................... [...]
o- auth_groups ....................................................................................................... [Groups: 2]
| o- group1 ......................................................................................................... [Secrets: 3]
| | o- user=test1, secret=test1, muser=mutual_test1, msecret=mutual_test1 .................................................. [...]
| | o- user=test2, secret=test2, muser=mutual_test2, msecret=mutual_test2 .................................................. [...]
| | o- user=test3, secret=test3, muser=mutual_test3, msecret=mutual_test3 .................................................. [...]
| o- group2 ......................................................................................................... [Secrets: 1]
| o- user=test4, secret=test4, muser=mutual_test4, msecret=mutual_test4 .................................................. [...]
o- global_params ........................................................................................................... [...]
| o- allow_duplicated_isid: False .......................................................................................... [...]
| o- chap_group: 1 ......................................................................................................... [...]
| o- data_out_pool_size: 2048 .............................................................................................. [...]
| o- default_time2retain: 20 ............................................................................................... [...]
| o- default_time2wait: 2 .................................................................................................. [...]
| o- disable_chap: True .................................................................................................... [...]
| o- error_recovery_level: 0 ............................................................................................... [...]
| o- first_burst_length: 8192 .............................................................................................. [...]
| o- immediate_data: True .................................................................................................. [...]
| o- immediate_data_pool_size: 16384 ....................................................................................... [...]
| o- max_connections_per_session: 2 ........................................................................................ [...]
| o- max_large_datain_per_connection: 64 ................................................................................... [...]
| o- max_queue_depth: 64 ................................................................................................... [...]
| o- max_r2t_per_connection: 4 ............................................................................................. [...]
| o- max_sessions: 128 ..................................................................................................... [...]
| o- mutual_chap: False .................................................................................................... [...]
| o- node_base: iqn.2016-06.io.spdk ........................................................................................ [...]
| o- nop_in_interval: 30 ................................................................................................... [...]
| o- nop_timeout: 60 ....................................................................................................... [...]
| o- pdu_pool_size: 36864 .................................................................................................. [...]
| o- require_chap: False ................................................................................................... [...]
o- initiator_groups ........................................................................................ [Initiator groups: 2]
| o- initiator_group2 ............................................................................................ [Initiators: 2]
| | o- hostname=ANW, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
| | o- hostname=ANY, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
| o- initiator_group3 ............................................................................................ [Initiators: 1]
| o- hostname=ANZ, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
o- iscsi_connections ............................................................................................ [Connections: 0]
o- portal_groups .............................................................................................. [Portal groups: 2]
| o- portal_group1 .................................................................................................. [Portals: 2]
| | o- host=127.0.0.1, port=3261 ........................................................................................... [...]
| | o- host=127.0.0.1, port=3263 ........................................................................................... [...]
| o- portal_group2 .................................................................................................. [Portals: 1]
| o- host=127.0.0.1, port=3262 ........................................................................................... [...]
o- target_nodes ................................................................................................ [Target nodes: 2]
o- iqn.2016-06.io.spdk:Target0 ......................................................................... [Id: 0, QueueDepth: 64]
| o- auths ........................................ [disable_chap: True, require_chap: False, mutual_chap: False, chap_group: 1]
| o- luns ............................................................................................................ [Luns: 2]
| | o- lun 0 ......................................................................................................... [Malloc0]
| | o- lun 1 ......................................................................................................... [Malloc1]
| o- pg_ig_maps ................................................................................................ [Pg_ig_maps: 3]
| o- portal_group1 - initiator_group2 .................................................................................. [...]
| o- portal_group1 - initiator_group3 .................................................................................. [...]
| o- portal_group2 - initiator_group2 .................................................................................. [...]
o- iqn.2016-06.io.spdk:Target1 ......................................................................... [Id: 1, QueueDepth: 64]
o- auths ....................................... [disable_chap: False, require_chap: False, mutual_chap: False, chap_group: 1]
o- luns ............................................................................................................ [Luns: 2]
| o- lun 0 ......................................................................................................... [Malloc2]
| o- lun 2 ......................................................................................................... [Malloc3]
o- pg_ig_maps ................................................................................................ [Pg_ig_maps: 1]
o- portal_group1 - initiator_group2 .................................................................................. [...]