pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-upf/+/39579?usp=email )
Change subject: up_peer: Increase up/cp seid hashtable sizes
......................................................................
up_peer: Increase up/cp seid hashtable sizes
During a 200K session setup, this can still take quite a noticeable
amount of time (20% of a full CPU) during session creation.
Change-Id: I424778a4c75000fb67ba4725a6a3e3e91a80fc76
---
M include/osmocom/upf/up_peer.h
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/79/39579/1
diff --git a/include/osmocom/upf/up_peer.h b/include/osmocom/upf/up_peer.h
index be5dd52..559b87c 100644
--- a/include/osmocom/upf/up_peer.h
+++ b/include/osmocom/upf/up_peer.h
@@ -63,8 +63,8 @@
struct osmo_use_count use_count;
struct osmo_use_count_entry use_count_buf[5];
- DECLARE_HASHTABLE(sessions_by_up_seid, 6);
- DECLARE_HASHTABLE(sessions_by_cp_seid, 6);
+ DECLARE_HASHTABLE(sessions_by_up_seid, 10);
+ DECLARE_HASHTABLE(sessions_by_cp_seid, 10);
};
struct up_peer *up_peer_find_or_add(struct up_endpoint *up_ep, const struct osmo_sockaddr
*remote_addr);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-upf/+/39579?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I424778a4c75000fb67ba4725a6a3e3e91a80fc76
Gerrit-Change-Number: 39579
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>