[LU-16042] Sanity 155e,155f,155g,155h fail due to no cache size get on Arm64 Created: 25/Jul/22 Updated: 19/Oct/23 Resolved: 08/Aug/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kevin Zhao | Assignee: | Kevin Zhao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | arm-server | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
== sanity test 155e: Verify big file correctness: read cache:on write_cache:on ========================================================== 14:04:03 (1658239443) |
| Comments |
| Comment by Kevin Zhao [ 25/Jul/22 ] |
|
CMD: lustre-xwcomty2-05 awk '/cache/ {sum+=$4} END {print sum}' /proc/cpuinfo Looks like this command can not get the CPU cache size on Arm64 VM.
Some test results: On X86_64 VM: On Arm64: [root@lustre-xwcomty2-01 ~]# awk '/cache/ {sum+=$4} END {print sum}' /proc/cpuinfo [root@lustre-xwcomty2-01 ~]#
The traditional Cache size is not listed in /proc/cpuinfo: |
| Comment by Kevin Zhao [ 25/Jul/22 ] |
|
In Arm64 baremetal, we can get CPU cache size at some platform, such as: Marvell ThunderX2, Hisilicon Kunpeng 920. Marvell THX2 :~$ lscpu But can not get the same info on some older chips like Cavium Thx1, Hisilicon kunpeng 916. Kunpeng 916~$ lscpu While in VM, nothing. Arm64 VM # lscpu
So here it's better to fallback to a pre-set value on Arm64. will work on a fix. |
| Comment by Gerrit Updater [ 25/Jul/22 ] |
|
"Kevin Zhao <kevin.zhao@linaro.org>" uploaded a new patch: https://review.whamcloud.com/48030 |
| Comment by Gerrit Updater [ 08/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48030/ |
| Comment by Peter Jones [ 08/Aug/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 31/May/23 ] |
|
"xinliang <xinliang.liu@linaro.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51179 |
| Comment by Gerrit Updater [ 19/Oct/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51179/ |