AltraMayor / AltraMayor/gatekeeper

Change the core to port mapping in GK

Đang mở
#366 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
C
Star
1.6k
Fork
252
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In the MICA II paper "Architecting to Achieve a Billion Requests Per Second Throughput on a Single Key-Value Store Server Platform”, one optimization technique they used is to change the core to port mapping to reduce #queues so that it increases the LLC cache hit rate:

- Choice#1: In the original MICA paper, each server core performs network I/O on all NIC ports in its NUMA domain. Thus, the total number of NIC queues in the system is ``NumCores * NumPorts``.

- Choice#2: In the MICA II paper, each server core talks to only one port, and the core to network port ratio is ``2:1``. Thus, the total number of NIC queues in the system is ``2 * NumPorts``.

In our current implementation [here](https://github.com/AltraMayor/gatekeeper/blob/master/gk/main.c#L2358-L2369) and [here](https://github.com/AltraMayor/gatekeeper/blob/master/lib/net.c#L372-L377), we are using the choice#1. Currently, as we are using only one port for test (10Gbps test), so the total number of NIC queues is small, which shouldn’t affect the LLC cache hit rate. To test Gatekeeper on 100+Gpbs environment, this optimization could be critical.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.