WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tiny core linux - how tiny is it actually?  (Read 3545 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
tiny core linux - how tiny is it actually?
« on: January 05, 2010, 09:01:14 PM »
I was working with partedmagic yesterday. I noted that the distribution is around 50MB, and that includes Xorg, LXDE, Google Chrome browser plus a large number of other apps, with a very polished interface.

So I started to put together a fresh tcl with just a very limited number of extensions, to see how far I can get with around 50MB.

Answer: Not very far at all. I am already over 50MB and haven't even put Xorg in the mix.

How does this work?  Why is a working useful tcl actually so large when adding extensions? ???

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tiny core linux - how tiny is it actually?
« Reply #1 on: January 05, 2010, 09:48:54 PM »
Tiny Core and Micro Core is about choices.
If you choose to have large applications then you will have heavy demands.
It has already been stated that some run Tiny Core on very low end hardware.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tiny core linux - how tiny is it actually?
« Reply #2 on: January 05, 2010, 09:59:08 PM »
Perhaps I didn't make it clear that I put the same apps into the fresh tcl than what is found in partedmagic because I wanted to compare apples with apples.

Somehow, the partedmagic squashfs with all the apps in there is much smaller than tcl with extensions in /tce.

Could it be all the libs? Or are the apps themselves optimised?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tiny core linux - how tiny is it actually?
« Reply #3 on: January 06, 2010, 01:07:33 AM »
I have read that partedmagic uses squashfs-lzma for it's compression, which yields tighter compression at the expense of performance.  Not only do we use gzip compression, which yields faster performance, but we use 4kb block size as opposed to the standard 128kb block size.  

4kb block size along with gzip compression makes for tcz extensions that can be a bit larger than an alternative lzma compressed 128kb block ones.  But the gain is faster cpu performance due to gzip, and lower memory use due to the smaller block size.  We like small, but not at the expense of performance and the support of modest hardware.

Oh, and Partedmagic 4.8 is 73mb, not 50mb.
« Last Edit: January 06, 2010, 01:09:05 AM by Jason W »

Offline spence91

  • Jr. Member
  • **
  • Posts: 80
Re: tiny core linux - how tiny is it actually?
« Reply #4 on: January 06, 2010, 05:22:45 AM »
In comparison to other Linux distributions and Windows; i believe TCL is extremely tiny.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: tiny core linux - how tiny is it actually?
« Reply #5 on: January 06, 2010, 03:55:30 PM »
Aside from the obvious tiny core means that the CORE is tiny, not whatever you add to it, disk space is cheap nowadays, and more to the point, the pristine boot and exceptional speed are what I imagine most of us appreciate the most in tiny core anyway.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: tiny core linux - how tiny is it actually?
« Reply #6 on: January 06, 2010, 04:25:20 PM »
Quote
Tiny Core and Micro Core is about choices.

it's exactly this. more than speed, disk space saved and so on, tc/mc is just about choices. and that's the right entry to make speed and disk space saved footnotes.

Offline Magil

  • Newbie
  • *
  • Posts: 13
Re: tiny core linux - how tiny is it actually?
« Reply #7 on: January 07, 2010, 03:49:48 AM »
Did you remaster TCL? And did you experiment with higher levels compression? Also at what size do you get with the same programs as parted magic?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tiny core linux - how tiny is it actually?
« Reply #8 on: January 07, 2010, 06:22:14 AM »
I only took a tcl and started adding extensions to /tce, same ones as are found in partedmagic. But I haven't concluded the experiment. I am still looking at this in more details.

Offline tclfan

  • Sr. Member
  • ****
  • Posts: 286
Re: tiny core linux - how tiny is it actually?
« Reply #9 on: January 07, 2010, 09:22:20 AM »
I have read that partedmagic uses squashfs-lzma for it's compression, which yields tighter compression at the expense of performance.  Not only do we use gzip compression, which yields faster performance, but we use 4kb block size as opposed to the standard 128kb block size.  

4kb block size along with gzip compression makes for tcz extensions that can be a bit larger than an alternative lzma compressed 128kb block ones.  But the gain is faster cpu performance due to gzip, and lower memory use due to the smaller block size.  We like small, but not at the expense of performance and the support of modest hardware.

Oh, and Partedmagic 4.8 is 73mb, not 50mb.
I like the approach TCL is using, to minimize memory requirements and maximize performance. If it takes a few Mb more, this is no issue. Modular architecture, pristine state, low memory requirements, high performance and fast boot, this is the key. I hope it continues this strategy...
What is the difference in size comparing to partedmagic with the same set of apps, anyway?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: tiny core linux - how tiny is it actually?
« Reply #10 on: January 08, 2010, 03:20:54 PM »
Since Parted Magic's main goal is partition editing with utilities like a web browser for info searching, I think it doesn't include things like accelerated 3d which is a big part of the Xorg extension.

Et cetera
The only barriers that can stop you are the ones you create yourself.