Re: RCU issue with SELinux (Re: SELINUX performance issues)

From: Luke Kenneth Casson Leighton
Date: Fri Aug 20 2004 - 12:21:51 EST


On Fri, Aug 20, 2004 at 10:36:03PM +0900, Kaigai Kohei wrote:
> Hello, everyone.
>
> Tuesday, August 17, 2004 12:19 AM
> James Morris wrote:
> > > Is removing direct reference to AVC-Entry approach acceptable?
> > >
> > > I'll try to consider this issue further.
> >
> > Sure, if you can make it work without problems.
>
> The attached patches against to 2.6.8.1 kernel improve the performance
> and the scalability of SELinux by RCU-approach.
>
> The evaluation results are as follows:
> <Environment>
> CPU: Itanium2(1GHz) x 4/8/16/32
> Memory: enough (no swap)
> OS: 2.6.8.1 (SELinux disabled by 'selinux=0' boot option)
> 2.6.8.1 (SELinux enabled)
> 2.6.8.1 + rwlock patch by KaiGai
> 2.6.8.1 + RCU patch by KaiGai
>
> The test program iterates write() to files on tmpfs 500,000 times in parallel.
^^^^^
i presume that that is without the xattr patch which adds extended
attributes to tmpfs?

(see http://hands.com/~lkcl/selinux)

l.

-
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/