Re: SELinux performance depending on type count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-08-27 at 17:28 +0200, Ole Kliemann wrote:
> On Mon, Aug 13, 2012 at 08:35:29AM -0400, Stephen Smalley wrote:
> > On Fri, 2012-08-10 at 23:38 +0200, Ole Kliemann wrote:
> > > [...]
> > >
> > > $ runcon -l s0:c0.c9999
> > > 
> > > Now I'm system_u:system_r:unconfined_t:s0:c0.c9999.
> > > I rerun the script. Average walltime is about 39sec.
> > > 
> > > Ouch! :-/
> > >
> > > [...]
> > 
> > I wonder how much of that time is spent on the chcon calls (i.e.
> > getxattr + setxattr) vs the actual accessing of the files.
> 
> I was away for some time, but in case you are still interested:
> 
> As can be seen with the attached script, the time it takes 
> accessing the files remains stable. Only creating and chcon'ing 
> files and dirs seems to be the problem. 
> 
> So for all of my purposes I consider this a non-issue.

Yes, that makes more sense to me.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux