# MIC SCIF/DAPL RDMA proxy server configuration file # # Entry format is: # name value # log_file: # Specifies the location of the MPXYD service output. The log file is used to # assist with MPXYD service debugging and troubleshooting. The log_file can # be set to 'stdout', 'stderr', or the name of a file. # Examples: # log_file stdout # log_file stderr # log_file /var/log/mpxyd.log log_file /var/log/mpxyd.log # log_level: # Indicates the amount of detailed data written to the log file. Log levels # are bit mapped as follow: 0xf for full verbose # 0x0 - errors always reported # 0x1 - warnings # 0x2 - cm operations # 0x4 - data operations # 0x8 - info # 0x10 - perf # 0x20 - threads # 0x40 - verbose log_level 0 # lock_file: # Specifies the location of the MPXYD lock file used to ensure that only a # single instance of MPXYD is running. lock_file /var/run/mpxyd.pid # scif_port_id: # SCIF port number that the server listens on. # If this value is changed, then a corresponding change is required for # client MIC DAPL provider. Default is SCIF_OFED_PORT_8 (i.e. 68) scif_port_id 68 # scif_listen_qlen: # The queue length for the server side scif_listen() call. It affects how # many clients can connect to the server simultaneously. Default is 240. scif_listen_qlen 240 # mcm_affinity: # Specifies CPU affinity and binding level used for mpxyd threads # If 0, normal O/S scheduling is used for all threads. # If 1, CPU affinity is set for OP,CM,TX and RX threads, multi core binding. # If 2, CPU affinity is set for OP,CM,TX and RX threads, single core binding. # # Note: mcm_affinity = 2, best performance, op thread continously polls # when devices are active/open. # # The default is 1 mcm_affinity 1 # mcm_op_poll: # For the OP thread. Use FD wake or use pollong for next OP # If 0, FD wake up will be used. # If 1, use polling for the next OP. # # The default is 1 mcm_op_poll 1 # mcm_affinity_base_mic: # Specifies a hard binding for CPU id base value used for affinity support of # mpxyd data proxy threads. Default = 0, which specifies use of # dynamic affinity binding based on adapter locality. For specific bindings, # set to CPU id value desired. For example, mcm_affinity_base_mic = 8, # would bind proxy threads across CPU 8,9,10, and 11 # # NOTE: if mcm_affinity = 2, mcm_affinity_base_mic specifies single core # id for ALL threads across all MIC adapters. If specifying a single core_id it # is best to specify a CPU located in the remote socket, away from IB adapter. # If mcm_affinity = 2 && mcm_affinity_base_mic = 0, then a single core per MIC adapter # is configured based on locality of MIC adapter. See mpxyd.log for resulting bindings. # # The default is 0 (best performance) mcm_affinity_base_mic 0 # mcm_depth: # Specifies the number of request queue entries available for CM messages. # A larger depth consumes more system resources, 256 * mcm_depth * ib devices mcm_depth 500 # mcm_rw_signal_rate: # mcm_rr_signal_rate: # mcm_rr_max_pending: # Specifies the number of RDMA write/read segments posted before signaling for completions. # Larger the value reduces interrupts but could increase reserve times on buffer resources. # Default = 1 for signaling, 40 for RDMA READ's outstanding mcm_rw_signal_rate 1 mcm_rr_signal_rate 1 mcm_rr_max_pending 40 # max_message_mb: # Specifies the maximum message size. The default is 16 (MB). max_message_mb 16 # buffer_pool_shared: # Specifies if the pre-allocated and pinned buffer is shared between # connections from the same client, or is private to each connection. buffer_pool_shared 1 # buffer_pool_mb: # Specifies the amount of memory pre-allocated and pinned for SCIF to uDAPL # RDMA proxy services. Per client or per connection depending on the setting # of "buffer_pool_shared". Recommend to increase the size if shared. buffer_pool_mb 32 # buffer_segment_size: # Specifies the segment size of large DMA transfers. Default is 128KB. # The size must be a multiple of 4096. buffer_segment_size 131072 # buffer_alignment: # Specifies the alignment of the RDMA buffer. Default is 64 bytes. buffer_alignment 64 # buffer_inline_threshold: # Specifies the max IO size for scif_recv inline before switch # to scif_readfrom DMA. Default is 256 bytes. buffer_inline_threshold 256 # proxy_tx_depth: # Specifies the work request queue depth for the outbound proxy service # Default is 1024 work requests. proxy_tx_depth 512 # proxy_rx_depth: # Specifies the work request queue depth for the outbound proxy service # Default is 1024 work requests. proxy_rx_depth 512 # CM connect request timeout ms: # Specifies the amout of time a request waits for reply before retry. # Default is 2000 ms mcm_req_timeout_ms 4000 # CM connect reply timeout ms: # Specifies the amout of time a reply waits for RTU before retry. # Default is 1000 ms mcm_rep_timeout_ms 2000 # CM retry count # Specifies the amount of retries for CM messages expecting replies. # Default is 10. mcm_retry_count 10 # mcm_perf_profile: # 1 or 0, specifies if performance profiling is enabled/disabled for RDMA operations # Default is 0, disabled # mcm_perf_profile 0 # mcm_eager_completion: # complete and signal write request after scif_readfrom has moved all data, otherwise wait for IB completions. # Default is enabled. mcm_eager_completion 1 # mcm_counters # log and print device CM, DTO, and event counters. Output any non-zero results at device close. # Default is disabled. mcm_counters 0 # mcm_proxy_in # Override for proxy-in services. If disabled, mpxyd will fallback to previous version of proxy-out only. # Default is enabled. mcm_proxy_in 1