[Bug 202441] Possibly vfs cache related replicable xfs regression since 4.19.0 on sata hdd:s

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=202441

Sami Farin (hvtaifwkbgefbaei@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hvtaifwkbgefbaei@xxxxxxxxx

--- Comment #28 from Sami Farin (hvtaifwkbgefbaei@xxxxxxxxx) ---
[....] When vfs_cache_pressure=0, the kernel will never
        reclaim dentries and inodes due to memory pressure and this
        can easily lead to out-of-memory conditions. [....]

I wish that was true. I have it set to 0, and I have 32 GiB RAM of which 23 GiB
free when doing the test using XFS filesystem:

$ du -sh
$ sleep 60
# (dentries forgotten, the next du takes a minute to run (SATA rust platter
disk))
$ du -sh

kernel 5.10.80. No swap.

MemTotal:       32759756 kB
MemFree:        23807992 kB
MemAvailable:   23774316 kB
Buffers:              24 kB
Cached:           765240 kB
SwapCached:            0 kB
Active:           290420 kB
Inactive:        3859348 kB
Active(anon):     168968 kB
Inactive(anon):  3720380 kB
Active(file):     121452 kB
Inactive(file):   138968 kB
Unevictable:       18304 kB
Mlocked:           18304 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                56 kB
Writeback:             0 kB
AnonPages:       3391352 kB
Mapped:           310564 kB
Shmem:            496832 kB
KReclaimable:     196444 kB
Slab:            2197440 kB
SReclaimable:     196444 kB
SUnreclaim:      2000996 kB
KernelStack:       25728 kB
PageTables:        67676 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    15855588 kB
Committed_AS:   17433636 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      392660 kB
VmallocChunk:          0 kB
Percpu:            43264 kB
HardwareCorrupted:     0 kB
AnonHugePages:   1015808 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:     512
HugePages_Free:      512
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:         1048576 kB
DirectMap4k:    27877496 kB
DirectMap2M:     5607424 kB
DirectMap1G:     1048576 kB

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux