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

From: Avi Kivity
Date: Wed Sep 01 2010 - 05:06:51 EST


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.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/