Jump to content

Show us your bootchart.


sunrat

Recommended Posts

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

  • securitybreach

    26

  • ChipDoc

    14

  • sunrat

    11

  • ichase

    10

PCLinuxOS. However, I'm ashamed to post my time stats. :thumbsup: But I must say that I'm not looking to break records. It does boot up in a reasonable time, to suit my needs.:)

Link to comment
Share on other sites

yippee, something new to play with, thanks sunrat. now, what is this bootchart thing and how do i get me one of those? permit me to add some linkage to your thread, sunrat.the web sitehttp://www.bootchart.org/here's a good howto/explainationhttp://www.dedoimedo.com/computers/bootchart.htmlmorehttp://www.linux.com/archive/feed/151496http://en.wikipedia.org/wiki/Bootcharthere's how to do it in mandriva. notice tip on graphical splash for mandriva 2010.0 or later.http://wiki.mandriva.com/en/Development/Ho...me_Optimisationand my boot chartecde63116707971.jpg

Edited by cybormoron
Link to comment
Share on other sites

V.T. Eric Layton

That's pretty neato. There's a SlackBuild for this and ApacheAnt (dep). I may give this a shot sometime soon. I'm too lazy right now, though. :thumbsup:

Link to comment
Share on other sites

Thanks for posting that how-to link, cybormoron! I decided to install this thing and discovered that it's already set up and has faithfully been recording my boot times since I first installed UE 2.8. I checked in /var/log/bootchart and there they all were! Now my machine takes 1:21 to boot, but that's about four times faster than my old Vista setup so it's fine with me. Yet I can't help but believe that a lot of this could be trimmed out without harming functionality. In fact, functionality might actually improve. But that's a project for another day. At the moment I'm happy to have such a wealth of information on just what the heck is going on in my system!At any rate, here's my bootchart:chip-Satellite-L355-maverick-20110125-1s.png

Link to comment
Share on other sites

I haven't figured out how to show you the chart but here is what I get from my Mandy 2010.2 Gnome with 2 GB RAM;snapshot3l.th.pngWould I get different results running it from different distros on the same machine?

Edited by réjean
Link to comment
Share on other sites

I haven't figured out how to show you the chart but here is what I get from my Mandy 2010.2 Gnome with 4 GB RAM;snapshot3l.th.pngWould I get different results running it from different distros on the same machine?
Yup :hysterical:
Link to comment
Share on other sites

Yup :hysterical:
Well! I change my /boot/grub/menu.lst in PCLinuxOS 2010.2;
title linuxkernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=fe8174c0-ef64-4756-917b-aed31cae829d  vmalloc=256M init=/sbin/bootchartd plymouth: force-splash resume=UUID=8509d118-f4b4-4547-a9ff-b855e23e27a0 splash=silent vga=788initrd (hd0,5)/boot/initrd.img

and after rebooting I went into /var but I don't see a bootchard file, no png. no .zip.

Link to comment
Share on other sites

ChipDoc

Thanks for posting that how-to link, cybormoron! I decided to install this thing and discovered that it's already set up and has faithfully been recording my boot times since I first installed UE 2.8. I checked in /var/log/bootchart and there they all were!
i wonder if this should be running every time you boot up. i think it's a one time use tool but i may be wrong. it seems to me it's generating excess bootchart.png files. maybe sunrat can enlighten us on that. i think you may need to edit grub to correct.rejean
and after rebooting I went into /var but I don't see a bootchard file, no png. no .zip.
the bootchart.png file should be in /var/log
Link to comment
Share on other sites

securitybreach

Well what I do is boot into the bootchart entry and then issue the command as user to generate a chart:

bootchart-render

Then the chart will be in /home/username

Generating a bootchart involves running:bootchart-renderin a folder to which you have write access. This will generate a 'bootchart.png' image with your chart. You'll have to have a Java runtime installed and properly set up before you can do this.
https://wiki.archlinux.org/index.php/Bootchart
Link to comment
Share on other sites

ChipDoci wonder if this should be running every time you boot up. i think it's a one time use tool but i may be wrong. it seems to me it's generating excess bootchart.png files. maybe sunrat can enlighten us on that. i think you may need to edit grub to correct.rejeanthe bootchart.png file should be in /var/log
sorry, I should have said that I looked into /var/log
[rejean@localhost ~]$ cd /var/log[rejean@localhost log]$ lsauth.log	 cups/		 gdm/	  pm-powersave.log  syslogboot.log	 daemons/	  kernel/   ppp/			  user.logcoherence	dmesg		 mail/	 prcsys.log		wtmpConsoleKit/  dmesg.old	 messages  samba/			Xorg.0.logcron/		explanations  msec.log  security/		 Xorg.0.log.old[rejean@localhost log]$

