Skip to content

Commit

Permalink
add more number of requested memzone segments to set memzone_max manu…
Browse files Browse the repository at this point in the history
…ally for 1K IP camera sessions

Signed-off-by: jenny zhu <[email protected]>
  • Loading branch information
jianbingzhu committed Dec 27, 2023
1 parent ef61199 commit 1727e71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media-proxy/src/proxy_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ try : mRpcCtrlAddr(rpc_addr), mTcpCtrlAddr(tcp_addr), mSessionCount(0) {
}

mTcpCtrlPort = std::stoi(sub_str[1]);
schs_ready = false;
} catch (...) {
}

Expand Down Expand Up @@ -200,6 +201,7 @@ void ProxyContext::ParseStInitParam(const mcm_conn_param* request, struct mtl_in
st_param->rx_queues_cnt[MTL_PORT_P] = 32;
st_param->tx_queues_cnt[MTL_PORT_P] = 32;
st_param->lcores = NULL;
st_param->memzone_max = 3000;

INFO("ProxyContext: ParseStInitParam...");
INFO("num_ports : %d", st_param->num_ports);
Expand Down

0 comments on commit 1727e71

Please sign in to comment.