stream303
May 3rd, 2008, 08:48 AM
I'm not a kernel guy, and I have been wondering about something:
Let's say that I have installed Ubuntu with only 256 mb of memory, and after a good install, I later upgrade the ram to 1gb.
Normally, I know to change the size of my swap file to be in accordance with this new amount of ram, but my question isn't about the swap file size - it is about the default kernel configuration files.
During installation, does the Ubuntu installer make certain configurations for the kernel based upon what amount of ram it sees at first, and does it later detect any additional ram after the fact and change any aspects of the kernel automatically?
Or is it the case that even though everything seems to work ok with 1gb ram, the kernel configurations are still stuck at what I first used to install with, ie 256mb ram? (it's not the amount, but any kernel configuration files that I'm wondering about)
I don't know what files to look at to see if the kernel is aware of the additional memory, other than just the fact that there is now more to use, which I verify with free -m on the commandline.
Any pointers would be great!
Let's say that I have installed Ubuntu with only 256 mb of memory, and after a good install, I later upgrade the ram to 1gb.
Normally, I know to change the size of my swap file to be in accordance with this new amount of ram, but my question isn't about the swap file size - it is about the default kernel configuration files.
During installation, does the Ubuntu installer make certain configurations for the kernel based upon what amount of ram it sees at first, and does it later detect any additional ram after the fact and change any aspects of the kernel automatically?
Or is it the case that even though everything seems to work ok with 1gb ram, the kernel configurations are still stuck at what I first used to install with, ie 256mb ram? (it's not the amount, but any kernel configuration files that I'm wondering about)
I don't know what files to look at to see if the kernel is aware of the additional memory, other than just the fact that there is now more to use, which I verify with free -m on the commandline.
Any pointers would be great!