Re: DomU freezes in the middle of booting [SOLVED]
Pandu Poluan <[email protected]> Thu, 12 Apr 2012 21:53:34 +0700
| Newsgroups | gmane.linux.gentoo.server |
|---|---|
| Message-ID | <CAA2qdGVBZu+eLjbMh1CaHU66wgQAc3kHcJd6m1jPYoVWRGN=Dw@mail.gmail.com> |
--20cf3079bb462635fa04bd7c85ec Content-Type: text/plain; charset=UTF-8 On Apr 12, 2012 9:46 PM, "Konstantin" <[email protected]> wrote: > > Hello Pandu, > > > If you mean Tickless System (Dynamic Ticks) as NO_HZ=y so it already > enabled for me. > > I figured out how to solve my problem with DomU. I've changed tsc_mode > to something different from 0 or 4 and it seems started to work for > me. > > Here is short tsc_mode option description from sample VM config file: > > #---------------------------------------------------------------------------- > # tsc_mode : TSC mode (0=default, 1=native TSC, 2=never emulate, 3=pvrdtscp) > # emulate TSC provides synced TSC for all vcpus, but lose perfomrance. > # native TSC leverages hardware's TSC(no perf loss), but vcpu's TSC may lose > # sync due to hardware's unreliable/unsynced TSC between CPUs. > # default intelligently uses native TSC on machines where it is safe, but > # switches to emulated if necessary after save/restore/migration > # pvrdtscp is for intelligent apps that use special Xen-only paravirtualized > # cpuid instructions to obtain offset/scaling/migration info and maximize > # performance within pools of machines that support the rdtscp instruction > tsc_mode=1 > Ah, glad to hear that. > BTW, does anybody has NTP server on a virtual machine? ;) > Actually, I do. With tickless, the clock drifts around unpredictably, so I resort to having one of my VMs sync to the NTP pool, while other VMs sync to that VM. Rgds, --20cf3079bb462635fa04bd7c85ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p><br> On Apr 12, 2012 9:46 PM, "Konstantin" <<a href=3D"mailto:konst= [email protected]">[email protected]</a>> wrote:<br> ><br> > Hello Pandu,<br> ><br> ><br> > If you mean Tickless System (Dynamic Ticks) as NO_HZ=3Dy so it already= <br> > enabled for me.<br> ><br> > I figured out how to solve my problem with DomU. I've changed tsc_= mode<br> > to something different from 0 or 4 and it seems started to work for<br= > > me.<br> ><br> > Here is short tsc_mode option description from sample VM config file:<= br> ><br> > #---------------------------------------------------------------------= -------<br> > # =C2=A0 tsc_mode : TSC mode (0=3Ddefault, 1=3Dnative TSC, 2=3Dnever e= mulate, 3=3Dpvrdtscp)<br> > # =C2=A0 emulate TSC provides synced TSC for all vcpus, but lose perfo= mrance.<br> > # =C2=A0 native TSC leverages hardware's TSC(no perf loss), but vc= pu's TSC may lose<br> > # =C2=A0 =C2=A0sync due to hardware's unreliable/unsynced TSC betw= een CPUs.<br> > # =C2=A0 default intelligently uses native TSC on machines where it is= safe, but<br> > # =C2=A0 =C2=A0switches to emulated if necessary after save/restore/mi= gration<br> > # =C2=A0 pvrdtscp is for intelligent apps that use special Xen-only pa= ravirtualized<br> > # =C2=A0 =C2=A0cpuid instructions to obtain offset/scaling/migration i= nfo and maximize<br> > # =C2=A0 =C2=A0performance within pools of machines that support the r= dtscp instruction<br> > tsc_mode=3D1<br> ></p> <p>Ah, glad to hear that.</p> <p>> BTW, does anybody has NTP server on a virtual machine? ;)<br> ></p> <p>Actually, I do. With tickless, the clock drifts around unpredictably, so= I resort to having one of my VMs sync to the NTP pool, while other VMs syn= c to that VM.</p> <p>Rgds,<br> </p> --20cf3079bb462635fa04bd7c85ec--