Distro with the smallest memory footprint?
Hey guys,
I'm looking for an operating system with an extremely small memory footprint that can run either windows or linux command line apps. I would settle for a DOS-prompt, but the fact that it can't address all of my memory rules it out, so I turned to Linux. I downloaded Slitaz and Damn Small Linux (both latest versions). Damn Small Linux doesn't recognize my southbridge and therefor won't even boot. I tested it in a virtual environment, where it actually worked and with only 23MB of RAM usage it seems to be perfect for my need. Slitaz booted without a problem, but could only address 3 of my 4GB RAM. Also, with 68MB it used three times as much memory than DSL. So my question to all you Linux gurus is: Which other distro has an extremely small memory footprint and can address at least 4GB of RAM? If it was an x64-version that would be even better. Any suggestions? |
Hi and welcome to LQ
You need to have x68_64 architecture and system supporting it to be able to address full 4GB of RAM. If you have only x86 architecture, you wouldn't be able to do it no matter what system you use. I would suggest build your own distro with LFS so you can minimize the memory usage as much as you want but they support only x86 architecture. So I actually don't have any particular distro to suggest. Maybe someone else will. |
Hi shpenat,
thanks for your answer. Of course I have a computer with x64 architecture, or else I wouldn't have stuck 4GB of RAM into it, or asked specifically for an x64-distro ;) Your suggestion with LFS is great, but that goes far beyond what I need. First of all I'm on 56k, so downloading a large distro just to slim it down myself later is no option. DSL and Slitaz were all small enough to grab in a decent amount of time. Also, I haven't been working in Linux for a decade now, so I want to keep it simple. Using LFS would require me to look far deeper into the workings of Linux than I care to. I don't want to study chemistry, just because I need to take a pill. After all, I just want to run a simple, memory-hungry commandline tool. Building a custom Linux for that is just way overdoing it. In the meantime I found Tiny Core, which is an even more slimmed down distro, but it also seems to be unable to access more than 3GB of RAM. After browsing through tons of pages, it seems that the Linux community sticks rather to x86 architecture. I can't believe that there isn't at least one slim distro that has x64-compatibility, or support for 4GB RAM in a x86 environment. I'll search some more, but as it looks now, I'll be much better off using an XP x64 lite. |
Maybe try basic installation of ArchLinux or Debian (without any graphical interface). We used ArchLinux on machine used for numerical simulations. But 56k modem is quite limiting factor. So if you know win64XP will do fine, use them. There is no need to use linux at all cost :)
|
This has been asked before, but in a different way, anyway check here:
http://www.linuxlinks.com/Distributions/Floppy/ http://www.linuxlinks.com/Distributi...Distributions/ Here's one that supposedly needs only 4 MB RAM: http://natld.berlios.de/ |
Just out of curiousity, what are you doing with this machine? I'm just curious what you are doing with a powerful machine like that that would cause you to want virtually no operating system.
|
I to say try a minimum debian 64 and install only what you need. Even though you're using dialup, maybe you can do your downloading at night when you're sleeping.
http://cdimage.debian.org/debian-cd/...64-netinst.iso Also there are others such as Archlinux & Crux to name a few. |
H_TeXMeX_H: I know that similar questions were already raised, but this one is special in requiring x86_64 architecture. Most of these small distros (if not all) are designed with old machines (i386) in mind. Nobody expects anybody with 4GB RAM to require minimalistic OS. I personally really don't know any existing minimalistic distribution with x86_64 support.
|
Of course then the question is why ? Why do you need such a thing ? There is no need for such a thing, which is probably why nobody made it.
|
Quote:
|
Thanks for all your answers guys!
Quote:
Quote:
Quote:
Quote:
Oh and I found a post at the Tiny Core forums, where someone showed interest re-compiling it for x64 architecture. So it's really just a matter of time until people like me will find what they need ;) Quote:
Just for the record, in case someone has a similar request in the future: I tried DSL, DSL-N, Slitaz, Puppy, TinyCore, Syslinux, and some other minor distros and all were limited to 3GB RAM. In this case, an x86 distro would have sufficed, as those can actually address 4GB. I found some of those, but they were all in the realms of 600+MB, so they were no option. |
Quote:
But then why do you want support for 4 GB of RAM if you want to run it with 4 MB of RAM ? Was there some typo somewhere ? I think you need to think about what you really want a bit more. |
Quote:
|
Make sure to compile it for compact size, there is such an option ... but my money's against you :)
|
So by the time you are running a 2.2 or 2.4 kernel, you'll not take advantage of the features in your CPU that would boost your performance. So what performance you gain in RAM you may loose in CPU capability probably hurting yourself more.
You might be better off just installing something like a barebones Debian 64 install as suggested. You might want to do a search for 32 bit vs 64 bit Linux compression benchmarks |
Quote:
Oh and just a remark regarding the massive kernel size. When I checked out DSL I found that it used an approx 900kb 2.4 kernel. May be I'm wrong, after all I'm not Linux savvy at all, but it seems that they compiled a very slim version of the original 2.4 kernel. So with some work an extremely slim 2.6 kernel version might be possible. Just let me stress once more that it's not what I'm looking for ;) Quote:
Quote:
|
Quote:
And besides that, you have a good bunch of modules under /lib/modules/, which are also part of your kernel and need to be loaded before you can use them. To get a realistic measure you would need to build all of these statically into your kernel, and then look at the uncompressed image, and not vmlinuz or similar images. |
Quote:
What is there to gain by stripping it down so small? Once you have all of this ram at your disposal, what is a few mb? |
Um, some of those things you quoted are not my quotes ... I didn't say those things.
So then you want to run these smaller distros in virtual machines or something ? |
Quote:
Quote:
|
All times are GMT -5. The time now is 05:53 AM. |