Increase per PDR (F-TEID) hashtable size (details)
Commit
68c0e96a811a75f176edb35ed5edbe12f9b1c884
by Pau Espin Pedrol
Introduce hashtable to look up session in endpoint by UP SEID
This is used every time a new PFCP session was being allocated. It allows looking up if a given UP SEID exists in any of the peers. Before this patch, iterating over tens/hundreds of UP peers on every session creation took 38% of a full CPU.
Commit
a2289c073036817196e858bd496dc5e6b7ab9994
by Pau Espin Pedrol
Increase per PDR (F-TEID) hashtable size
In tunmap scenario there's usually 2 PDRs/local-F-TEIDs per session, hence it makes sense to at least double the hashtable size with respect to session hashtable. In here we actually multiply it by 2 twice since this is actually global and not per peer, hence we account for multiple peers.