[openstack-dev] [neutron][rootwrap] Performance considerations, sudo?

Yuriy Taraday yorik.sar at gmail.com
Thu Mar 20 16:53:24 UTC 2014

On Thu, Mar 20, 2014 at 8:23 PM, Rick Jones <rick.jones2 at hp.com> wrote:

> On 03/20/2014 09:07 AM, Yuriy Taraday wrote:
>> On Thu, Mar 20, 2014 at 7:28 PM, Rick Jones <rick.jones2 at hp.com
>> <mailto:rick.jones2 at hp.com>> wrote:
>>     Interesting result.  Which versions of sudo and ip and with how many
>>     interfaces on the system?
>> Here are the numbers:
>> % sudo -V
>> Sudo version 1.8.6p7
>> Sudoers policy plugin version 1.8.6p7
>> Sudoers file grammar version 42
>> Sudoers I/O plugin version 1.8.6p7
>> % ip -V
>> ip utility, iproute2-ss130221
>> % ip a | grep '^[^ ]' | wc -l
>> 5
>>     For consistency's sake (however foolish it may be) and purposes of
>>     others being able to reproduce results and all that, stating the
>>     number of interfaces on the system and versions and such would be a
>>     Good Thing.
>> Ok, I'll add them to benchmark output.
> Since there are only five interfaces on the system, it likely doesn't make
> much of a difference in your specific benchmark but the top-of-trunk
> version of sudo has the fix/enhancement to allow one to tell it via
> sudo.conf to not grab the list of interfaces on the system.
> Might be worthwhile though to take the interface count out to 2000 or more
> in the name of doing things at scale.  Namespace count as well.

Given that this benchmark is created to show that my changes are worth
doing and they already show that my approach is almost 2x faster than sudo,
slowing down sudo will only enhance this difference. I don't think we
should add this to the benchmark itself.


Kind regards, Yuriy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140320/8f9c2dd4/attachment.html>

More information about the OpenStack-dev mailing list