Operating System - Linux
1753379 Members
5366 Online
108792 Solutions
New Discussion юеВ

Re: Question on adding more CPUs and RAMs

 
Teddy_2
Occasional Contributor

Question on adding more CPUs and RAMs

What I need to do when I add more RAMs or more CPUs to my linux server? If I rebuild the kernel, what is the difference between the kernel*i686.config, kernel*i686-enterprise.config & kernel*i686-smp.config. How can I allocate more memory to the kernel? Please help. Thanks a lot
3 REPLIES 3
Vincente Fernandes
Valued Contributor

Re: Question on adding more CPUs and RAMs

You also need to increase you swap increase due to increase in your ram size. The swap size is usually 2xRAM.
Vincente Fernandes
Valued Contributor

Re: Question on adding more CPUs and RAMs

I guess the system should be able to detect the newly installed RAM & CPU by default when you reboot the system.
Milo van der Zee
Valued Contributor

Re: Question on adding more CPUs and RAMs

Hello,

you need to compile an SMP kernel to be able to use the multiple CPU's. So probably the *SMP.config should work. I always prefer to set all options myself because then you also get rid of all rubish. By default the configs support all hardware configurations and you probably only need very little of them.
To be able to use very large amounts of memory you have to set the LILO var mem=128M for a 128M system. by default (still true?) it uses only 64M.