This article provides information on how to determine the OSPF table size and CPU utilization of a routing daemon.
How to determine the OSPF table size and CPU utilization of a routing daemon.
The following commands are issued to determine the OSPF table size and CPU utilization of a routing daemon:
{master:0} user@switch>> show task memory detail ------------------------- Overall Memory Report ------------------------- Size TP Allocs Mallocs AllocBytes MaxAllocs MaxBytes FreeBytes 8 -5921 47368 5926 47408 1784 12 142 409 6612 560 6720 9772 16 5 2560 41040 2566 41056 8112 20 90 1635 34500 1726 34520 14652 20 T - - - 28 560 - 24 171 4886 121368 5065 121560 9704 28 672 - 18816 675 18900 13952 32 1 635 20352 639 20448 12416 36 28 313 12276 341 12276 4108 36 T - - - 2 72 - 40 2 1203 48200 1206 48240 952 44 152 - 6688 153 6732 9696 user@switch>show task memory detail | match OSPF ospf_ppm_stats_group 16 20 1 20 1 20 ospf_tsi_lsdb 20 24 1 24 1 24 ospf_tsi 24 28 1 28 1 28 ospf_lsa_36 36 40 1 40 2 80 ospf_rt_instance 44 48 1 48 1 48 ospf_topo_lsdb_entry 56 60 1 60 1 60 ospf_spf_entry 72 76 - - 1 76 ospf_topo_area 100 104 1 104 1 104 ospf_lsdb_entry 228 232 1 232 2 464 ospf_topology 700 712 1 712 1 712 ospf_instance 1232 1260 1 1260 1 1260 ospf_area 8424 16384 P 1 16384 1 16384 OSPF config various 1 2032 1 2032 OSPF 5 67607 5 67607 5 OSPF I/O./var/run/ppmd_ 1 66536 2 66556 169
user@switch> start shell user@switch%top last pid: 3998; load averages: 0.05, 0.03, 0.00 up 0+08:43:00 03:26:35 64 processes: 1 running, 63 sleeping CPU states: 1.7% user, 0.0% nice, 0.7% system, 0.3% interrupt, 97.3% idle Mem: 360M Active, 51M Inact, 90M Wired, 224M Cache, 110M Buf, 256M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1042 root 1 8 0 85060K 11964K nanslp 18:19 0.20% pfem 1035 root 1 4 0 16156K 5600K kqread 8:49 0.00% chassism 1036 root 2 44 -52 69156K 15688K select 5:57 0.00% sfid 1054 root 1 96 0 18804K 7520K select 0:32 0.00% mib2d 1074 root 1 96 0 7256K 2552K select 0:24 0.00% license-check 1067 root 1 96 0 12728K 2584K select 0:18 0.00% shm-rtsdbd 1053 root 1 96 0 16980K 11740K select 0:13 0.00% snmpd 1048 root 1 96 0 22720K 10916K select 0:12 0.00% chassisd 1049 root 1 96 0 7676K 2420K select 0:07 0.00% alarmd 1055 root 1 4 0 41060K 11072K kqread 0:07 0.00% rpd 1071 root 1 4 0 8736K 4120K kqread 0:05 0.00% lldpd 1037 root 1 4 -20 8360K 3544K kqread 0:04 0.00% vccpd 1066 root 1 4 0 15760K 9356K kqread 0:03 0.00% eswd 791 root 1 96 0 5732K 2608K select 0:03 0.00% eventd 1047 root 1 96 0 28184K 5648K select 0:03 0.00% dcd 1069 root 1 96 0 8852K 3496K select 0:03 0.00% pkid 3321 root 1 96 0 7252K 2724K select 0:02 0.00% sshd 1059 root 1 96 0 7196K 3724K select 0:02 0.00% ppmd user@switch% ps -aux | grep rpd root 1055 0.0 1.1 41060 11072 ?? S 6:45PM 0:06.65 /usr/sbin/rpd -N root 4000 0.0 0.1 2316 992 p0 S+ 3:27AM 0:00.01 grep rpd