[LU-13096] incorrect used_mb in max_cached_mb Created: 20/Dec/19 Updated: 13/Jun/20 Resolved: 17/Mar/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Emoly Liu | Assignee: | Emoly Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
it seems to print incorrect used_mb size in max_cached_mb on large memory client. sdf2{root}1014: free
total used free shared buff/cache available
Mem: 24965051716 139544736 24824112084 39772 1394896 24818988328
Swap: 8388604 0 8388604
sdf2{root}1015: lctl get_param llite.*.max_cached_mb
llite.lustre-ffff96631b3d6800.max_cached_mb=
users: 16
max_cached_mb: 12189966
used_mb: 12157198
unused_mb: 32768
reclaim_count: 0
'Drop cache' doesn't help niether.
sdf2{root}1016: echo 3 > /proc/sys/vm/drop_caches
sdf2{root}1017: lctl get_param llite.*.max_cached_mb
llite.lustre-ffff96631b3d6800.max_cached_mb=
users: 16
max_cached_mb: 12189966
used_mb: 12157198
unused_mb: 32768
reclaim_count: 0
|
| Comments |
| Comment by Gerrit Updater [ 20/Dec/19 ] |
|
|
| Comment by Jeremy Filizetti [ 22/Jan/20 ] |
|
I want to make sure I understand things correctly. This patch doesn't actually attempt to fix the problem does it? On a 64 bit platform as far as I can tell an atomic_long_t is an atomic64_t. Today I was able to confirm that the patch had no effect for us. |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37707 |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
|
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37710 |
| Comment by Gerrit Updater [ 01/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37707/ |
| Comment by Gerrit Updater [ 17/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37710/ |
| Comment by Peter Jones [ 17/Mar/20 ] |
|
Landed for 2.14 |