[PATCH 0/2] configfs: reduce memory consumption by symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A SCSI target configuration of 2 ports, 650 backstores, 1200 ACLs consumes
170 GB RAM.
As it turned out that is because configfs allocates PAGE_SIZE for symlink
path. In PowerPC architecture a page is of 64 KB size and millions of
symlinks become hundreds of used GB.

This patch series reduses the usage of memory by symlinks in configfs to a
minimal possible amount - from of 64KB down to ~20 Bytes.


Dmitry Bogdanov (2):
  configfs: reduce memory consumption by symlinks
  configfs: make a minimal path of symlink

 fs/configfs/symlink.c | 75 ++++++++++++++++++++++++++-----------------
 1 file changed, 46 insertions(+), 29 deletions(-)

-- 
2.25.1





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux