diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-05-26 14:52:45 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-05-31 22:58:30 +0300 |
| commit | d49700dd2f4ba0a307f7c332c303b6d75425089c (patch) | |
| tree | 6d1e2a4143753bb1d0a14f08eb985b0d372f0723 /tests/topotests/ospfapi/test_ospf_clientapi.py | |
| parent | 610af81ae4eb912981b6e0147a11aeeb654a862d (diff) | |
bgpd: Add an ability to control default-originate route-map timer
By default it's 5 seconds. That means, every 5 second it iterates over the
whole BGP table and checks if a route-map is kicked in (if route-map is defined).
Having a full feed with many of neighbors, this is a huge CPU-killer, and takes
a lot of time.
Thread statistics for bgpd:
Showing statistics for pthread default
--------------------------------------
CPU (user+system): Real (wall-clock):
Active Runtime(ms) Invoked Avg uSec Max uSecs Avg uSec Max uSecs CPU_Warn Wall_Warn Starv_Warn Type Thread
0 0.487 10 48 84 49 85 0 0 0 T (bgp_connect_timer)
0 0.000 1 0 0 1 1 0 0 0 T bgp_startup_timer_expire
2 3.991 276 14 1032 14 1031 0 0 0 R zclient_read
0 0.010 4 2 6 3 6 0 0 0 E _bfd_sess_send
0 0.057 11 5 26 6 26 0 0 0 W vtysh_write
0 65.054 136 478 28907 484 28914 0 0 0 E bgp_event
0 11233.040 24 468043 2772209 1341293 7781145 0 3 0 T subgroup_coalesce_timer
2 3.649 33 110 394 111 395 0 0 0 R bgp_accept
0 468.837 5 93767 178929 93799 178960 0 0 0 T (bgp_graceful_stale_timer_expire)
0 0.462 9 51 77 51 78 0 0 0 T (bgp_start_timer)
1 415.825 14200 29 414 29 415 0 0 0 R vtysh_accept
0 0.052 3 17 47 18 49 0 0 1 T bgp_config_finish
0 0.011 1 11 11 12 12 0 0 0 E frr_config_read_in
0 0.022 4 5 8 6 9 0 0 0 E bgp_nht_ifp_initial
0 0.121 44 2 64 3 65 0 0 0 T (bgp_routeadv_timer)
0 34194.454 3 11398151 21874014 27937411 52641827 2 0 1 T bgp_route_map_update_timer
0 13246.820 8 1655852 3065476 4589606 8454782 0 4 1 T bgp_announce_route_timer_expired
0 0.035 2 17 26 18 27 0 0 0 E zclient_connect
0 279624.026 318778 877 571779 2808 1639624 0 0 5 T work_queue_run
0 0.097 32 3 21 3 23 0 0 0 RW bgp_connect_check
2 6005.738 43560 137 680012 138 680446 0 0 0 R vtysh_read
0 1605.840 1116298 1 1331 2 10152 0 0 133 T (bgp_generate_updgrp_packets)
0 1073.162 17 63127 222065 63175 222087 0 0 0 E bgp_packet_process_error
1 16744058.262 10691 1566182 1807248 1566900 1808301 0 0 5 T update_group_refresh_default_originate_route_map
0 0.000 11 0 0 0 1 0 0 0 T update_subgroup_merge_check_thread_cb
0 94544.034 1898726 49 225054 69 225156 0 0 0 E bgp_process_packet
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/ospfapi/test_ospf_clientapi.py')
0 files changed, 0 insertions, 0 deletions