Link to comment
Share on other sites

i think it's a one time use tool but i may be wrong. it seems to me it's generating excess bootchart.png files. maybe sunrat can enlighten us on that. i think you may need to edit grub to correct.
Yes one time use is preferable. You don't want a bootchart for every boot, they'd all be the same and waste space. You could make a separate entry in GRUB to choose just when you want to run it, or just edit GRUB at boot time..Here's a mini how-to for what I do:1> Install bootchart from your repo.2>Edit GRUB at boot time. Press "e" with your boot entry selected to edit it. Add "init=/sbin/bootchartd" to the end of the kernel line. Press Ctrl+X to boot (for GRUB2. I think it's b for GRUB legacy)3>After boot and login, run the command "bootchart" in a directory you have write access to, I use my HOME. This will make a .png file of your chart and drop it in current directory.Note: this is for Debian. I note from SB's post that Arch uses "bootchart-render" to make the chart image.@rejean - the file it makes is /var/log/bootchart.tgz. You have to run bootchart (or bootchart-render) to make the .png.
Link to comment
Share on other sites

I am back in Mandy.The bootchart.png and the bootchart.tgz files have been in my /var/log all along. It just didn't seem to be that we could see anything but here it goes;thumbnmail.pngthumbnmail.pngNow here is a copy of my post;

I am back in Mandy.The bootchart.png and the bootchart.tgz files have been in my /var/log all along. It just didn't seem to be that we could see anything but here it goes;thumbnmail.pngthumbnmail.png
Ok! What I was trying to explain is that I had copied the bbc code from Imageshack like I always do but I couldn't see anything. Neither could you. So I added the 2nd code which comes without the thumbnail. So I played with the code until I decided to put a gap between the 2 links and I got what is between parentheses at the end. Confused? Me too.Do you notice the 2 gaps ( both in the original and also inthe quote )? that where the code from imageshack with the small picture is and we don't see it."thumbnmail.png" Edited by réjean
Link to comment
Share on other sites

i wonder if this should be running every time you boot up. i think it's a one time use tool but i may be wrong. it seems to me it's generating excess bootchart.png files. maybe sunrat can enlighten us on that. i think you may need to edit grub to correct.
Well it's pretty apparent that it's been recording every single boot since October, so I guess it's not really such a terrible drag on things. I'm going to leave it alone since it was obviously set up to do it that way by the install. I certainly didn't set it up to do that. Heck, I wasn't even aware of the program until sunrat pointed it out!
Link to comment
Share on other sites

securitybreach
Well it's pretty apparent that it's been recording every single boot since October, so I guess it's not really such a terrible drag on things. I'm going to leave it alone since it was obviously set up to do it that way by the install. I certainly didn't set it up to do that. Heck, I wasn't even aware of the program until sunrat pointed it out!
Actually it should not run at every boot. You should of made a grub entry just for bootchart and choose that one when you want to check the speed. I had first posted here on how to do this: http://forums.scotsnewsletter.com/index.php?showtopic=42390
Link to comment
Share on other sites

@rejean - you just need to copy the code from the Forums section under Thumbnail and paste that directly in your reply. That's how I did the image in my first post (with a little tweak to link to the direct image rather than a web page)

