The Sok project looks far from completion, I am certain that the project wont' get completed or wouldn't achieve results that I thought it would achieve, before I started the Project. Clearly I didn't have much Idea or thought before starting the project, and my mentor too was clueless at some points, like the part where I had to find the time spent in each of the starting programs and modules. He had suggested using a function like clock(), in each of the classes and then subsequently finding the difference between each script. Something line clock(arg1) - clock(arg2). Clearly it is a Herculean task in magnitude as well as complexity. So I have resorted back to using the good old bootchart. Well its true that it wont give me a very clear time difference, but atleast it would give me a rough idea. So I installed the bootchart application. From :-
Apparently there is a newer version
Sadly I didn't find any difference in their working. For anyone still wondering what is a Bootchart, a Bootchart is a tool for performance analysis and visualization of the
GNU/Linux boot process. Resource utilization and process information are
collected during the boot process and are later rendered in a
PNG,
SVG or
EPS encoded chart. Bootchart provides a shell script to be run by the kernel in the
init
phase. The script will run in background and collect
process information, CPU statistics and disk usage statistics from the
/proc
file system. The performance data are stored in memory
and are written to disk once the boot process completes.
Obviously you can't optimise or reduce the time spent by the events unless you know where the time is spent, hence bootchart gives you some idea. On having downloaded the bootchart files from either of the above sources. Browse to the extracted directories and nstall them by :-
---> make
---> sudo make install
Or a sudo Command like :-
aaditya@ubuntu:~$ sudo apt-get install bootchart
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcj-jre gcj-4.4-jre libgcj10-awt
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
pybootchartgui
The following NEW packages will be installed:
pybootchartgui
The following packages will be upgraded:
bootchart
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.2kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/universe bootchart i386 0.90.2-7 [12.5kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/universe pybootchartgui i386 0+r141-0ubuntu2 [21.7kB]
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcj-jre gcj-4.4-jre libgcj10-awt
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
pybootchartgui
The following NEW packages will be installed:
pybootchartgui
The following packages will be upgraded:
bootchart
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.2kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/universe bootchart i386 0.90.2-7 [12.5kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/universe pybootchartgui i386 0+r141-0ubuntu2 [21.7kB]
Having downloaded and installed the files, you just need to reboot your system. When you restart your system next time, browse to /var/log/bootchart and you will find a nice png image showing your boot chart lying there.
Here is my boot chart for my Gnome Desktop system
title = Boot chart for ubuntu (Tue Jul 26 17:53:32 IST 2011)
system.uname = Linux 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:40:23 UTC 2011 i686
system.release = Ubuntu 10.10
system.cpu = model name : Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
model name : Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
model name : Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
model name : Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (4)
system.kernel.options = BOOT_IMAGE=/boot/vmlinuz-2.6.35-30-generic root=UUID=C010D42210D42168 loop=/ubuntu/disks/root.disk ro i8042.reset i8042.nomux i8042.nopnp i8042.noloop quiet splash
You will have to download/save the above image and zoom it to accurately view the events.
Here is my boot chart for my kde Desktop system
You will have to download/save the image and zoom it to accurately view the events.
I guess this is the all important bootchart, and a lot of the future progress will depend on the findings from this bootchart. The upcoming time and may be a future post will be derived from my findings from this post.
Dude , Your blog is AWESUM...keep it up :)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks for this great share. This site is a fantastic resource. Keep up the great work here at Sprint Connection!
ReplyDeleteBlack Magic Specialist in Adelaide
Black Magic Specialist in
Auckland
Black Magic Specialist in Bristol
Black Magic Specialist in
Bahrain
Black Magic Specialist in
Australia
Black Magic Specialist in Birmingham
Black Magic Specialist in
Brishbane
Black Magic Specialist in
Brampton
Black Magic Specialist in
Calgary
Black Magic Specialist in
California
Black Magic Specialist in
Canada
Black Magic Specialist in Christchurch
Black Magic Specialist in
Chicago
Black Magic Specialist in
Brishbane
Black Magic Specialist in Sri Lanka
Black Magic Specialist in Mississauga
Black Magic Specialist in Mauritius
Muslim Astrologer in UK
Black Magic Specialist in Manchester
Black Magic Specialist in
Southhall
I appreciated your professional way of writing this post thanks; you have made such a nice blog. I found in your website perfect for my needs it contains wonderful and helpful posts.
ReplyDeleteBlack Magic Specialist in
Sydney
Muslim Astrologer in Canada
Black Magic Specialist in Hong Kong
Best Astrologer in The USA
Black Magic Specialist in New Jersey
Muslim Astrologer in USA
Black Magic Specialist in Houston
Wazifa for love in UK
Black Magic Specialist in New Zealand
Black Magic Specialist in
Hamilton
Black Magic Specialist in
Toronto
Black Magic Specialist in
London
Black Magic Specialist in Dubai
Black Magic Specialist in
ancouver
Black Magic Specialist in
Edmonton
Black Magic Specialist in Los Angeles
Thanks for this great share. This site is a fantastic resource. Keep up the great work here at Sprint Connection! Many thanks.
ReplyDeleteBest Astrologer in India
Love problem solution in Karnal
Best Astrologer in Zira
Best astrologer in Fridkot
Best astrologer in Ferozepur
Best astrologer in Barnala
Love problem solution in gurugram
Love problem solution in Moga
Best astrologer in Panipat
Best astrologer in Amritsar
Best astrologer in Rajpura
Best astrologer in Taran Taran
Best astrologer in Ludhiana
Best astrologer in Chandigarh
Vashikaran Specialist in Mohali
Vashikaran Specialist in Panchkula
Best astrologer in Batala
Best astrologer in Jalandhar
Best astrologer in Hoshiarpur
Vashikaran specialist in Shimla
Best astrologer in Panchkula
Best astrologer in Mohali
Vashikaran specialist in Moga
Best astrologer in Moga
I really enjoyed this post. You describe this topic very well. I really enjoy reading your blog and I will definitely bookmark it! Keep up the interesting posts!
ReplyDeleteBest astrologer in Gurugram
Vashikaran specialist in Gurugram
Vashikaran specialist In Panipat
Love problem solution in Panipat
Best astrologer in Karnal
Vashikaran Specialist in karnal
Best astrologer in Phagwara
Best astrologer in Muktsar
Best astrologer in Sangrur
Best astrologer in Patiala
Best astrologer in Fatehgarh Sahib
Best astrologer in Gurdaspur
Best astrologer in Pathankot
Vashikaran Specialist in Bilaspur
Vashikaran Specialist in Chamba
Vashikaran pecialist in Dharamshala
Vashikaran Specialist in Manali
Vashikaran Specialist in Mandi
Vashikaran Specialist in Hamirpur
Vashikaran Specialist in Kangra
Vashikaran Specialist in Palampur
Vashikaran Specialist in Solan
Just want to say thank you for the information that you have been shared on your site. Well, it is more better
ReplyDeleteLove problem solution in Bilaspur
Love problem solution in Chamba
Love problem solution in Dharamshala
Love problem solution in Hamirpur
Love problem solution in Kangra
Love problem solution in Manali
Love problem solution in Mandi
Love problem solution in Palampur
Love problem solution in Solan
Best astrologer in Ambala
Vashikaran Specialist in Yamunanagar
Vashikaran Specialist in Sonipat
Vashikaran Specialist in Sirsa
Vashikaran Specialist in Rohtak
Vashikaran Specialist in Hisar
Vashikaran Specialist in Faridabad
Vashikaran Specialist in Ambala
Love problem solution in Yamunanagar
Love problem solution in Sonipat
Love problem solution in Sirsa
Love problem solution in Rohtak
Love problem solution in Hisar
I have been searching the internet for this, and I am glad I found it here! Thanks
ReplyDeleteBest astrologer in Mandi
Best astrologer in Manali
Best astrologer in Solan
Best astrologer in Shimla
Best Astrologer in Kartarpur
Best Astrologer in Mansa
Best Astrologer in Abohar
Best Astrologer in Nakodar
Best Astrologer in Jagraon
Best Astrologer in Roopnagar
Best Astrologer in Nawanshahr
Best Astrologer in Bathinda
Best Astrologer in
Phillaur
Best Astrologer in Bhogpur
Best Astrologer in Malerkotla