LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2004, 12:52 AM   #1
shrey_j
Member
 
Registered: Jul 2004
Location: Delhi
Distribution: FC3, RH 9.0
Posts: 39

Rep: Reputation: 16
Exclamation Linux kernel Bootup Time


Hi All,

I am trying to find out how much time a particular linux machine takes to boot up. Bootup mean to come to a prompt, that is including time taken to switch on services by init process.
Now the problem is:
1. I know the basic bootup sequence, i.e. all those setup.s to start_kernel() etc. etc. Problem comes in creating a variable that can store time through this sequence. When initially kernel start we do not have the jiffies counter so what I thought of doing is get the current time value from BIOS call:
--> I do not know is this technique right
--> I want to know the BIOS call for this or any other service which can do the same
--> Even if I create a variable and push the value into it, can I maintain it through out the booting process

2. What is the difference between jiffies, RTC, and system clock. Which among them corresponds to the hardware clock.

I have to figure out what are the bottlenecks in the system bootup process on the basis of time, and this is where the above strategy has been selected.

--> If there is any other better way, please do suggest.

Thanks in advance
shreyansh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux bootup: kernel panic: pivot_root failed evansg Fedora 4 10-24-2007 09:56 AM
fsck delay reported bootup time? rmang Linux - General 2 10-30-2005 05:29 PM
*LONG* bootup time Riallin Slackware 9 05-06-2005 02:55 PM
Getting wep key and essid setup on bootup in linux kernel info here if you need it MaximalSbcYahoo Debian 1 04-10-2005 03:12 PM
How to start a program at bootup time? shilpig Linux - Software 6 09-28-2004 01:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration