SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just upgraded my "Emachines e520" computer to 4 GB RAM (the maximum) today. But Slackware only sees 3 GB (according to KInfoCenter) I checked my BIOS, and it sees all 4 GB of RAM in the machine. So it seems to be a problem with Linux. I've read that this is fairly common with some Linux users, and that the kernel's usually part of the problem. Now, I just need the knowledge to fix the problem
And in that thread this post is particularly relevant. If the existing memory usage pattern isn't causing swapping with the existing kernel, enabling HIGHMEM64G will probably slow the system.
As milkycow mentioned, enabling HIGHMEM64G results in a 3 to 6% time penalty on memory access. The only memory usage pattern which would gain would be if the system is actually using > ~3.5 GB and thus swapping. Even then, depending on specific usage, the time penalty might be more significant than avoiding swapping. Different story if the system is swapping > 2 GB and 6 GB RAM are fitted but with only 4 GB RAM fitted it is questionable whether enabling HIGHMEM64G would improve performance.
Okay, I've read the topic and the wiki page. I'm obviously gonna have to compile/build/whatever a new kernel. I'd prefer to have someone guide me through that, because I'm a complete newbie to most of that >.>
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Rep:
download the kernel sources
extract
cd to the directory
type make menuconfig at the terminal
look at evrey option and check it or uncheck to your desires
make sure to enable large ram support (under processor and features i think) (ether 16 or 64 GB)
save / exit
type make
...WAIT...
setup your kernel for bootloading
1. Ensure your lilo.conf has a proper entry directly to the current kernel and not just a symlink! (huge is always a good option as a failsafe)
2. IF you don't know how to use an initrd image, LEARN NOW. read /usr/doc/mkinitrd-1.3.4/README.initrd and know why you are making one for the "general" labeled kernel
3. Configure your kernel using your current configure script in /boot
configure two options (or more if you need to)
General setup > Local Version - ad something like "-mine" or anything you want. This way your pre installed modules will not be overwritten.
Toggle the Ram=>4gig option
4. Install the modules and kernel. Make sure the file names in /boot are something that mark it as yours
vmlinuz-<your build version>-2.6.29.6<Local Version Tag>
5. Make an initrd image using -k 2.6.29.6<Local Version Tag>
6. Make a new entry in lilo.conf and run lilo
7. Reboot and pray.
8. Rebuild external kernel modules for things like nvidia and virtual box
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.