1
vote
2answers
37 views

CGroups memory subsystem

I want to know if I can set dynamic limits to the memory subsystem in a cgroup. Currently I have the OOM disabled and a dummy process to test the control group, when the limit in memory is reached, ...
2
votes
1answer
678 views

zram vs zswap vs zcache Ultimate guide: when to use which one

What the hell are they? how are they different (I've written my understanding in an answer below) In the Zswap system, when a page is evicted from the zswap to the actual swap is it stored in a ...
0
votes
0answers
44 views

Memory and the OOM killer problem

I got a laptop with 4GB memory and 14.04, and I see regular OOM KILLER that kills processes and high CPU from swapd but swap is almost not used. But I want to understand this happens and/or how I can ...
0
votes
2answers
117 views

How to use my 6GB of free ram to optimize ubuntu12.04?

I also want to load faster on boot. If possible, can I shift all temp file hard disk operation to RAM?
1
vote
1answer
67 views

Help with ram usage

I have a dual boot laptop with 512 MB RAM running Windows XP/Xubuntu. I try to load student.portal.chalmers.se (a huge bloat site) in Firefox. On XP, I can load the site without any swapping, but ...
1
vote
1answer
89 views

Lubuntu doesn't detect all the RAM (just 1GB of 1,5GB

I installed Lubuntu in a Thinkpad X40 laptop. The OS runs pretty well but it's not detecting (and using) all the RAM installed. The X40 has 512MB of internal RAM memory and an additional module of ...
2
votes
0answers
118 views

RAM upgrade causes firefox, compiz crashes, even kernel panic on HP Pavilion [closed]

I use a HP Pavilion dv6500, and I recently upgraded my ram on my laptop from 1G to 4G, but I keep getting random issues. Here are a few: When watching youtube videos / vlc videos after a long period ...
1
vote
0answers
115 views

Kernel netfiler module not working as expected

I am developing a kernel module for source port translation using netfilter hooks. The code was tested on Mint 3.8.0-31 and Debian 3.7.2-0 both on same Asus machine. And works exactly as expected. ...
0
votes
0answers
152 views

System crashes and reboots randomly while browsing

Please, help me finding out what's happening! I'm totally clueless. I can't seem to find the cause of the reboots in dmesg or any other log. Basically, my system reboots randomly while browsing, ...
1
vote
1answer
913 views

How do I use/enable zcache?

I'd like to try out zcache but I just can't figure out how I would enable it, do I have to compile a new kernel with zcache enabled? I'm running Ubuntu 13.04 64bit
2
votes
1answer
2k views

How and why should I specify mtrr_gran_size/mtrr_chunk_size?

I noticed today that /var/log/dmesg contains several dozen lines with information about something called gran_size and *BAD*gran_size, followed by what appears to be an instruction for me: [ ...
1
vote
0answers
45 views

Linux kernel: page substitution policy

I am supposed to answer for homework which algorithm is implemented in Linux for the virtual memory page substitution and also give some extracts of the code to prove that. After some research I have ...
1
vote
0answers
262 views

I/O memory conflicts

I recently bought a Arctic MC101 barebone (http://www.arctic.ac/en/p/living/office-pc/572/mc101-barebone-a10-4600m.html?c=2296) to run XBMC. I've installed Ubuntu 12.04 on this machine and the latest ...
2
votes
1answer
812 views

64 bit Ubuntu sees half my RAM [closed]

This is on my AMD FX(tm)-4100 Quad-Core Processor (according to /proc/cpuinfo) on a machine with two 4GB RAM DIMMs. BIOS shows 8GB RAM installed. Any help would be appreciated. RAM: Extreme ...
7
votes
1answer
7k views

Only 3.2GB RAM (out of 4GB) usable on 64bit installation. Dell XPS 13 [duplicate]

Possible Duplicate: Why does Ubuntu only show 3GB of RAM? I bought Dell XPS 13 few days ago. Installed 64bit version of ubuntu, and changed kernel to: 3.2.0-29-generic ...
9
votes
2answers
22k views

How do I clean or disable the memory cache?

After the system starts, in a few minutes my memory cache fills up and it starts using the swap. Here's a screenshot of /proc/meminfo. However, if I can disable this process / clean the cache once ...
7
votes
3answers
11k views

For a 32-bit kernel, what are the pros/cons of PAE vs. non-PAE?

I am using Ubuntu 12.04 32-bit. My kernels are PAE kernels. I know these are the kernels we can use for 32-bit OS which have 4 GB RAM, to utilize all 4GB of RAM. My system is a 32-bit system. So I ...
7
votes
2answers
6k views

How can I dump all physical memory to a file?

I am using Ubuntu 11.10, and wish to simply know whether I can dump all physical memory and swap, as due to some kernel restrictions, I can't dd /dev/mem, even as superuser. Is there any workaround or ...
4
votes
1answer
4k views

Why doesn't Ubuntu detect all of my RAM on 64-bit? [duplicate]

Possible Duplicate: Ubuntu only detects 3.1 GB of ram on Ubuntu 64 bit ISSUE IDENTIFIED: BIOS bug. See dmesg output below. Question is: How to resolve this? Change made since 2.6.32 have ...
2
votes
1answer
1k views

kernel mem parameter

As a last resort to my question, I am yet to try the mem parameter of kernel to force it to use the specified amount of RAM. Short Summary - I can only see 3.2GB RAM on a 64bit OS and am not sure ifs ...
1
vote
1answer
180 views

physical storage of the kernel data [closed]

I have some question about physical storage of the kernel data in Linux, I know that the upper 1 GB of the VIRTUAL memory of each process points to the same PHYSICAL location, but this piece of the ...
1
vote
2answers
242 views

Does the kernel 2.6.38-10-generic plug a memory hole?

On my Ubuntu 11.04 64-bit system, this morning the Update Manager wanted to install the 2.6.38-10-generic kernel, so I let it. I haven't noticed any difference except that memory no longer seems to ...