---
title: 案例
description: "- Arm开启P2P后，LAMMPS应用在2个GPU的性能提升100%，4个GPU性能提升249%。"
url: https://www.hikunpeng.com/document/detail/zh/perftuning/gputuing-wp/kunpenggpu_19_0020.html
sourcePath: /source/zh/perftuning/gputuing-wp/kunpenggpu_19_0020.html
indexId: b1202b512a54ec14918b00fe805db41757591693e6bcf27824a93c537229873357
---
# 案例

- Arm开启P2P后，LAMMPS应用在2个GPU的性能提升100%，4个GPU性能提升249%。
- Arm开启P2P后，GROMACS应用在1个GPU和2个GPU性能与x86持平，4个GPU性能相比x86提升9.4%


以下是Amber和LAMMPS开启P2P的加速效果如表1所示。


**表1 P2P加速效果**

| 卡数 | 卡号 | Amber | Amber | Amber | LAMMPS | LAMMPS | LAMMPS |
| --- | --- | --- | --- | --- | --- | --- | --- |
|  |  | P2P关 | P2P开 | 性能提升 | P2P关 | P2P开 | 性能提升 |
| 1卡 | 1卡 | 134 | 134 | +0% | 130 | 132 | +0% |
| 2卡 | 0,1 | 27 | 125 | +362% | 86 | 229 | +166% |
| 2卡 | 1,3 | 26 | 120 | +361% | 82 | 228 | +178% |
| 2卡 | 2,3 | 27 | 125 | +362% | 89 | 228 | +156% |
| 4卡 | 4卡 | 22 | 89 | +280% | 99 | 387 | +290% |
