[LU-13309] performance optimizations for brw Created: 28/Feb/20 Updated: 07/Feb/22 Resolved: 11/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andrew Perepechko | Assignee: | Andrew Perepechko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch, performance | ||
| Issue Links: |
|
||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
A few trivial patches avoiding OSS CPU bottleneck with NVME storage will be uploaded shortly. |
| Comments |
| Comment by Gerrit Updater [ 28/Feb/20 ] |
|
Andrew Perepechko (c17827@cray.com) uploaded a new patch: https://review.whamcloud.com/37758 |
| Comment by Shuichi Ihara [ 01/Mar/20 ] |
|
Andrew, what is particular workload you've seen this high CPU usages? |
| Comment by Andrew Perepechko [ 02/Mar/20 ] |
|
sihara, it's an IOR IOPS test, i.e. random read 4 KiB chunk from a 16 GiB file, single OST. OSS configuration: Client configuration: |
| Comment by Gerrit Updater [ 03/Mar/20 ] |
|
Andrew Perepechko (c17827@cray.com) uploaded a new patch: https://review.whamcloud.com/37786 |
| Comment by Andrew Perepechko [ 03/Mar/20 ] |
|
One more patch, brw_stats related, will be uploaded soon. The IOPS test shows ~590000 IOPS -> ~620000 IOPS improvement with the three patches. Either with or without these three patches CPU is the bottleneck, 100% CPU load. The CPU profile shows that the load is spread between various CPU consumers, the most significant of which is memset from the malloc/free paths. So further optimizations can be done by disabling memory poisoning on free (a trivial single liner) and, more interesting, by removing memset(0) from the malloc path, especially for short IO. |
| Comment by Gerrit Updater [ 04/Mar/20 ] |
|
Andrew Perepechko (c17827@cray.com) uploaded a new patch: https://review.whamcloud.com/37795 |
| Comment by Gerrit Updater [ 05/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37758/ |
| Comment by Gerrit Updater [ 13/Mar/20 ] |
|
Andrew Perepechko (andrew.perepechko@hpe.com) uploaded a new patch: https://review.whamcloud.com/37915 |
| Comment by Gerrit Updater [ 31/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37795/ |
| Comment by Gerrit Updater [ 14/Apr/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37786/ |
| Comment by Gerrit Updater [ 11/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/37915/ |
| Comment by Peter Jones [ 11/Jan/22 ] |
|
Landed for 2.15 |