From: Chris Wright <chrisw@osdl.org>
To: James Morris <jmorris@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Kurt Garloff <garloff@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Chris Wright <chrisw@osdl.org>,
Stephen Smalley <sds@epoch.ncsc.mil>, Greg KH <greg@kroah.com>
Subject: Re: [PATCH] [LSM] Rework LSM hooks
Date: Tue, 10 Aug 2004 13:00:09 -0700 [thread overview]
Message-ID: <20040810130009.P1924@build.pdx.osdl.net> (raw)
In-Reply-To: <Xine.LNX.4.44.0408101512520.9121-100000@dhcp83-76.boston.redhat.com>; from jmorris@redhat.com on Tue, Aug 10, 2004 at 03:22:19PM -0400
* James Morris (jmorris@redhat.com) wrote:
> On Tue, 10 Aug 2004, Alan Cox wrote:
>
> > On Maw, 2004-08-10 at 15:16, James Morris wrote:
> > > On Tue, 10 Aug 2004, Kurt Garloff wrote:
> > >
> > > > * Even with selinux=0 and capability loaded, the kernel takes a
> > > > few percents in networking benchmarks (measured by HP on ia64);
> > > > this is caused by the slowliness of indirect jumps on ia64.
> > >
> > > Is this just an ia64 issue? If so, then perhaps we should look at only
> > > penalising ia64? Otherwise, loading an LSM module is going to cause
> > > expensive false unlikely() on _every_ LSM hook.
> >
> > I see this on x86-32 to an extent. Its quite visible with gigabit as
> > you'd expect. ia64 ought to be less affected providing the compiler is
> > doing the right things with the unconditional jumps.
>
> I did some benchmarking (full results below), and I'm not seeing anything
> significant on a P4 Xeon.
Is this new (i.e. you just did this)? It's basically the same result we
had from a few years ago.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
next prev parent reply other threads:[~2004-08-10 20:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 8:57 [PATCH] [LSM] Rework LSM hooks Kurt Garloff
2004-08-10 13:29 ` James Morris
2004-08-10 20:23 ` Chris Wright
2004-08-10 20:27 ` James Morris
2004-08-10 20:43 ` Chris Wright
2004-08-11 1:55 ` James Morris
2004-08-10 14:16 ` James Morris
2004-08-10 15:02 ` Alan Cox
2004-08-10 19:22 ` James Morris
2004-08-10 20:00 ` Chris Wright [this message]
2004-08-10 20:07 ` James Morris
2004-08-10 20:12 ` Chris Wright
2004-08-10 20:31 ` James Morris
2004-08-11 8:47 ` David Mosberger
2004-08-11 15:25 ` Chris Wright
2004-08-11 18:12 ` David Mosberger
2004-08-11 18:16 ` Chris Wright
2004-08-11 22:22 ` Kurt Garloff
2004-08-12 1:23 ` James Morris
2004-08-12 3:58 ` Greg KH
2004-08-12 18:15 ` Chris Wright
2004-08-12 18:17 ` Chris Wright
2004-08-16 14:19 ` Takashi Iwai
2004-08-11 22:19 ` Kurt Garloff
2004-08-12 1:20 ` James Morris
2004-08-12 2:03 ` Kurt Garloff
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=20040810130009.P1924@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=garloff@suse.de \
--cc=greg@kroah.com \
--cc=jmorris@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@epoch.ncsc.mil \
/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.