securitybreach Posted February 1, 2011 Posted February 1, 2011 OK, what is the error? I just installed it using yaourt and it installed fine. .................................................Proceed with installation? [Y/n] checking package integrity...(1/1) checking for file conflicts [################################] 100%(1/1) removing bootchart [################################] 100%(1/1) installing bootchart2-git [################################] 100%--------------------------------------------------------After install, simply add these options to your kernelcommand-line, usually in /boot/grub/menu.lst:'initcall_debug printk.time=y quiet init=/sbin/bootchartd'After bootup, run 'pybootchartgui -i' to get aninteractive chart rendering tool. If you just downloaded the PKGBUILD and tried to build it, then yes you would get errors since there are dependencies required. Quote
abarbarian Posted February 1, 2011 Posted February 1, 2011 (edited) OK, what is the error? I just installed it using yaourt and it installed fine..................................................Proceed with installation? [Y/n] checking package integrity...(1/1) checking for file conflicts [################################] 100%(1/1) removing bootchart [################################] 100%(1/1) installing bootchart2-git [################################] 100%--------------------------------------------------------After install, simply add these options to your kernelcommand-line, usually in /boot/grub/menu.lst:'initcall_debug printk.time=y quiet init=/sbin/bootchartd'After bootup, run 'pybootchartgui -i' to get aninteractive chart rendering tool. If you just downloaded the PKGBUILD and tried to build it, then yes you would get errors since there are dependencies required. It was last week when I tried the makepkg and I recall having to download dependencies. I think the install failed because of some difference with versions in the PKGBUILD and what pacman fetched or a wrong date I remember, 20110123 when I think there should have been 20110125. It was my first build so cannot be more specific.Just tried again and it seemed to make ok.Running your 'pybootchartgui -i' without the qoute marks gets me,bash: pybootchartgui: command not found I also get bash: bootchart-render: command not found Just realised that I may not have any jave installed I modified the boot menu, # (0) Arch Linuxtitle Arch Linuxroot (hd0,0)kernel /vmlinuz26 root=/dev/disk/by-uuid/b86ba870-ad49-4ed1-b0cd-ade6fdcf1771 r$initcall_debug printk.time=y quiet init=/sbin/bootchartdinitrd /kernel26.img I think I got the code in the correct place.Anyways whilst in there I modified the menu a bit an dnow have a windows entry showing at boot so some progress is being made. Edited February 1, 2011 by abarbarian Quote
securitybreach Posted February 1, 2011 Posted February 1, 2011 Well to begin with used the regular bootchartd from the normal repos and it seems much more straightforward than the git package. I would install that one if I were you but that is just me. I do run some git versions of packages only if the newer version has a feature lacking in the regular version. Remember git is even more bleeding edge the since most of the time they are nightly builds or beta. Quote
abarbarian Posted February 1, 2011 Posted February 1, 2011 Well to begin with used the regular bootchartd from the normal repos and it seems much more straightforward than the git package. I would install that one if I were you but that is just me. I do run some git versions of packages only if the newer version has a feature lacking in the regular version. Remember git is even more bleeding edge the since most of the time they are nightly builds or beta.Thanks I had not realised that the "git" was a bleeding edge version I was just trying to keep me Arch as small as possible. Most programs I have installed do not need Java so I was trying to avoid the 100+ MB download.I'll have a hunt around and see if I can generate a chart with the "git" as it would be nice to see how different Arch's perform. Quote
securitybreach Posted February 1, 2011 Posted February 1, 2011 Thanks I had not realised that the "git" was a bleeding edge version I was just trying to keep me Arch as small as possible. Most programs I have installed do not need Java so I was trying to avoid the 100+ MB download.I'll have a hunt around and see if I can generate a chart with the "git" as it would be nice to see how different Arch's perform. Sounds good! Although, since Arch is a rolling distro, you will probably get 100mb of updates at least twice a week. Today on my main machine, I just got 69.43MB of updates alone. If you have limited bandwidth, I do not think Archlinux would be the best solution since all the packages are steadily being upgraded and versions tend to change faster when using a rolling distro versus a normal release cycle. Quote
ChipDoc Posted February 2, 2011 Posted February 2, 2011 I have this same issue with Ultimate Edition 2.8 - huge gobs of updates. They generally update things which I use rarely or never, but I accept the updates anyhow. If I don't, then it just keeps asking until I do accept them.Kind of like Windows... Quote
securitybreach Posted February 2, 2011 Posted February 2, 2011 I have this same issue with Ultimate Edition 2.8 - huge gobs of updates. They generally update things which I use rarely or never, but I accept the updates anyhow. If I don't, then it just keeps asking until I do accept them.Kind of like Windows... Well Arch has lots of updates because it is a rolling distro which means there are no release cycles and it is continuously updated. Also, you are not pestered to install the updates unless you decide to install a notification of sorts. Quote
ChipDoc Posted February 2, 2011 Posted February 2, 2011 I'm not really griping too bitterly. I don't mind running the updates. Many of them are only a couple of megs, but every now and then we get several updates in a row which are huge and, for me at least, essentially useless. But the upside is that my machine stays current without a huge pile of interaction on my part. Quote
securitybreach Posted February 2, 2011 Posted February 2, 2011 Definitely a good thing to stay up to date. Especially since all of your apps are updated as well. Unlike some OSs I know of. Quote
ChipDoc Posted February 2, 2011 Posted February 2, 2011 The big reason I don't mind the updates is that it updates the dependency libraries. I believe (possibly falsely...) that if I keep everything current, I'll have fewer problems in the long run. But it's worked so far - I've never yet had a dependency issue on anything that was already established on the system. And if I end up with a bunch of other languages on the machine, BleachBit seems to take care of it pretty well.My backups have gone from about 125gigs to about 30gigs since I started trimming that stuff out. Not all of it was OS of course; I stopped storing things like Music, Pix, and Video on the main drive, offloading it to the outboard drives and leaving only what I actually use. Quote
securitybreach Posted April 1, 2011 Posted April 1, 2011 Well Sunrat asked for an updated bootchartd so I went to check my boot speed since I upgraded my system to a quad core/16gb of ram and it seems that 19 seconds is my sweet spot, The screenshot on the left is my bootchartd from my new build and the right shot is from my old Core2Duo with 8gb ram. The times are the same but notice the differences in the CPU I/O and Disk throughput/Utilization. It is quite an improvement compared to the old build. Quote
ichase Posted April 1, 2011 Posted April 1, 2011 Well Sunrat asked for an updated bootchartd so I went to check my boot speed since I upgraded my system to a quad core/16gb of ram and it seems that 19 seconds is my sweet spot, The screenshot on the left is my bootchartd from my new build and the right shot is from my old Core2Duo with 8gb ram. The times are the same but notice the differences in the CPU I/O and Disk throughput/Utilization. It is quite an improvement compared to the old build.It don't get much better than that. Nice numbers Josh! Quote
securitybreach Posted April 1, 2011 Posted April 1, 2011 It don't get much better than that. Nice numbers Josh! Thanks Quote
ichase Posted April 1, 2011 Posted April 1, 2011 Going to install this tomorrow in both my Crunch Bang running Openbox and then in PCLOS running Enlightenment on the same rig. Curious as to the difference. Once I get that Wifi adapter (Maybe today!!!!) I can also check my Arch running Openbox. Compare all 3. Safe to say I won't be seeing numbers as close as Josh's but I am hoping for under 45 seconds for each one. Quote
ichase Posted April 1, 2011 Posted April 1, 2011 Tried to install bootchart on #! and got this? Any clue? ichase@ichase:~$ sudo apt-get install bootchart[sudo] password for ichase: Reading package lists... DoneBuilding dependency tree Reading state information... DonePackage bootchart is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'bootchart' has no installation candidateichase@ichase:~$ Quote
securitybreach Posted April 2, 2011 Posted April 2, 2011 Ian, just download the Ubuntu package from http://www.bootchart.org/download.html Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 I got bootchart straight from Synaptic which is hooked up to the Ubuntu repos. Now the only trick is to figure out how to edit the Grub to make the fool thing work. Step #1? Figuring out where the heck the Grub is! Quote
securitybreach Posted April 2, 2011 Posted April 2, 2011 Well Ubuntu is a bit different. You do not need to add a Grub entry, just Install the bootchart package and reboot your machine. Your bootchart will be in /var/log/bootchart as a .png file.https://wiki.ubuntu.com/BootChartingThe bad part is, bootchart will run every time you boot until you remove the package. Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 The bad part is, bootchart will run every time you boot until you remove the package.Well THAT sure sounds easy - thanks, Josh!I don't think running it every time is such a bad thing. After all, after I switched to the SDD, even booting that huge Ultimate Edition 2.8 package took less than 15 seconds. I think I can spare a few extra seconds to get the info. Quote
securitybreach Posted April 2, 2011 Posted April 2, 2011 Well THAT sure sounds easy - thanks, Josh!I don't think running it every time is such a bad thing. After all, after I switched to the SDD, even booting that huge Ultimate Edition 2.8 package took less than 15 seconds. I think I can spare a few extra seconds to get the info.Wow, 15 seconds? Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 Wow, 15 seconds?13 actually; occasionally it's 12. I could have sworn I'd posted it here, though perhaps it's over in the SSD thread.Well perhaps not. Search isn't finding it, though perhaps I've used the wrong keywords. And OF COURSE my server is inaccessible at the moment due to scheduled maintenance so I can't check to see if I posted it up there... Quote
securitybreach Posted April 2, 2011 Posted April 2, 2011 13 actually; occasionally it's 12. I could have sworn I'd posted it here, though perhaps it's over in the SSD thread.Well perhaps not. Search isn't finding it, though perhaps I've used the wrong keywords. And OF COURSE my server is inaccessible at the moment due to scheduled maintenance so I can't check to see if I posted it up there... Guess I have to buy me an SSD after the move. :thumbsup:I thought 19 seconds was pretty fast with my Sata 7200 drive, guess not Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 19 seconds is BLAZING fast, Josh. Back in the bad old days before September 28th, I was running Vista and, what with one thing and another (most notably the AirCard internet connection) it would take about four and a half minutes to go from "off" to "ready to rock". I was completely blown away by the 1:20 boot times I was getting running UE on a WD Caviar Blue. I almost died and went to heaven when I popped in that SSD! Quote
securitybreach Posted April 2, 2011 Posted April 2, 2011 Yeah I know 19 seconds if fast but if I can get a faster boot time, why not? Of course I rarely reboot my machine lol Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 Mine's a laptop so I reboot the thing all the time. The only time I get an Uptime of more than a few hours is when I fall asleep before shutting it down. I picked up the SSD at Best Buy on sale a month or so back. At first I was upset that the biggest one I could get was 80gigs, but it turns out that's plenty so long as I store stuff on the outboard drives. Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 Well Ubuntu is a bit different. You do not need to add a Grub entry, just Install the bootchart package and reboot your machine. Your bootchart will be in /var/log/bootchart as a .png file.Or not, as the case may be,,, The bootchart info is there, but there's no pretty .PNG file. Or any ugly ones either, for that matter. Instead there's a file named chip-l355-bodhi-lucid-20110402-1.tgz which contains a header file and three log files. The header file contains my system info - right up to the place where the boot time is normally recorded. The log files are in hex code. I wonder if I have an old version of bootchart? I think I'll check that outNope, the newest one at the bootchart site is over five years old... Quote
Urmas Posted April 2, 2011 Posted April 2, 2011 Chip,Do you have a package called "pybootchartgui" installed? If – Ubuntu [synaptic] usually pulls it in as a dependency – it's not "there", install it.Now... I may be stupid, but at least I'm slow :BOOTCHART Quote
sunrat Posted April 2, 2011 Author Posted April 2, 2011 In Debian you just run the command bootchart to show the .png graphic. Don't know if *buntuz are the same. Quote
Urmas Posted April 2, 2011 Posted April 2, 2011 Don't know if *buntuz are the same.Works only when I give it the correct path – the default is "off":urmas@rocinante:~$ bootchartNo path given, trying /var/log/bootchart.tgzwarning: path '/var/log/bootchart.tgz' does not exist, ignoring.Parse error: empty state: '/var/log/bootchart.tgz' does not contain a valid bootchart OK, let's tell it where to go: urmas@rocinante:~$ bootchart /var/log/bootchart/rocinante-maverick-20110402-1.tgz parsing '/var/log/bootchart/rocinante-maverick-20110402-1.tgz'parsing 'header'parsing 'proc_stat.log'parsing 'proc_diskstats.log'parsing 'proc_ps.log'warning: no parent for pid '2' with ppid '0'merged 0 logger processespruned 262 process, 0 exploders, 251 threads, and 35 runsFalsebootchart written to 'bootchart.png'urmas@rocinante:~$ Yup... one image delivered into /home/urmas. Quote
ChipDoc Posted April 2, 2011 Posted April 2, 2011 (edited) Oddly, I didn't have to give it the location. I typed bootchart and it failed, but when I went into /var/log/bootchart to cut and paste the path, there it was!The speed is a LOT lower than it is on the UE side of the house, but I suspect that's almost exclusively because of the stop at the Grub page on boot. Once I get this thing set up the way I want, I'll drop that and I suspect it'll go a bunch faster. Edited April 2, 2011 by ChipDoc Quote
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.