sunrat Posted January 25, 2011 Share Posted January 25, 2011 It would be interesting to compare results from bootchart for different distros. I'll start with mine from aptosid, 24 secs to KDM:Uploaded with ImageShack.us Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 25, 2011 Share Posted January 25, 2011 Well I guess I will post mine here as well so we can keep up with the different distros:Archlinux x86_64 Quote Link to comment Share on other sites More sharing options...
onederer Posted January 25, 2011 Share Posted January 25, 2011 PCLinuxOS. However, I'm ashamed to post my time stats. But I must say that I'm not looking to break records. It does boot up in a reasonable time, to suit my needs. Quote Link to comment Share on other sites More sharing options...
cybormoron Posted January 25, 2011 Share Posted January 25, 2011 (edited) 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 chart Edited January 25, 2011 by cybormoron Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 25, 2011 Share Posted January 25, 2011 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. Quote Link to comment Share on other sites More sharing options...
ChipDoc Posted January 25, 2011 Share Posted January 25, 2011 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: Quote Link to comment Share on other sites More sharing options...
réjean Posted January 25, 2011 Share Posted January 25, 2011 (edited) 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;Would I get different results running it from different distros on the same machine? Edited April 2, 2011 by réjean Quote Link to comment Share on other sites More sharing options...
abarbarian Posted January 25, 2011 Share Posted January 25, 2011 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;Would I get different results running it from different distros on the same machine? Yup Quote Link to comment Share on other sites More sharing options...
réjean Posted January 25, 2011 Share Posted January 25, 2011 Yup 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. Quote Link to comment Share on other sites More sharing options...
cybormoron Posted January 26, 2011 Share Posted January 26, 2011 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.rejeanand 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 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 26, 2011 Share Posted January 26, 2011 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 Quote Link to comment Share on other sites More sharing options...
réjean Posted January 26, 2011 Share Posted January 26, 2011 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/logsorry, 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]$ Quote Link to comment Share on other sites More sharing options...
réjean Posted January 26, 2011 Share Posted January 26, 2011 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/usernamehttps://wiki.archlinux.org/index.php/Bootchart thanks josh I'll do so next time I boot into Mandy. Quote Link to comment Share on other sites More sharing options...
sunrat Posted January 26, 2011 Author Share Posted January 26, 2011 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. Quote Link to comment Share on other sites More sharing options...
réjean Posted January 26, 2011 Share Posted January 26, 2011 (edited) 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;Now 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; 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."" Edited January 26, 2011 by réjean Quote Link to comment Share on other sites More sharing options...
ChipDoc Posted January 26, 2011 Share Posted January 26, 2011 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! Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 26, 2011 Share Posted January 26, 2011 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 Quote Link to comment Share on other sites More sharing options...
sunrat Posted January 26, 2011 Author Share Posted January 26, 2011 @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] Quote Link to comment Share on other sites More sharing options...
réjean Posted January 26, 2011 Share Posted January 26, 2011 (edited) @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;You 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 January 26, 2011 by réjean Quote Link to comment Share on other sites More sharing options...
sunrat Posted January 26, 2011 Author Share Posted January 26, 2011 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;You 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. Quote Link to comment Share on other sites More sharing options...
réjean Posted January 26, 2011 Share Posted January 26, 2011 (edited) 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 January 26, 2011 by réjean Quote Link to comment Share on other sites More sharing options...
Frank Golden Posted January 27, 2011 Share Posted January 27, 2011 (edited) Ultimate Edition 2.8 Edited January 27, 2011 by Frank Golden Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 27, 2011 Share Posted January 27, 2011 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. Quote Link to comment Share on other sites More sharing options...
ChipDoc Posted January 27, 2011 Share Posted January 27, 2011 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. Quote Link to comment Share on other sites More sharing options...
Frank Golden Posted January 28, 2011 Share Posted January 28, 2011 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. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 28, 2011 Share Posted January 28, 2011 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 Quote Link to comment Share on other sites More sharing options...
Frank Golden Posted January 28, 2011 Share Posted January 28, 2011 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? Quote Link to comment Share on other sites More sharing options...
sunrat Posted January 28, 2011 Author Share Posted January 28, 2011 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.Uploaded 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. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 28, 2011 Share Posted January 28, 2011 Are you running a SSD Josh?Nope just a few 7200 satasAnd 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 Quote Link to comment Share on other sites More sharing options...
abarbarian Posted January 31, 2011 Share Posted January 31, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.