Re: [PATCH v2 5/5] KVM: MMU: lower the aduit frequency

Marcelo Tosatti
2010-09-01T16:27:43Z

On Wed, Sep 01, 2010 at 12:06:37PM +0300, Avi Kivity wrote:
> On 08/31/2010 05:27 AM, Xiao Guangrong wrote:
> >
> >>I've always seen progress from the guest while running with audit
> >>enabled (its slow, but its not supposed to be fast anyway).
> >>
> >>Did you experience a freeze?
> >>
> >There is a simply test in the guest if it's not rate limit:
> >
> ># time ls
> >anaconda-ks.cfg Documents install.log Music Public Videos
> >Desktop Downloads install.log.syslog Pictures Templates
> >
> >real 1m26.053s
> >user 0m0.311s
> >sys 0m1.813s
> >
> >'ls' command cost about 1.5 minute, if we run the memory test program, i think
> >the time/delay is unacceptable...... :-(
>
> Marcelo, would making the ratelimit optional help? personally I
> think without ratelimit audit is useless, and with ratelimit it is a
> lot less useful but can still point out problems. But I haven't
> used it in a while.

Was just wondering whether there was a freeze. Patchset looks good
(ratelimit can be disabled manually).