LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Distro with the smallest memory footprint? (https://www.linuxquestions.org/questions/linux-newbie-8/distro-with-the-smallest-memory-footprint-728795/)

Maxxi 05-28-2009 04:11 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 3555548)
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.

lol that's a classic misunderstanding. I never said that I wanted an OS that would fit into just 4MB of RAM. In fact you even quoted the part where I said that the memory footprint is of lesser importance ;) All I asked for was a version that would just provide all necessities to run command line tools without any other waste of RAM and that could address 4GB of RAM. I'm fine with everything that stays below 70MB of RAM usage, because that's basically how far down I can get WinXP Lite's memory usage.

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:

Originally Posted by farslayer
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.

I'm very well aware of that, but compressing time is secondary. The final size is of more importance to me, because that will stay for the years to come. After 3 years it won't matter whether it took 2 weeks or a month to compress the data. Also, I already mentioned that with Finnix I found a version that not just runs in x64-mode, but also supports multiple CPU-cores, so the performance should be just as good as in Windows.



Quote:

Originally Posted by farslayer
You might be better off just installing something like a barebones Debian 64 install as suggested.

Is that the same as Debian Minimal, or are those two separate distros?

i92guboj 05-28-2009 04:44 PM

Quote:

Originally Posted by Maxxi (Post 3555841)
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 ;)

Yep, and that's the size that you get with a compressed image, which is what the stuff under /boot is. Of course, the image is uncompressed on your ram, so, it's larger than you think.

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.

Quads 05-28-2009 10:06 PM

Quote:

Originally Posted by farslayer (Post 3555727)
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.

That's an idea. Just install ubuntu and start tearing pieces out of it.

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?

H_TeXMeX_H 05-29-2009 03:22 AM

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 ?

Maxxi 05-29-2009 07:12 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3556280)
Um, some of those things you quoted are not my quotes ... I didn't say those things.

Oops, you're right. I corrected that now :)


Quote:

Originally Posted by H_TeXMeX_H (Post 3556280)
So then you want to run these smaller distros in virtual machines or something ?

No, that would be a waste of ressources and processing power and I need all that I can get. They are supposed to function as an alternate minimalistic operating system, where a single tool can address as much RAM as necessary without having to take the left overs from more memory intense operating systems.


All times are GMT -5. The time now is 03:29 AM.