File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
libs/full/parcelport_lci/include/hpx/parcelport_lci Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -120,3 +120,22 @@ when using the LCI parcelport to get better performance.
120
120
121
121
This setting needs roughly 800MB memory per process. The memory consumption mainly
122
122
comes from the packets, which can be calculated using `LCI_SERVER_NUM_PKTS x LCI_PACKET_SIZE `.
123
+
124
+ In addition, users can tune the following command-line options
125
+ when using the LCI parcelport to get better performance.
126
+
127
+ .. option :: --hpx:ini=hpx.parcel.lci.ndevices= <int >
128
+
129
+ The number of LCI devices to use. The default value is 2.
130
+ An LCI device represents a collection of network resources.
131
+ More devices lead to lower thread contention, but too many devices
132
+ may lead to load imbalance or hardware overhead.
133
+
134
+ .. option :: --hpx:ini=hpx.parcel.lci.progress_type= <worker|rp >
135
+
136
+ The way to progress the LCI device. The default value is ``worker ``.
137
+ The ``worker `` option uses all worker threads to progress the LCI devices.
138
+ The ``rp `` option uses dedicated pinned threads to progress the LCI devices.
139
+ Normally, the ``worker `` option gives better performance, but the ``rp `` option
140
+ has been observed with better performance on some clusters with
141
+ prior generation of InfiniBand hardware.
Original file line number Diff line number Diff line change @@ -264,10 +264,10 @@ namespace hpx::traits {
264
264
" protocol = putsendrecv\n "
265
265
" comp_type_header = queue\n "
266
266
" comp_type_followup = queue\n "
267
- " progress_type = rp \n "
267
+ " progress_type = worker \n "
268
268
" prepost_recv_num = 1\n "
269
269
" reg_mem = 1\n "
270
- " ndevices = 1 \n "
270
+ " ndevices = 2 \n "
271
271
" ncomps = 1\n "
272
272
" enable_in_buffer_assembly = 1\n "
273
273
" send_nb_max_retry = 32\n "
You can’t perform that action at this time.
0 commit comments