Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Dec 14, 2023
1 parent e3f831a commit 48022ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 50 deletions.
4 changes: 3 additions & 1 deletion docs/usage/install/cloud/get-started-aws-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ nginx-lb-64fbbb5fd8-wkzf6 1/1 Running 0 10s 172.31.28.31 m

借助上文我们创建的 [AWS NAT 网关](./get-started-aws-zh_CN.md#AWS环境),我们的 VPC 私网已可实现访问互联网。

> ~# kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com
```
kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com
```
#### 负载均衡流量入口访问(可选)
Expand Down
4 changes: 3 additions & 1 deletion docs/usage/install/cloud/get-started-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ nginx-lb-64fbbb5fd8-wkzf6 1/1 Running 0 10s 172.31.28.31 m

With the [AWS NAT gateway](./get-started-aws.md#aws-environment) created in the previous section, our VPC's private network can now be accessed from the internet.
> ~# kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com
```
kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com
```
#### Load Balancer Ingress Access (Optional)
Expand Down
27 changes: 2 additions & 25 deletions docs/usage/rdma-ib-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,35 +204,12 @@

开启一个终端,进入另一个 Pod 访问服务:

```shell
# 能看到宿主机上的所有 RDMA 网卡
~# rdma link
link mlx5_8/1 subnet_prefix fe80:0000:0000:0000 lid 7 sm_lid 1 lmc 0 state ACTIVE physical_state LINK_UP

# 访问对方 Pod 的 RDMA 服务
# 成功访问对方 Pod 的 RDMA 服务
~# ib_read_lat 172.91.0.115
---------------------------------------------------------------------------------------
RDMA_Read Latency Test
Dual-port : OFF Device : mlx5_8
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
PCIe relax order: ON
ibv_wr* API : ON
TX depth : 1
Mtu : 4096[B]
Link type : IB
Outstand reads : 16
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0x07 QPN 0x012e PSN 0x7eb74 OUT 0x10 RKey 0x030509 VAddr 0x005560e826f000
remote address: LID 0x08 QPN 0x00ee PSN 0x7eb74 OUT 0x10 RKey 0x020509 VAddr 0x005560f99dc000
---------------------------------------------------------------------------------------
#bytes #iterations t_min[usec] t_max[usec] t_typical[usec] t_avg[usec] t_stdev[usec] 99% percentile[usec] 99.9% percentile[usec]
Conflicting CPU frequency values detected: 1000.085000 != 2200.000000. CPU Frequency is not max.
Conflicting CPU frequency values detected: 1000.383000 != 2200.000000. CPU Frequency is not max.
2 1000 1.84 12.20 1.90 1.97 0.47 2.24 12.20
---------------------------------------------------------------------------------------

## 基于 IPoIB 的常规网卡

Expand Down
24 changes: 1 addition & 23 deletions docs/usage/rdma-ib.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,30 +206,8 @@ The following steps demonstrate how to use [IB-SRIOV](https://github.com/k8snetw
~# rdma link
link mlx5_8/1 subnet_prefix fe80:0000:0000:0000 lid 7 sm_lid 1 lmc 0 state ACTIVE physical_state LINK_UP
# visit the service on the other POD
# succeed to visit the service on the other POD
~# ib_read_lat 172.91.0.115
---------------------------------------------------------------------------------------
RDMA_Read Latency Test
Dual-port : OFF Device : mlx5_8
Number of qps : 1 Transport type : IB
Connection type : RC Using SRQ : OFF
PCIe relax order: ON
ibv_wr* API : ON
TX depth : 1
Mtu : 4096[B]
Link type : IB
Outstand reads : 16
rdma_cm QPs : OFF
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
local address: LID 0x07 QPN 0x012e PSN 0x7eb74 OUT 0x10 RKey 0x030509 VAddr 0x005560e826f000
remote address: LID 0x08 QPN 0x00ee PSN 0x7eb74 OUT 0x10 RKey 0x020509 VAddr 0x005560f99dc000
---------------------------------------------------------------------------------------
#bytes #iterations t_min[usec] t_max[usec] t_typical[usec] t_avg[usec] t_stdev[usec] 99% percentile[usec] 99.9% percentile[usec]
Conflicting CPU frequency values detected: 1000.085000 != 2200.000000. CPU Frequency is not max.
Conflicting CPU frequency values detected: 1000.383000 != 2200.000000. CPU Frequency is not max.
2 1000 1.84 12.20 1.90 1.97 0.47 2.24 12.20
---------------------------------------------------------------------------------------

## IPoIB

Expand Down

0 comments on commit 48022ca

Please sign in to comment.