From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Audit issue
Date: Thu, 8 Nov 2007 19:28:07 -0500 [thread overview]
Message-ID: <200711081928.07954.sgrubb@redhat.com> (raw)
In-Reply-To: <200711080959.31328.sgrubb@redhat.com>
On Thursday 08 November 2007 09:59:30 Steve Grubb wrote:
> On Thursday 08 November 2007 09:56:51 Alexander Viro wrote:
> > Easy enough to test - boot with audit disabled, run benchmarks, enable
> > it, flush all caches (e.g. by memory pressure), rerun the benchmarks,
> > compare... I don't think it will be serious problem, but if it will
> > we can always look for trickier solutions.
>
> OK. I'll try to build a kernel and check this out. Might have some results
> later.
OK, had a chance to do testing. First, the patch works. It solves the problem
that was reported. Here's some performance numbers using the performance test
I have at http://people.redhat.com/sgrubb/files/lspp-perf.tar.gz
without patch boot with audit=0
audit disabled: 38.9
audit enabled: 42.3
without patch boot with audit=1
audit disabled: 41.4
audit enabled: 42.9
with patch boot with audit=0
audit disabled: 38.6
audit enabled: 43.8
with patch boot with audit=1
audit disabled: 44.2
audit enabled: 44.6
So, when audit is enabled at boot. There is virtually no performance
difference between enabled and not. The old way, we had a 4% performance
improvement when audit was disabled. Looking at the audit=0 case, there is
about a 3.5% performance hit when audit is enabled with the new patch. The
old way, audit disabled was always significantly faster ~ %4. With the patch
its only about 1% faster.
-Steve
next prev parent reply other threads:[~2007-11-09 0:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200710301248.24261.sgrubb@redhat.com>
[not found] ` <200710301907.29505.sgrubb@redhat.com>
[not found] ` <20071030231525.GG12499@devserv.devel.redhat.com>
[not found] ` <200710311740.19981.sgrubb@redhat.com>
2007-11-08 14:19 ` Audit issue Alexander Viro
2007-11-08 14:27 ` Steve Grubb
2007-11-08 14:32 ` Alexander Viro
2007-11-08 14:47 ` Steve Grubb
2007-11-08 14:56 ` Alexander Viro
2007-11-08 14:59 ` Steve Grubb
2007-11-09 0:28 ` Steve Grubb [this message]
2007-11-08 14:35 ` Eric Paris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711081928.07954.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.