10-08-2015 08:33 AM
Hi,
what are the commands that we could verify the ESP performance?
basically, i'm turning on the encryption in a tunnel interface and would like to see the difference in perfomance of the ESP100 module when there are less and more traffic in the tunnel.
I found one command "show platform hardware crypto-device utilization" but don't know if it really show what I"m trying to see as described or if there's any other commands? Thank you very much
i tried the following commands but still really need your advise. Any feedback is appreciated!
asr1006-3#show platform hardware crypto-device utilization
Past crypto device utilization:
1 min (percentage) : 84%
(decrypt pkt): 14695069
(encrypt pkt): 14695082
5 min (percentage) : 84%
(decrypt pkt): 73478280
(encrypt pkt): 73478344
15 min (percentage) : 84%
(decrypt pkt): 220429397
(encrypt pkt): 220429586
asr1006-3#sh platform software status control-processor brief
Load Average
Slot Status 1-Min 5-Min 15-Min
RP0 Healthy 0.02 0.02 0.00
ESP0 Healthy 0.00 0.00 0.00
ESP1 Healthy 0.00 0.00 0.00
SIP0 Healthy 0.03 0.02 0.00
SIP2 Healthy 0.00 0.00 0.00
Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 16342688 3277012 (20%) 13065676 (80%) 11142536 (68%)
ESP0 Healthy 16337056 1257760 ( 8%) 15079296 (92%) 903660 ( 6%)
ESP1 Healthy 16337056 1248532 ( 8%) 15088524 (92%) 897404 ( 5%)
SIP0 Healthy 969060 295544 (30%) 673516 (70%) 313020 (32%)
SIP2 Healthy 969180 329772 (34%) 639408 (66%) 424348 (44%)
CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 1.10 0.70 0.00 98.20 0.00 0.00 0.00
1 0.10 0.10 0.00 99.80 0.00 0.00 0.00
ESP0 0 0.20 4.20 0.00 95.60 0.00 0.00 0.00
1 0.20 0.70 0.00 99.10 0.00 0.00 0.00
2 0.20 0.50 0.00 99.30 0.00 0.00 0.00
3 0.00 0.09 0.00 99.90 0.00 0.00 0.00
ESP1 0 0.39 5.38 0.00 94.11 0.00 0.09 0.00
1 0.20 1.00 0.00 98.79 0.00 0.00 0.00
2 0.10 0.40 0.00 99.49 0.00 0.00 0.00
3 0.39 0.19 0.00 99.40 0.00 0.00 0.00
SIP0 0 0.90 0.60 0.00 98.49 0.00 0.00 0.00
SIP2 0 3.80 1.40 0.00 94.80 0.00 0.00 0.00
asr1006-3#show platform resources slot f0
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource Usage Max Warning Critical State
----------------------------------------------------------------------------------------------------
ESP0(ok, active) H
Control Processor 4.50% 100% 90% 95% H
DRAM 1228MB(7%) 15954MB 90% 95% H
QFP H
TCAM 32cells(0%) 1048576cells 45% 55% H
DRAM 360268KB(8%) 4194304KB 80% 90% H
IRAM 9942KB(7%) 131072KB 80% 90% H
asr1006-3#show crypto ipsec sa
interface: Tunnel66
Crypto map tag: Tunnel66-head-0, local addr 2001:10:199:x::3
protected vrf: (none)
local ident (addr/mask/prot/port): (2001:10:199:x::3/128/47/0)
remote ident (addr/mask/prot/port): (2001:10:199:x::4/128/47/0)
current_peer 2001:10:199:x::4 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 1030078379, #pkts encrypt: 1030078379, #pkts digest: 1030078379
#pkts decaps: 1030350349, #pkts decrypt: 1030350349, #pkts verify: 1030350349
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0
local crypto endpt.: 2001:10:199:x::3,
remote crypto endpt.: 2001:10:199:x::4
plaintext mtu 9142, path mtu 9192, ipv6 mtu 9192, ipv6 mtu idb TenGigabitEthernet2/0/1
current outbound spi: 0x2D1D57ED(756897773)
PFS (Y/N): N, DH group: none
inbound esp sas:
spi: 0x6A9D62CF(1788699343)
transform: esp-aes esp-sha-hmac ,
in use settings ={Transport, }
conn id: 21396, flow_id: HW:19396, sibling_flags FFFFFFFF80000009, crypto map: Tunnel66-head-0
sa timing: remaining key lifetime (k/sec): (1576209/3594)
IV size: 16 bytes
replay detection support: Y
Status: ACTIVE(ACTIVE)
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0x2D1D57ED(756897773)
transform: esp-aes esp-sha-hmac ,
in use settings ={Transport, }
conn id: 21395, flow_id: HW:19395, sibling_flags FFFFFFFF80000009, crypto map: Tunnel66-head-0
sa timing: remaining key lifetime (k/sec): (1140001/3594)
IV size: 16 bytes
replay detection support: Y
Status: ACTIVE(ACTIVE)
outbound ah sas:
outbound pcp sas:
asr1006-3#sh proc cpu platform location FP active
CPU utilization for five seconds: 1%, one minute: 1%, five minutes: 1%
Core 0: CPU utilization for five seconds: 4%, one minute: 2%, five minutes: 3%
Core 1: CPU utilization for five seconds: 0%, one minute: 2%, five minutes: 1%
Core 2: CPU utilization for five seconds: 0%, one minute: 0%, five minutes: 0%
Core 3: CPU utilization for five seconds: 0%, one minute: 0%, five minutes: 0%
Pid PPid 5Sec 1Min 5Min Status Size Name
--------------------------------------------------------------------------------
1 0 0% 0% 0% S 1863680 init
2 0 0% 0% 0% S 0 kthreadd
3 2 0% 0% 0% S 0 migration/0
4 2 0% 0% 0% S 0 sirq-high/0
5 2 0% 0% 0% S 0 sirq-timer/0
6 2 0% 0% 0% S 0 sirq-net-tx/0
7 2 0% 0% 0% S 0 sirq-net-rx/0
8 2 0% 0% 0% S 0 sirq-block/0
9 2 0% 0% 0% S 0 sirq-block-iopo
10 2 0% 0% 0% S 0 sirq-tasklet/0
11 2 0% 0% 0% S 0 sirq-sched/0
12 2 0% 0% 0% S 0 sirq-hrtimer/0
13 2 0% 0% 0% S 0 sirq-rcu/0
14 2 0% 0% 0% S 0 stopper/0
15 2 0% 0% 0% S 0 watchdog/0
16 2 0% 0% 0% S 0 desched/0
17 2 0% 0% 0% S 0 migration/1
18 2 0% 0% 0% S 0 stopper/1
19 2 0% 0% 0% S 0 sirq-high/1
20 2 0% 0% 0% S 0 sirq-timer/1
21 2 0% 0% 0% S 0 sirq-net-tx/1
22 2 0% 0% 0% S 0 sirq-net-rx/1
23 2 0% 0% 0% S 0 sirq-block/1
24 2 0% 0% 0% S 0 sirq-block-iopo
25 2 0% 0% 0% S 0 sirq-tasklet/1
26 2 0% 0% 0% S 0 sirq-sched/1
27 2 0% 0% 0% S 0 sirq-hrtimer/1
28 2 0% 0% 0% S 0 sirq-rcu/1
29 2 0% 0% 0% S 0 watchdog/1
30 2 0% 0% 0% S 0 desched/1
31 2 0% 0% 0% S 0 migration/2
32 2 0% 0% 0% S 0 stopper/2
33 2 0% 0% 0% S 0 sirq-high/2
34 2 0% 0% 0% S 0 sirq-timer/2
35 2 0% 0% 0% S 0 sirq-net-tx/2
36 2 0% 0% 0% S 0 sirq-net-rx/2
37 2 0% 0% 0% S 0 sirq-block/2
38 2 0% 0% 0% S 0 sirq-block-iopo
39 2 0% 0% 0% S 0 sirq-tasklet/2
40 2 0% 0% 0% S 0 sirq-sched/2
41 2 0% 0% 0% S 0 sirq-hrtimer/2
42 2 0% 0% 0% S 0 sirq-rcu/2
43 2 0% 0% 0% S 0 watchdog/2
44 2 0% 0% 0% S 0 desched/2
45 2 0% 0% 0% S 0 migration/3
46 2 0% 0% 0% S 0 stopper/3
47 2 0% 0% 0% S 0 sirq-high/3
48 2 0% 0% 0% S 0 sirq-timer/3
49 2 0% 0% 0% S 0 sirq-net-tx/3
50 2 0% 0% 0% S 0 sirq-net-rx/3
51 2 0% 0% 0% S 0 sirq-block/3
52 2 0% 0% 0% S 0 sirq-block-iopo
53 2 0% 0% 0% S 0 sirq-tasklet/3
54 2 0% 0% 0% S 0 sirq-sched/3
55 2 0% 0% 0% S 0 sirq-hrtimer/3
56 2 0% 0% 0% S 0 sirq-rcu/3
57 2 0% 0% 0% S 0 watchdog/3
58 2 0% 0% 0% S 0 desched/3
59 2 0% 0% 0% S 0 events/0
60 2 0% 0% 0% S 0 events/1
61 2 0% 0% 0% S 0 events/2
62 2 0% 0% 0% S 0 events/3
63 2 0% 0% 0% S 0 cpuset
64 2 0% 0% 0% S 0 khelper
67 2 0% 0% 0% S 0 netns
70 2 0% 0% 0% S 0 async/mgr
184 2 0% 0% 0% S 0 sync_supers
186 2 0% 0% 0% S 0 bdi-default
187 2 0% 0% 0% S 0 kblockd/0
188 2 0% 0% 0% S 0 kblockd/1
189 2 0% 0% 0% S 0 kblockd/2
190 2 0% 0% 0% S 0 kblockd/3
191 2 0% 0% 0% S 0 kacpid
192 2 0% 0% 0% S 0 kacpi_notify
193 2 0% 0% 0% S 0 kacpi_hotplug
359 2 0% 0% 0% S 0 ata/0
360 2 0% 0% 0% S 0 ata/1
361 2 0% 0% 0% S 0 ata/2
362 2 0% 0% 0% S 0 ata/3
363 2 0% 0% 0% S 0 ata_aux
367 2 0% 0% 0% S 0 khubd
370 2 0% 0% 0% S 0 kseriod
443 2 0% 0% 0% S 0 khungtaskd
444 2 0% 0% 0% S 0 kswapd0
497 2 0% 0% 0% S 0 aio/0
498 2 0% 0% 0% S 0 aio/1
499 2 0% 0% 0% S 0 aio/2
500 2 0% 0% 0% S 0 aio/3
517 2 0% 0% 0% S 0 crypto/0
518 2 0% 0% 0% S 0 crypto/1
519 2 0% 0% 0% S 0 crypto/2
520 2 0% 0% 0% S 0 crypto/3
1224 2 0% 0% 0% S 0 scsi_eh_0
1226 2 0% 0% 0% S 0 scsi_eh_1
1228 2 0% 0% 0% S 0 scsi_eh_2
1230 2 0% 0% 0% S 0 scsi_eh_3
1232 2 0% 0% 0% S 0 scsi_eh_4
1234 2 0% 0% 0% S 0 scsi_eh_5
1275 2 0% 0% 0% S 0 kstriped
1278 2 0% 0% 0% S 0 ksnapd
1308 2 0% 0% 0% S 0 usbhid_resumer
1323 2 0% 0% 0% S 0 deferwq
1671 2 0% 0% 0% S 0 scsi_eh_6
1672 2 0% 0% 0% S 0 usb-storage
2518 2 0% 0% 0% S 0 rpciod/0
2519 2 0% 0% 0% S 0 rpciod/1
2520 2 0% 0% 0% S 0 rpciod/2
2521 2 0% 0% 0% S 0 rpciod/3
2527 2 0% 0% 0% S 0 nfsiod
2886 1 0% 0% 0% S 1810432 portmap
2888 1 0% 0% 0% S 1810432 portmap
3001 2 0% 0% 0% S 0 loop1
3983 1 0% 0% 0% S 1773568 udevd
5858 1 0% 0% 0% S 1654784 klogd
5900 1 0% 0% 0% S 33456128 automount
5919 1 0% 0% 0% S 2187264 xinetd
5921 1 0% 0% 0% S 2187264 xinetd
6352 0 0% 0% 0% T 0 (Oct
6361 2 0% 0% 0% S 0 mtdblockd
6389 2 0% 0% 0% S 0 scansta
7562 1 0% 0% 0% S 4431872 pvp.sh
7638 1 0% 0% 0% S 4943872 rotee
7680 7562 0% 0% 0% S 1761280 inotifywait
7745 7562 0% 0% 0% S 4378624 pman.sh
7848 7562 0% 0% 0% S 4374528 pman.sh
7977 7562 0% 0% 0% S 4374528 pman.sh
8001 1 0% 0% 0% S 4943872 rotee
8172 7562 0% 0% 0% S 4374528 pman.sh
8189 1 0% 0% 0% S 4943872 rotee
8322 7745 0% 0% 0% S 4067328 btrace_rotate.s
8413 1 0% 0% 0% S 4943872 rotee
8451 7562 0% 0% 0% S 4374528 pman.sh
8486 7848 1% 1% 1% R 1085140992 cman_fp
8573 1 0% 0% 0% S 4943872 rotee
8702 7977 0% 0% 0% S 1345921024 cpp_cdm_svr
8732 7562 0% 0% 0% S 4374528 pman.sh
8764 1 0% 0% 0% S 4943872 rotee
8874 1 0% 0% 0% S 4943872 rotee
9096 7562 0% 0% 0% S 4374528 pman.sh
9175 8451 0% 0% 0% S 1362108416 cpp_driver
9192 1 0% 0% 0% S 4943872 rotee
9226 8172 0% 0% 0% S 2082947072 cpp_cp_svr
9387 7562 0% 0% 0% S 4374528 pman.sh
9433 1 0% 0% 0% S 4943872 rotee
9439 8732 0% 0% 0% S 1369710592 cpp_ha_top_leve
9591 7562 0% 0% 0% S 4374528 pman.sh
9743 9096 0% 0% 0% S 1550217216 cpp_sp_svr
9744 1 0% 0% 0% S 4943872 rotee
9754 7562 0% 0% 0% S 4374528 pman.sh
9898 1 0% 0% 0% S 4943872 rotee
10025 9387 0% 0% 0% S 1550667776 cpp_stats_svr
10038 8322 0% 0% 0% S 1757184 inotifywait
10072 7562 0% 0% 0% S 4374528 pman.sh
10105 9591 0% 0% 0% S 23834624 emd
10110 1 0% 0% 0% S 4943872 rotee
10152 1 0% 0% 0% S 1646592 agetty
10153 1 0% 0% 0% S 2555904 mcp_chvrf.sh
10166 1 0% 0% 0% S 5959680 issu_switchover
10167 1 0% 0% 0% S 3010560 oom.sh
10200 10153 0% 0% 0% S 2187264 xinetd
10297 7562 0% 0% 0% S 4374528 pman.sh
10361 1 0% 0% 0% S 4943872 rotee
10423 1 0% 0% 0% S 4943872 rotee
10432 10167 0% 0% 0% S 1929216 sleep
10470 1 0% 0% 0% S 4943872 rotee
10694 10297 0% 0% 0% S 14917632 plogd
10702 10072 0% 0% 0% R 42803200 hman
10753 9754 6% 6% 6% R 2654851072 fman_fp_image
10850 1 0% 0% 0% S 4943872 rotee
11231 10166 0% 0% 0% S 1757184 inotifywait
12125 1 0% 0% 0% S 1871872 sntp
asr1006-3#sh processes cpu history
1111
100
90
80
70
60
50
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0
CPU% per second (last 60 seconds)
1
1 1 0 111 1 1 1 111 11 1 1 11 1
100
90
80
70
60
50
40
30
20
10 *
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
1 1
911111111111111171211111111111111110111131771119111911111111111011211111
100
90
80
70
60
50
40
30
20
10 * * * ** * * *
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
asr1006-3#show platform hardware qfp active infrastructure bqs status
BQS-RM Status :
=============================================
Object Counts:
Recycle Object Count: 124
Recycle Schedule Count: 19
Recycle Queue Count: 73
# of Active Queues: 905
# of Active Schedules: 928
# of Active Roots: 17
# of Active Min Profiles: 14
# of Active Max Profiles: 7
# of Active Exs Profiles: 6
Configuration Status:
Pending Config Deferred: False
Pending Config Deferred Cnt: 0
OOR defer processing False
QoS Active Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
QoS Pending Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
IFM Active Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
IFM Pending Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
BRM Active Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
BRM Pending Events:
# of Commit Events: 0
# of Parent Events: 0
# of Child Events: 0
# of Flush Events: 0
# of Delete Queue Events: 0
Object Types:
# of Internal Queues : 621
# of Default Queues: 22
# of QOS Queue Objects: 6
# of Internal Schedules: 893
# of Default Schedules : 35
# of QOS Schedule Objects : 0
Configuration Events:
# of Create Queue Calls: 6
# of Create Update Queue Calls: 0
# of Queue Delete Calls: 0
# of Internal Queue Delete Calls: 0
# of Schedule Create Calls: 1
# of Schedule Delete calls: 0
Yoda: 0
# of Active Queues: 472
# of Active Roots: 11
# of Active Min Profiles: 8
# of Active Max Profiles: 4
# of Active Exs Profiles: 3
# of Internal Queues : 330
# of Default Queues: 14
# of QOS Queue Objects: 0
# of Internal Schedules: 468
# of Default Schedules : 22
# of QOS Schedule Objects : 0
Queue ID Pending Drain: 0xffffffff
Yoda: 1
# of Active Queues: 433
# of Active Roots: 6
# of Active Min Profiles: 6
# of Active Max Profiles: 3
# of Active Exs Profiles: 3
# of Internal Queues : 291
# of Default Queues: 8
# of QOS Queue Objects: 6
# of Internal Schedules: 425
# of Default Schedules : 13
# of QOS Schedule Objects : 0
Queue ID Pending Drain: 0xffffffff
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide