AltraMayor / AltraMayor/gatekeeper

An issue with RSS in Grantor

Offen
#396 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Operational demand
Vorherrschende Sprache
C
Sterne
1.6k
Forks
252
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

After Gatekeeper processing the incoming packets, both request packets and granted packets will be sent to Grantors using IP-in-IP encapsulation. In the extreme case, all the packets from a Gatekeeper are sent to the same Grantor sever using the same IP address pair (Gatekeeper IP, Grantor IP). However, all the packets from the same Gatekeeper server will be directed to the same lcore in Grantor server by using the default RSS over the IP addresses pair.

Even though the processing logic in Grantor is simpler than Gatekeeper, this will become an issue when the Gatekeeper servers have fast NICs (e.g., 100+ Gbps), since a single lcore in Grantor cannot process all the traffic. The closed patch #316 allows Gatekeeper to forward granted packets directly to their destinations, which can reduce the load on Grantor servers significantly. However, considering the number of Gatekeeper servers sending traffic to a Grantor is much smaller than the whole IP address space, there is still a high possibility that traffic from more than one Gatekeeper server will be processed by a single core in Grantor.

One feasible solution is to explore [inner RSS](https://doc.dpdk.org/guides/nics/features.html#inner-rss) in Grantor, i.e., Grantor applies RSS to the inner most IP header in the IP-in-IP encapsulated packets, thus the IP pair (client IP, real server IP) is good enough to load balance the traffic among all the GT blocks.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.