[Bugs] [Bug 1802451] Optimize posix code to improve file creation
bugzilla at redhat.com
bugzilla at redhat.com
Thu Feb 13 07:23:23 UTC 2020
https://bugzilla.redhat.com/show_bug.cgi?id=1802451
--- Comment #1 from Mohit Agrawal <moagrawa at redhat.com> ---
Solution: To improve the same we followed two ways
1) Keep open fd specific to first level directory(gfid[0]) in .glusterfs, it
would force to kernel keep the inodes from all those files in the cache. In
case of memory pressure kernel won't uncached first level inodes. We need to
open 256 fd's per brick to access the entry faster.
2) Use at based call's(like fstatat, lstatat, readlinkat) access relative path
to reduce path based lookup time.
After applying the patch https://review.gluster.org/#/c/glusterfs/+/23783/
performance is improved in
total operation.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bugs
mailing list