commit | baf5d743d1b8783fdbd5c1260ada2926e5bbaaee | [log] [tgz] |
---|---|---|
author | Jamal Hadi Salim <hadi@cyberus.ca> | Mon Dec 04 20:02:37 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Dec 06 18:38:44 2006 -0800 |
tree | 1dba3ae8d7e40a9b4f6ccb886d1cb511396e5381 | |
parent | 1b6651f1bf2453d593478aa88af267f057fd73e2 [diff] |
[XFRM] Optimize policy dumping This change optimizes the dumping of Security policies. 1) Before this change .. speedopolis:~# time ./ip xf pol real 0m22.274s user 0m0.000s sys 0m22.269s 2) Turn off sub-policies speedopolis:~# ./ip xf pol real 0m13.496s user 0m0.000s sys 0m13.493s i suppose the above is to be expected 3) With this change .. speedopolis:~# time ./ip x policy real 0m7.901s user 0m0.008s sys 0m7.896s