[URL=http://img827.imageshack.us/i/bootchartv.png/][IMG=http://img827.imageshack.us/img827/7127/bootchartv.th.png][/URL]

Link to comment
Share on other sites

@rejean - you just need to copy the code from the Forums section under Thumbnail and paste that directly in your reply. That's how I did the image in my first post (with a little tweak to link to the direct image rather than a web page)
[URL=http://img827.imageshack.us/i/bootchartv.png/][IMG=http://img827.imageshack.us/img827/7127/bootchartv.th.png][/URL]

this is what I have been doing for years. How do you think that I posted the links in the Show your Gnu/Linux Desktop? It's just that for a reason or another that one didn't work.Here;snapshot4o.th.pngYou see this one works. Now look into the picture at the code and tell me what is wrong with it. I would like to know. Edited by réjean
Link to comment
Share on other sites

this is what I have been doing for years. How do you think that I posted the links in the Show your Gnu/Linux Desktop? It's just that for a reason or another that one didn't work.Here;snapshot4o.th.pngYou see this one works. Now look into the picture at the code and tell me what is wrong with it. I would like to know.
My apologies, I realized you had posted lots of images previously, but too late.It looks like ImageShack have changed the way they display linkage codes, but the actual code looks the same.
Link to comment
Share on other sites

no sweat Roger. I think that I finally found the problem. If you look at the code in the last picture that I posted a link too you'll see that " img80." is missing at the beginning of the "image" tag.Nope! I give up.

Edited by réjean
Link to comment
Share on other sites

securitybreach

Wow, lots of stuff going on at boot on UltimateEdition Frank!! I am not necessarily talking about your time, but the amount of stuff your boot chart shows starting.

Link to comment
Share on other sites

Wow, lots of stuff going on at boot on UltimateEdition Frank!! I am not necessarily talking about your time, but the amount of stuff your boot chart shows starting.
Frank and I are both running UE2.8 so I compared our bootcharts. They're essentially the same, but his boots about 20 seconds quicker. I suspect this is almost entirely because I'm running a T5500 processor and he's running a T7200 because each of his processes seem to run a little faster than mine.I'm guessing this dims the hope that tweaking the boot a bit will make any significant drop in boot time for me. :(
Link to comment
Share on other sites

Frank and I are both running UE2.8 so I compared our bootcharts. They're essentially the same, but his boots about 20 seconds quicker. I suspect this is almost entirely because I'm running a T5500 processor and he's running a T7200 because each of his processes seem to run a little faster than mine.I'm guessing this dims the hope that tweaking the boot a bit will make any significant drop in boot time for me. :(
I'm using a 7200 RPM drive as well.My Win 7 install boots faster (34-40 seconds).I think the processor is the main difference though.Note the kernel, Maverick and it's derivatives just offered an upgrade to 2.6.38-1 from 2.6.37-12.I have the backports and proposed repos enabled in Synaptic plus I'm using the xorg-edgers repo that ensures the very latestkernel is available plus almost daily updates to xorg and mesa.
Link to comment
Share on other sites

securitybreach

Well I guess I am in the lead but I do not know if it is Archlinux or just my machine. I have lots of services started at boot so its not that:

╔═ comhack@Cerberus 12:00 AM ╚═══ /home/comhack-> cat /etc/rc.conf | grep DAEMONS# DAEMONSDAEMONS=(syslog-ng network netfs crond dbus hal fam alsa sensors @mpd @mpdscrobble @sshd @cups @ntop @gpm @fail2ban @openntpd bluetooth @avahi-daemon @mysqld @openntpd @dropboxd)

Can any other arch users show their bootchart to compare mine with? Thanks

Link to comment
Share on other sites

Well I guess I am in the lead but I do not know if it is Archlinux or just my machine. I have lots of services started at boot so its not that:
╔═ comhack@Cerberus 12:00 AM ╚═══ /home/comhack-> cat /etc/rc.conf | grep DAEMONS# DAEMONSDAEMONS=(syslog-ng network netfs crond dbus hal fam alsa sensors @mpd @mpdscrobble @sshd @cups @ntop @gpm @fail2ban @openntpd bluetooth @avahi-daemon @mysqld @openntpd @dropboxd)

Can any other arch users show their bootchart to compare mine with? Thanks

Are you running a SSD Josh?
Link to comment
Share on other sites

And sunrat comes back running to overtake securitybreach! I just turned a few services off with rcconf (nice easy little ncurses utility) and dropped a whopping 7 seconds off my boot time. From 24 secs to 17 secs.bootchart2.th.pngUploaded with ImageShack.usAnd just a comment on Frank and CipDoc's charts for UE 2.8 - it looks like your bootchart is logging Gnome startup as well. It's hard to compare though, as a number of important services start after gnome-session starts. My boot chart stops once kdm is loaded but before KDE, and SB's is to a login prompt.@rejean - I just got the same strange result posting the image that you did. It was from using the "Alt Forum Thumbnail". When I swapped it for the "Forum Thumbnail" code it was OK.

Link to comment
Share on other sites

securitybreach
Are you running a SSD Josh?
Nope just a few 7200 satas
And sunrat comes back running to overtake securitybreach! I just turned a few services off with rcconf (nice easy little ncurses utility) and dropped a whopping 7 seconds off my boot time. From 24 secs to 17 secs.
Nice :(
Link to comment
Share on other sites

Well I guess I am in the lead but I do not know if it is Archlinux or just my machine. I have lots of services started at boot so its not that:
╔═ comhack@Cerberus 12:00 AM ╚═══ /home/comhack-> cat /etc/rc.conf | grep DAEMONS# DAEMONSDAEMONS=(syslog-ng network netfs crond dbus hal fam alsa sensors @mpd @mpdscrobble @sshd @cups @ntop @gpm @fail2ban @openntpd bluetooth @avahi-daemon @mysqld @openntpd @dropboxd)

Can any other arch users show their bootchart to compare mine with? Thanks

Well I had a look at the link for bootchart and it advises this,https://aur.archlinux.org/packages.php?ID=43477but on my syatem I would have to download 33 MB with an installed size of 121 MB.So I tried this,https://aur.archlinux.org/packages.php?ID=35804which would be a 0 MB download and a 19 MB install. Trouble is I manage to make the pakage but I get a error when trying to install. :)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...