On 03/21/2014 11:01 AM, Thierry Carrez wrote:
Yuriy Taraday wrote:Benchmark included showed on my machine these numbers (average over 100 iterations): Running 'ip a': ip a : 4.565ms sudo ip a : 13.744ms sudo rootwrap conf ip a : 102.571ms daemon.run('ip a') : 8.973ms Running 'ip netns exec bench_ns ip a': sudo ip netns exec bench_ns ip a : 162.098ms sudo rootwrap conf ip netns exec bench_ns ip a : 268.115ms daemon.run('ip netns exec bench_ns ip a') : 129.876ms So it looks like running daemon is actually faster than running "sudo".That's pretty good! However I fear that the extremely simplistic filter rule file you fed on the benchmark is affecting numbers. Could you post results from a realistic setup (like same command, but with all the filter files normally found on a devstack host ?) Thanks,
That's a good point to have a fair comparison to the c translated one, I ran it with all the rootwrap filters provided in havana, but I will rerun the benchmark if that changed. Anyway, I don't think there should be a huge difference, the worst part was the startup part. _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
