Commit c6c0d6f6 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

portals4: increase max_entries limit

Increases the number of matching list entries we can append. The netmod
would bump into this limit on the Get portal when doing many sends
above the large threshold.

No reviewer.
parent d1f533e6
......@@ -15,6 +15,7 @@
#define UNEXPECTED_HDR_COUNT 32768
#define EVENT_COUNT 32768
#define LIST_SIZE 32768
#define ENTRY_COUNT 32768
#define NID_KEY "NID"
#define PID_KEY "PID"
#define PTI_KEY "PTI"
......@@ -181,6 +182,8 @@ static int ptl_init(MPIDI_PG_t *pg_p, int pg_rank, char **bc_val_p, int *val_max
desired.max_unexpected_headers = UNEXPECTED_HDR_COUNT;
if (desired.max_list_size < LIST_SIZE && getenv("PTL_LIM_MAX_LIST_SIZE") == NULL)
desired.max_list_size = LIST_SIZE;
if (desired.max_entries < ENTRY_COUNT && getenv("PTL_LIM_MAX_ENTRIES") == NULL)
desired.max_entries = ENTRY_COUNT;
/* do the real init */
ret = PtlNIInit(PTL_IFACE_DEFAULT, PTL_NI_MATCHING | PTL_NI_PHYSICAL,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment