SElinux and speed issues

Rahul Sundaram sundaram at fedoraproject.org
Thu Oct 5 12:34:28 UTC 2006


Tim wrote:
> Rob Brown-Bayliss:
>>> Hi, some time ago, maybe a year of so I saw a post some where
>>> suggesting that disabling selinux would improve the speed of gnome
>>> (cant recall weather it was fedora specific or not) and I did and yes
>>> things (most notably menus and window opening and closing) were
>>> faster...
> 
> Daniel J Walsh:
>> I think this is a red herring. I can think of no reason why XWindows 
>> would run faster with SELinux disabled.  SELinux only effects 
>> performance when an Access control decision is being made by the
>> kernel.  XWindows should not be going through the kernel for an access 
>> check.
> 
> I'm not so sure.  Gnome isn't X.  Gnome is an application (or set of
> applications).  I'd reckon that it's operation would be subject to
> SELinux as much as any others.

You misunderstood. None of X related software including GNOME is access 
restricted by SELinux and there wouldnt a reason for it to cause a 
slowdown.

Rahul




More information about the fedora-list mailing list