Re: How to measure boot time in bochs?
朱朱乐乐 <[email protected]> Sat, 4 May 2013 10:21:05 +0800
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <CALnEfMtN2HYO57Fcay7hhD=44F8vLkcwVXiTHTpCByTh1NmaLA@mail.gmail.com> |
I tried using Bochs Cf .bochsrc.winxp Cbenchmark 4000 . But I don't know how to figure out the number 4000. 2013/4/30 Stanislav <[email protected]> > I will explain how do I measure it.**** > > ** ** > > First of all you could always measure the host wall clock but now comes a > question how can you make sure you measure equal work.**** > > ** ** > > I use fixed disk image (volatile format to make sure it doesn’t change > between experiments) and fixed .bochsrc configuration file.**** > > Then I use Cbenchmark N option of Bochs. **** > > With this option Bochs runs exactly N million emulated cycles and closes > itself so you could measure equal work always.**** > > For example to boot WinXP it is enough to run 4B = 4000M emulated ticks > (or instructions because in Bochs every instruction count a tick except > when CPU is halted).**** > > So for WinXP boot time measurement I was using:**** > > ** ** > > Bochs Cf .bochsrc.winxp Cbenchmark 4000**** > > ** ** > > Stanislav**** > > ** ** > > *From:* 朱朱乐乐 [mailto:[email protected]] > *Sent:* Monday, April 29, 2013 3:51 PM > *To:* [email protected] > *Subject:* [Bochs-developers] How to measure boot time in bochs?**** > > ** ** > > I am tring to conduct a performance optimizing experiment and I want to > measure the boot time of Linux distro such as Fedora 18.**** > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers