[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: changing the "+" in ls -l output to be "." or "+"
From: |
Pádraig Brady |
Subject: |
Re: RFC: changing the "+" in ls -l output to be "." or "+" |
Date: |
Fri, 3 Apr 2009 00:11:31 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Just a quick follow up to this now archived bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472590
The last message there mentioned selinux query overhead.
On my system with selinux disabled, there is currently
a significant overhead in doing the selinux lookup per file
with a standard `ls -l` listing.
A quick test shows that I can list 100K files in 0.9s
with the selinux lookup commented out, while it increases
to 1.3s when the lookup is done.
I'm not sure how selinux works TBH, but it was mentioned
in the bug that if it's in one file then it's in all.
If this was always true then the selinux lookup would only
need to be done for the first file in the listing?
If not, then perhaps some caching could be added to
at least indicate quickly that selinux is disabled on
the current (file) system.
I know speed isn't that important for ls but it would be nice
to get back the 40% slow down if possible.
cheers,
Pádraig.
- Re: RFC: changing the "+" in ls -l output to be "." or "+",
Pádraig Brady <=
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Jim Meyering, 2009/04/06
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Pádraig Brady, 2009/04/06
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Jim Meyering, 2009/04/06
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Pádraig Brady, 2009/04/07
- [PATCH] deprecating install --preserve_context as per the FIXME, Pádraig Brady, 2009/04/07
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Andreas Schwab, 2009/04/07
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Pádraig Brady, 2009/04/07
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Jim Meyering, 2009/04/07
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Jim Meyering, 2009/04/07
- Re: RFC: changing the "+" in ls -l output to be "." or "+", Pádraig Brady, 2009/04/07