The virtual-memory tag has no wiki summary.
1
vote
2answers
73 views
TLB cache flusing when a page is swapped out
I recently heard that Linux simply flushes the TLB cache when the corresponding data in that physical address is swapped out, resulting in underutilization of the TLB. I don't know whether all OSes do ...
8
votes
1answer
4k views
Getting information about a process' memory usage from /proc/pid/smaps
For a given process in /proc/<pid>/smaps, for a given mapping entry what are:
Shared_Clean
Shared_Dirty
Private_Clean
Private_Dirty
Is Shared_Clean + Shared_Dirty the amount of memory that ...
1
vote
2answers
198 views
Discrepancy between reported used memory and sum of application memory usage
I'm running a desktop system that quite regularly suffers from lack of memory, this prompted me to investigate what causes the issue in the first place.
Problem is, there's no single process that ...
5
votes
1answer
323 views
User Kernel split in 64bit Linux
What is the default user/kernel split in the 64bit linux ?
I read Documentation/x86_64/mm.txt (which someone pointed out), but I could not make out. Can somebody provide a direct answer (something ...
2
votes
3answers
1k views
How is paging managed in the absence of swapping?
How is paging managed in the absence of swapping. If that is the case, how will a page fault be managed?
What I meant is, if there is no availability for swapping, then how is Paging managed. I ...
1
vote
1answer
2k views
Setting /proc/sys/vm/drop_caches to clear cache
As part of doing some cold cache timings, I'm trying to free the OS cache. The kernel documentation says:
drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and
inodes ...