[LU-9417] xattr cache memory usage can be reduced Created: 28/Apr/17  Updated: 16/Apr/18  Resolved: 19/Jul/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.2

Type: Improvement Priority: Major
Reporter: Andrew Perepechko Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-9856 NULL pointer dereference in mdd_xattr... Resolved
is related to LU-10912 avoid triggering LU-9856 for older se... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

xattr cache refill requests preallocate too large memory buffers as calculated based on maxeadatasize returned by the MDS. If we use smaller buffers, we can reduce memory pressure.

A patch will be uploaded shortly.



 Comments   
Comment by Gerrit Updater [ 28/Apr/17 ]

Andrew Perepechko (andrew.perepechko@seagate.com) uploaded a new patch: https://review.whamcloud.com/26887
Subject: LU-9417 mdc: excessive memory consumption by the xattr cache
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: dc3cd18f08273a4da4831bc321eeefef41a29d3e

Comment by Gerrit Updater [ 19/Jul/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26887/
Subject: LU-9417 mdc: excessive memory consumption by the xattr cache
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 94f080b395d6517e8da06a945bb10b0bfe69ad78

Comment by Peter Jones [ 19/Jul/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 26/Jul/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/28223
Subject: LU-9417 mdc: excessive memory consumption by the xattr cache
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: a344e0de4ae2b481dc86564782ca6a61600f17f6

Comment by Gerrit Updater [ 11/Oct/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28223/
Subject: LU-9417 mdc: excessive memory consumption by the xattr cache
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: d737064716efd624ccca3f401e89a98b1767651f

Generated at Sat Feb 10 02:26:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.