yselkowitz / rpms / opensm

Forked from rpms/opensm 6 years ago
Clone
3e3fe8c
#
3e3fe8c
# DEVICE ATTRIBUTES OPTIONS
3e3fe8c
#
3e3fe8c
# The port GUID on which the OpenSM is running
3e3fe8c
guid 0x0000000000000000
3e3fe8c
3e3fe8c
# M_Key value sent to all ports qualifying all Set(PortInfo)
3e3fe8c
m_key 0x0000000000000000
3e3fe8c
3e3fe8c
# The lease period used for the M_Key on this subnet in [sec]
3e3fe8c
m_key_lease_period 0
3e3fe8c
3e3fe8c
# SM_Key value of the SM used for SM authentication
3e3fe8c
sm_key 0x0000000000000001
3e3fe8c
3e3fe8c
# SM_Key value to qualify rcv SA queries as 'trusted'
3e3fe8c
sa_key 0x0000000000000001
3e3fe8c
3e3fe8c
# Note that for both values above (sm_key and sa_key)
3e3fe8c
# OpenSM version 3.2.1 and below used the default value '1'
3e3fe8c
# in a host byte order, it is fixed now but you may need to
3e3fe8c
# change the values to interoperate with old OpenSM running
3e3fe8c
# on a little endian machine.
3e3fe8c
3e3fe8c
# Subnet prefix used on this subnet
3e3fe8c
subnet_prefix 0xfe80000000000000
3e3fe8c
3e3fe8c
# The LMC value used on this subnet
3e3fe8c
lmc 0
3e3fe8c
3e3fe8c
# lmc_esp0 determines whether LMC value used on subnet is used for
3e3fe8c
# enhanced switch port 0. If TRUE, LMC value for subnet is used for
3e3fe8c
# ESP0. Otherwise, LMC value for ESP0s is 0.
3e3fe8c
lmc_esp0 FALSE
3e3fe8c
a2783db
# sm_sl determines SMSL used for SM/SA communication
a2783db
sm_sl 0
a2783db
3e3fe8c
# The code of maximal time a packet can live in a switch
3e3fe8c
# The actual time is 4.096usec * 2^<packet_life_time>
3e3fe8c
# The value 0x14 disables this mechanism
3e3fe8c
packet_life_time 0x12
3e3fe8c
3e3fe8c
# The number of sequential packets dropped that cause the port
3e3fe8c
# to enter the VLStalled state. The result of setting this value to
3e3fe8c
# zero is undefined.
3e3fe8c
vl_stall_count 0x07
3e3fe8c
3e3fe8c
# The number of sequential packets dropped that cause the port
3e3fe8c
# to enter the VLStalled state. This value is for switch ports
3e3fe8c
# driving a CA or router port. The result of setting this value
3e3fe8c
# to zero is undefined.
3e3fe8c
leaf_vl_stall_count 0x07
3e3fe8c
3e3fe8c
# The code of maximal time a packet can wait at the head of
3e3fe8c
# transmission queue.
3e3fe8c
# The actual time is 4.096usec * 2^<head_of_queue_lifetime>
3e3fe8c
# The value 0x14 disables this mechanism
3e3fe8c
head_of_queue_lifetime 0x12
3e3fe8c
3e3fe8c
# The maximal time a packet can wait at the head of queue on
3e3fe8c
# switch port connected to a CA or router port
3e3fe8c
leaf_head_of_queue_lifetime 0x10
3e3fe8c
3e3fe8c
# Limit the maximal operational VLs
3e3fe8c
max_op_vls 5
3e3fe8c
3e3fe8c
# Force PortInfo:LinkSpeedEnabled on switch ports
3e3fe8c
# If 0, don't modify PortInfo:LinkSpeedEnabled on switch port
3e3fe8c
# Otherwise, use value for PortInfo:LinkSpeedEnabled on switch port
3e3fe8c
# Values are (IB Spec 1.2.1, 14.2.5.6 Table 146 "PortInfo")
3e3fe8c
#    1: 2.5 Gbps
3e3fe8c
#    3: 2.5 or 5.0 Gbps
3e3fe8c
#    5: 2.5 or 10.0 Gbps
3e3fe8c
#    7: 2.5 or 5.0 or 10.0 Gbps
3e3fe8c
#    2,4,6,8-14 Reserved
3e3fe8c
#    Default 15: set to PortInfo:LinkSpeedSupported
3e3fe8c
force_link_speed 15
3e3fe8c
3e3fe8c
# The subnet_timeout code that will be set for all the ports
3e3fe8c
# The actual timeout is 4.096usec * 2^<subnet_timeout>
3e3fe8c
subnet_timeout 18
3e3fe8c
3e3fe8c
# Threshold of local phy errors for sending Trap 129
3e3fe8c
local_phy_errors_threshold 0x08
3e3fe8c
3e3fe8c
# Threshold of credit overrun errors for sending Trap 130
3e3fe8c
overrun_errors_threshold 0x08
3e3fe8c
3e3fe8c
#
3e3fe8c
# PARTITIONING OPTIONS
3e3fe8c
#
3e3fe8c
# Partition configuration file to be used
a2783db
partition_config_file /etc/rdma/partitions.conf
3e3fe8c
3e3fe8c
# Disable partition enforcement by switches
3e3fe8c
no_partition_enforcement FALSE
3e3fe8c
3e3fe8c
#
3e3fe8c
# SWEEP OPTIONS
3e3fe8c
#
3e3fe8c
# The number of seconds between subnet sweeps (0 disables it)
3e3fe8c
sweep_interval 10
3e3fe8c
3e3fe8c
# If TRUE cause all lids to be reassigned
3e3fe8c
reassign_lids FALSE
3e3fe8c
3e3fe8c
# If TRUE forces every sweep to be a heavy sweep
3e3fe8c
force_heavy_sweep FALSE
3e3fe8c
3e3fe8c
# If TRUE every trap will cause a heavy sweep.
3e3fe8c
# NOTE: successive identical traps (>10) are suppressed
3e3fe8c
sweep_on_trap TRUE
3e3fe8c
3e3fe8c
#
3e3fe8c
# ROUTING OPTIONS
3e3fe8c
#
3e3fe8c
# If TRUE count switches as link subscriptions
3e3fe8c
port_profile_switch_nodes FALSE
3e3fe8c
3e3fe8c
# Name of file with port guids to be ignored by port profiling
3e3fe8c
port_prof_ignore_file (null)
3e3fe8c
a2783db
# The file holding routing weighting factors per output port
a2783db
hop_weights_file (null)
a2783db
a2783db
# The file holding non-default port order per switch for DOR routing 
a2783db
dimn_ports_file (null)
a2783db
3e3fe8c
# Routing engine
3e3fe8c
# Multiple routing engines can be specified separated by
3e3fe8c
# commas so that specific ordering of routing algorithms will
3e3fe8c
# be tried if earlier routing engines fail.
3e3fe8c
# Supported engines: minhop, updn, file, ftree, lash, dor
3e3fe8c
routing_engine (null)
3e3fe8c
3e3fe8c
# Connect roots (use FALSE if unsure)
3e3fe8c
connect_roots FALSE
3e3fe8c
3e3fe8c
# Use unicast routing cache (use FALSE if unsure)
3e3fe8c
use_ucast_cache FALSE
3e3fe8c
3e3fe8c
# Lid matrix dump file name
3e3fe8c
lid_matrix_dump_file (null)
3e3fe8c
3e3fe8c
# LFTs file name
3e3fe8c
lfts_file (null)
3e3fe8c
3e3fe8c
# The file holding the root node guids (for fat-tree or Up/Down)
3e3fe8c
# One guid in each line
3e3fe8c
root_guid_file (null)
3e3fe8c
3e3fe8c
# The file holding the fat-tree compute node guids
3e3fe8c
# One guid in each line
3e3fe8c
cn_guid_file (null)
3e3fe8c
a2783db
# The file holding the fat-tree I/O node guids
a2783db
# One guid in each line
a2783db
io_guid_file (null)
a2783db
a2783db
# Number of reverse hops allowed for I/O nodes 
a2783db
# Used for connectivity between I/O nodes connected to Top Switches
a2783db
max_reverse_hops 0
a2783db
3e3fe8c
# The file holding the node ids which will be used by Up/Down algorithm instead
3e3fe8c
# of GUIDs (one guid and id in each line)
3e3fe8c
ids_guid_file (null)
3e3fe8c
3e3fe8c
# The file holding guid routing order guids (for MinHop and Up/Down)
3e3fe8c
guid_routing_order_file (null)
3e3fe8c
a2783db
# Do mesh topology analysis (for LASH algorithm)
a2783db
do_mesh_analysis FALSE
a2783db
a2783db
# Starting VL for LASH algorithm
a2783db
lash_start_vl 0
a2783db
3e3fe8c
# SA database file name
3e3fe8c
sa_db_file (null)
3e3fe8c
a2783db
# If TRUE causes OpenSM to dump SA database at the end of
a2783db
# every light sweep, regardless of the verbosity level
a2783db
sa_db_dump FALSE
a2783db
3e3fe8c
#
3e3fe8c
# HANDOVER - MULTIPLE SMs OPTIONS
3e3fe8c
#
3e3fe8c
# SM priority used for deciding who is the master
3e3fe8c
# Range goes from 0 (lowest priority) to 15 (highest).
a2783db
sm_priority 0
3e3fe8c
3e3fe8c
# If TRUE other SMs on the subnet should be ignored
3e3fe8c
ignore_other_sm FALSE
3e3fe8c
3e3fe8c
# Timeout in [msec] between two polls of active master SM
3e3fe8c
sminfo_polling_timeout 10000
3e3fe8c
3e3fe8c
# Number of failing polls of remote SM that declares it dead
3e3fe8c
polling_retry_number 4
3e3fe8c
3e3fe8c
# If TRUE honor the guid2lid file when coming out of standby
3e3fe8c
# state, if such file exists and is valid
3e3fe8c
honor_guid2lid_file FALSE
3e3fe8c
3e3fe8c
#
3e3fe8c
# TIMING AND THREADING OPTIONS
3e3fe8c
#
3e3fe8c
# Maximum number of SMPs sent in parallel
a2783db
max_wire_smps 4
a2783db
a2783db
# Maximum number of timeout based SMPs allowed to be outstanding
a2783db
# A value less than or equal to max_wire_smps disables this mechanism
a2783db
max_wire_smps2 4
a2783db
a2783db
# The timeout in [usec] used for sending SMPs above max_wire_smps limit and below max_wire_smps2 limit
a2783db
max_smps_timeout 600000
3e3fe8c
3e3fe8c
# The maximum time in [msec] allowed for a transaction to complete
3e3fe8c
transaction_timeout 200
3e3fe8c
a2783db
# The maximum number of retries allowed for a transaction to complete
a2783db
transaction_retries 3
a2783db
3e3fe8c
# Maximal time in [msec] a message can stay in the incoming message queue.
3e3fe8c
# If there is more than one message in the queue and the last message
3e3fe8c
# stayed in the queue more than this value, any SA request will be
3e3fe8c
# immediately returned with a BUSY status.
3e3fe8c
max_msg_fifo_timeout 10000
3e3fe8c
3e3fe8c
# Use a single thread for handling SA queries
3e3fe8c
single_thread FALSE
3e3fe8c
3e3fe8c
#
3e3fe8c
# MISC OPTIONS
3e3fe8c
#
3e3fe8c
# Daemon mode
a2783db
daemon FALSE
3e3fe8c
3e3fe8c
# SM Inactive
3e3fe8c
sm_inactive FALSE
3e3fe8c
3e3fe8c
# Babbling Port Policy
3e3fe8c
babbling_port_policy FALSE
3e3fe8c
a2783db
# Use Optimized SLtoVLMapping programming if supported by device
a2783db
use_optimized_slvl FALSE
a2783db
3e3fe8c
#
3e3fe8c
# Event Plugin Options
3e3fe8c
#
a2783db
# Event plugin name(s)
3e3fe8c
event_plugin_name (null)
3e3fe8c
a2783db
# Options string that would be passed to the plugin(s)
a2783db
event_plugin_options (null)
a2783db
3e3fe8c
#
3e3fe8c
# Node name map for mapping node's to more descriptive node descriptions
3e3fe8c
# (man ibnetdiscover for more information)
3e3fe8c
#
3e3fe8c
node_name_map_name (null)
3e3fe8c
3e3fe8c
#
3e3fe8c
# DEBUG FEATURES
3e3fe8c
#
3e3fe8c
# The log flags used
3e3fe8c
log_flags 0x03
3e3fe8c
3e3fe8c
# Force flush of the log file after each log message
3e3fe8c
force_log_flush FALSE
3e3fe8c
3e3fe8c
# Log file to be used
3e3fe8c
log_file /var/log/opensm.log
3e3fe8c
3e3fe8c
# Limit the size of the log file in MB. If overrun, log is restarted
3e3fe8c
log_max_size 0
3e3fe8c
3e3fe8c
# If TRUE will accumulate the log over multiple OpenSM sessions
3e3fe8c
accum_log_file TRUE
3e3fe8c
3e3fe8c
# The directory to hold the file OpenSM dumps
3e3fe8c
dump_files_dir /var/log/
3e3fe8c
3e3fe8c
# If TRUE enables new high risk options and hardware specific quirks
3e3fe8c
enable_quirks FALSE
3e3fe8c
3e3fe8c
# If TRUE disables client reregistration
3e3fe8c
no_clients_rereg FALSE
3e3fe8c
3e3fe8c
# If TRUE OpenSM should disable multicast support and
3e3fe8c
# no multicast routing is performed if TRUE
3e3fe8c
disable_multicast FALSE
3e3fe8c
3e3fe8c
# If TRUE opensm will exit on fatal initialization issues
3e3fe8c
exit_on_fatal TRUE
3e3fe8c
3e3fe8c
# console [off|local]
3e3fe8c
console off
3e3fe8c
3e3fe8c
# Telnet port for console (default 10000)
3e3fe8c
console_port 10000
3e3fe8c
3e3fe8c
#
3e3fe8c
# QoS OPTIONS
3e3fe8c
#
3e3fe8c
# Enable QoS setup
3e3fe8c
qos FALSE
3e3fe8c
3e3fe8c
# QoS policy file to be used
a2783db
qos_policy_file /etc/rdma/qos-policy.conf
3e3fe8c
3e3fe8c
# QoS default options
3e3fe8c
qos_max_vls 0
3e3fe8c
qos_high_limit -1
3e3fe8c
qos_vlarb_high (null)
3e3fe8c
qos_vlarb_low (null)
3e3fe8c
qos_sl2vl (null)
3e3fe8c
3e3fe8c
# QoS CA options
3e3fe8c
qos_ca_max_vls 0
3e3fe8c
qos_ca_high_limit -1
3e3fe8c
qos_ca_vlarb_high (null)
3e3fe8c
qos_ca_vlarb_low (null)
3e3fe8c
qos_ca_sl2vl (null)
3e3fe8c
3e3fe8c
# QoS Switch Port 0 options
3e3fe8c
qos_sw0_max_vls 0
3e3fe8c
qos_sw0_high_limit -1
3e3fe8c
qos_sw0_vlarb_high (null)
3e3fe8c
qos_sw0_vlarb_low (null)
3e3fe8c
qos_sw0_sl2vl (null)
3e3fe8c
3e3fe8c
# QoS Switch external ports options
3e3fe8c
qos_swe_max_vls 0
3e3fe8c
qos_swe_high_limit -1
3e3fe8c
qos_swe_vlarb_high (null)
3e3fe8c
qos_swe_vlarb_low (null)
3e3fe8c
qos_swe_sl2vl (null)
3e3fe8c
3e3fe8c
# QoS Router ports options
3e3fe8c
qos_rtr_max_vls 0
3e3fe8c
qos_rtr_high_limit -1
3e3fe8c
qos_rtr_vlarb_high (null)
3e3fe8c
qos_rtr_vlarb_low (null)
3e3fe8c
qos_rtr_sl2vl (null)
3e3fe8c
3e3fe8c
# Prefix routes file name
a2783db
prefix_routes_file /etc/rdma/prefix-routes.conf
3e3fe8c
3e3fe8c
#
3e3fe8c
# IPv6 Solicited Node Multicast (SNM) Options
3e3fe8c
#
3e3fe8c
consolidate_ipv6_snm_req FALSE
a4c19b6
a2783db
# Log prefix
a2783db
log_prefix (null)
a2783db