WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: minimum time to boot tiny core X server  (Read 7250 times)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
minimum time to boot tiny core X server
« on: November 22, 2014, 02:26:48 PM »
What is the minimum time to boot tiny core with default extensions ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: minimum time to boot tiny core X server
« Reply #1 on: November 22, 2014, 02:48:24 PM »
It all depends on the boot media and processor speed.
Just time it.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: minimum time to boot tiny core X server
« Reply #2 on: November 22, 2014, 03:42:11 PM »
Quote
What is the minimum time to boot tiny core with default extensions ?

As gerald_clark said, it depends on the hardware in question.  I've typically seen it in the 12 to 18 second range.  But I just -happen- to be mucking around with a brand new PowerEdge T110 II with a 4 core CPU and 8GB of RAM sooo...

Booting from a Sandisk Cruzer USB stick, Core 6.0 beta 1 with onboot.lst containing
fltk-1.3
Xlibs
Xprogs
Xvesa
jwm
wbar and
aterm

gets me to a desktop in 15 seconds after pressing <enter> on the grub4dos menu.  This is a clean install with no mydata.tgz present.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: minimum time to boot tiny core X server
« Reply #3 on: November 22, 2014, 03:47:50 PM »
Thanks lee but i am shocked my pc core i 5 4 gb ram boot 5 second and after 5 second i am on my desktop means x server starts after 5 second exact

fltk-1.3
Xlibs
Xprogs
Xvesa
jwm
wbar and
aterm

« Last Edit: November 22, 2014, 03:52:07 PM by malikawan »

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: minimum time to boot tiny core X server
« Reply #4 on: November 22, 2014, 08:52:38 PM »
Wellll.... I suppose that would be acceptable.    ;)

Nice hardware.  While I've never had reason to be dissatisfied with the core boot time, I don't think I've ever seen it quite that fast.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: minimum time to boot tiny core X server
« Reply #5 on: November 23, 2014, 06:29:43 AM »
Qemu boots are typically under two seconds for me, with default TinyCore extensions. Real HW has several seconds of BIOS delay in addition to that, but when booting from a HD TC itself still loads in about two seconds.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: minimum time to boot tiny core X server
« Reply #6 on: November 23, 2014, 02:15:17 PM »
yes curaga i have persistence home opt and tce folder 

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minimum time to boot tiny core X server
« Reply #7 on: November 24, 2014, 02:43:13 AM »
For me, a rather messy install of tinycore with a 3.4 MB backup file and 20+ extensions onboot, takes about 50 seconds on a 1.6 GHz netbook. This might seem a lot for tinycore yet it's still way faster than any other OS running on this box (Debian, Mint, Win7). 5 seconds? No. Damn quick? Yes. BTW, TC is used here as the main OS and the others are basically clean and unused so pretty much as light as they can be.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: minimum time to boot tiny core X server
« Reply #8 on: November 24, 2014, 05:26:09 AM »
Misalf, would you be interested in making a bootchart? That netbook sounds like a good data point.

The instructions are on the wiki:
http://wiki.tinycorelinux.net/wiki:bootchart

It's a quick initrd remaster, but you may have to get the bootchart-pl extension manually from 4.x.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minimum time to boot tiny core X server
« Reply #9 on: November 24, 2014, 02:22:17 PM »
That does sound interesting. Actually I just recently edited tc-config for adding a new boot parameter but this creates a three seconds delay which I'd like to get rid of.
Got the extension from 4.x repo. Will try soon.
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minimum time to boot tiny core X server
« Reply #10 on: November 24, 2014, 03:52:52 PM »
Oh, wow! 1323 x 19565 pixels. That is one big pic which doesn't fit on tinypic.com (1600 max).

Here is my modded tiny core booting.
https://db.tt/tAisyzkE

I'll do a clean boot later.
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minimum time to boot tiny core X server
« Reply #11 on: November 24, 2014, 04:27:38 PM »
Now this is with  norestore  boot code and default core.gz (plus bootchart.gz) but less extensions on boot because I'm using theYinYeti's modification of tc-setup to have multiple .LSTs processed at boot like for Xorg and video driver.
https://db.tt/PiD2GnQs

I'm not too sure what really matters here so I'll obey to any advice on how to use bootchart properly in order to get usefull results.
« Last Edit: November 24, 2014, 04:29:41 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: minimum time to boot tiny core X server
« Reply #12 on: November 24, 2014, 04:37:16 PM »
Thanks, lots of good data. Those million busyboxes though :P

Slightly edited version: http://www.pasteall.org/pic/80384

Quick analysis:
- slow IO + slow cpu, it alternates from waiting for one to waiting for the other. HD looks a bit fragmented too, are you using ext4?
- kernel took 1.5s, pretty well for a single-core Atom
- total extension loading dominates at 47s
- however, the actual "loading" part only took 20s of that
- one big extension takes about 5s to load, which one?
- backup restore takes only 2s
- dejavu font caching startup script takes 8s

Recommendations:
- do a full fsck, move to ext4 if not yet on it
- identify that 5s extension with "showapps"
- try to find out what caused so many busybox processes
- edit your copy of dejavu and remove the startup script

Font caching is not essential to running anything, it merely speeds up app startup and font listing (in gimp, word processors, etc.). So you should benefit by removing it from font extensions, and if you find it useful, doing it once in bootlocal.sh so it's backgrounded.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: minimum time to boot tiny core X server
« Reply #13 on: November 24, 2014, 05:31:35 PM »
Thank you for those recommendations,    curaga!

Yes, it's ext4. I think this partition never got fsck'ed. Will do. (:

No idea which tcz takes 5 seconds. Maybe the first one loaded? That would be Xorg-7.7.tcz.

Busybox processes, hmm... Could this be echo's? Used for coloring a potentially appearing message thus it may be called redundantly very often.

I will probably put all fonts I use in a initrd. For now a modified dejavu-fonts-ttf.tcz sits in my upgrade folder waiting for a reboot.
Download a copy and keep it handy: Core book ;)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: minimum time to boot tiny core X server
« Reply #14 on: November 25, 2014, 01:20:37 AM »
 Misalf & curaga can u tell me the full procedure to use the Bootchart perl . i have install the Bootchart perl extention and i know how to remastering core.gz but i dont know how to use or configure Bootchart perl


Thanx in advance