/srv/irclogs.ubuntu.com/2008/03/28/#upstart.txt

twbIs it because upstart gets confused when it's not PID 1 that Ubuntu's bootchart starts within initramfs (rather than with init=/sbin/bootchartd)?02:56
jdongtwb: no, it's useful to factor in the time spent in initramfs too05:07
twbinitramfs runs before init?05:07
jdongtwb: as we found a few weeks ago, for example, one developer's laptop spends nearly half its bootup in initramfs05:07
jdongtwb: correct. initramfs runs before / is even mounted, much less an init daemon exists05:07
twbYou're right, I was confused05:07
keesjhello twb05:44
keesjI am VERY interested in profiling the bootsequence, die you get bootchart runnning?05:45
twbkeesj: I have it running on Debian Lenny...05:49
keesjand that uses upstart?06:02
keesjlet me put it differently , can i "bootchart" upstart?06:03
twbkeesj: that's broadly my question.06:16
keesjtwb: My feeling is no. 06:43
Amaranthkeesj: i don't see why not, you just have to start it in initramfs and have a stop task at the end of boot08:06
Amaranthkeesj: jdong's upstart scripts for ubuntu work with bootchart08:06
AlexExtremeyou can bootchart upstart with native scripts in the normal way you would start bootchart (init=/path/to/bootchart on kernel command line), i've done it08:09
AmaranthAlexExtreme: but then you don't chart initramfs time08:11
AlexExtrememmm, true08:11
Amaranthwhich for me is 10 seconds of a 32 second boot :P08:12
AlexExtremeif you're using it with initramfs you don't need to have a stop task for it, bootchart will stop in it's normal way08:12
AlexExtremehehe08:12
AlexExtremei wasn't using initramfs with mine though08:12
Amaranthno, you still need a stop task08:12
AlexExtremereally? why wouldn't the way bootchart stops itself work?08:13
Amaranthme and jdong found that out when i got a 12 minute bootchart that took 10 minutes to convert from svg to png :P08:13
AlexExtremeit waits until gdm, kdm, xdm or getty starts08:13
AlexExtrememmm... :P08:13
Amaranthhttp://www.realistanew.com/random/hardy-20080317-3.png <--initramfs time is important to measure :P08:14
AlexExtrememm, yeah08:14
Amaranthafter that boot we spent awhile trying to maximize disk throughput throughout the process as you can see it seeking most of the time there08:15
AlexExtremehttp://alex-smith.me.uk/files/bootchart-ud.png << insane boot time using upstart native scripts on a custom (LFS based) distro with a custom kernel ;)08:15
Amaranthended up with a boot that has a more consistent throughput but a lower max throughput and thus takes the same amount of time to boot :P08:16
Amaranthwow08:16
Amaranthexcept you don't start anything :P08:16
Amaranthwould still take my system 13 seconds or so though, since 10 seconds is lost in initramfs :P08:17
AlexExtremewell, it booted up to a getty with networking enabled08:17
Amaranthyeah08:17
AlexExtremehttp://alex-smith.me.uk/files/bootcharts/bootchart-upstart3.png << that's a better one from when I was getting upstart on frugalware, which doesn't use initramfs08:17
AlexExtremeso stick about 10 secs on for initramfs and you a bit less than your bootchart08:18
AlexExtreme*get a08:18
Amaranththat's a weird chart08:18
Amaranthyour high disk usage was at the end of boot08:18
AlexExtremeabout where gdm starts08:19
Amaranthhttp://www.realistanew.com/random/hardy-20080317-10.png08:19
Amaranththat boot is with readahead disabled and i still peak at beginning08:19
AlexExtremeprobably something screwed up that i've done then :p08:19
Amaranthalso i seem to start about 3x as many things :P08:20
AlexExtremepff, i like my simplicity ;)08:20
Amaranthi suspect i can get this thing down to 20 seconds easily if i fix my initramfs problems and get rid of stuff i don't use from startup08:21
Amaranthwhich is really exciting because with sysvinit 45 seconds was crazy fast :P08:21
AlexExtremewith sysv on that system i was getting 29 seconds08:22
Tvhi. how do i handle a package that's removed but not purged?14:28
ion_tv: This is #upstart, btw. :-)15:14
Tvyeah i mean it's event.d15:40
Tvi don't want to keep respawning on exec /usr/bin/does-not-exist-anymore15:40
ion_Well, you could always purge the package. ;-)16:07
keesjthanks for the help guys . i was not able to read earlyer19:07

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!