All Questions
Tagged with virtual-memory linux
44
questions
2
votes
0
answers
171
views
Is it possible to use explicit huge pages in redis
I know that Redis does not work well with THB (Transparent Huge Pages),
but is it possible to run Redis using explicit 2MB or 1GB HugePages?
Unfortunately googling the issue always gives a ton of info ...
2
votes
1
answer
568
views
calculating memory used by "ext4_inode_cache" from /proc/slabinfo?
On Linux I have two ways to get the memory used by ext4_inode_cache. First is using the slabtop command which gives me "CACHE SIZE" information too:
# slabtop -o -s c | grep -E '(...
0
votes
0
answers
167
views
why physical memory NOT contiguous?
Background: I was running a kernel module that give me some info about kernel virtual address space which told me that Linux lowmem region is approximately 7.24 GB. lowmem region is supposed to be a 1:...
1
vote
1
answer
941
views
Why do I seem to run out of memory when at 80% memory usage instead of 100%
Both on windows and Linux machines it seems as if memory usage tops out around 80% according to resource monitors. Once memory gets around 80% disk IO starts to shoot up and I can hear the computers ...
2
votes
1
answer
430
views
What is the history behind `ulimit -m` / RLIMIT_RSS not working?
According to man setrlimit (which is what man ulimit directs me to),
RLIMIT_RSS
Specifies the limit (in bytes) of the process's resident set (the number of virtual pages resident in RAM). ...
1
vote
2
answers
2k
views
How to identify PIDs which are writing to SWAP memory in Linux
Server is using swap memory when there is enough RAM is available because of which users are facing intermittent slowness and performance issues.
In the free command I can see that there is 6927mbs of ...
2
votes
0
answers
989
views
linux kernel virtual space , lowmem , highmem , RAM size
I need some help understanding the exact relations between the linux kernel virtual space , specifically LOWMEM area , and the available RAM size as seen by the kernel.
after reading this article: ...
1
vote
0
answers
287
views
How does Kernel allocate COMMITTED VIRTUAL MEMORY to a Process
It would be really helpful for me if someone can answer my question.
How does Kernel allocate COMMITTED VIRTUAL MEMORY to a process (jvm process)
what criteria is used to determine how much ...
0
votes
0
answers
55
views
Can a same disk be temp for windows and linux?
Is it possible to make a SSD be temp and virtual memory for both windows and linux, without wasting half of the size for the other OS, and be SSD-friendly?
1
vote
0
answers
56
views
How guarantee a responsive Desktop using cgroup memory limit
I would like to setup a system with limited memory (raspberry pi) in such a way that application can't cause the desktop (x11, LXDE, openbox, mouse driver, video card driver) to be unresponsive.
When ...
1
vote
1
answer
4k
views
JVM Heap size as a ratio of system physical RAM (Weblogic)
How much should the max JVM heap size be set for a specific size of Physical RAM. e.g. With 8GB RAM, I can set the MAX heap size for a server app as 3GB.
This question is specific to Java 1.8 and a ...
2
votes
1
answer
2k
views
What am I seeing in htop on Linux?
Not sure if this is the right place for this question but I'll ask it anyway and see where it lands!
I have a node process running on Centos and when I run htop, I see a whole bunch of processes that ...
2
votes
1
answer
748
views
GNU screen sessions taking very high virtual memory
My GNU screens are taking up a lot of virtual memory. What could be the reason behind this? I have confirmed that none of them have more than 5 tabs in them. I noticed this when i got 'fork: Cannot ...
1
vote
1
answer
2k
views
overcommit_memory and overcommit_ratio
Here is my current setting:
vm.overcommit_ratio = 50 (default)
vm.overcommit_memory = 2
And Current Memory Usage:
[localhost~]$ free -g
total used free shared ...
0
votes
1
answer
176
views
Will increasing physical RAM help in less virtual memory usage and avoid virtual memory bottlenecks in Linux?
In Linux, for a 8GB RAM server, when could we say virtual memory is actually used more? I.e., what is the number of page faults which says system is using more virtual memory?