cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1116
Views
5
Helpful
8
Replies

ASR 9910 (eXR) Media/Memory Understanding

MariaSousa48787
Level 1
Level 1

Hi *,

 

i need to perform a deep media/memory analysis of our ASR 9910(eXR), with 6.6.3 version. But because this IOS-XR version it is a virtualized environment the allocation/partitions it is completely different from the normal IOS  

And considering that each RSP5(TR/SE) has:

  • 16/24GB DRAM
  • 2x128GB SSDs
  • 8GB embedded USB

TOMAHAWK/LIGHTSPEED LC i don't know!

 

I need to know which commands can i use to see the Total/Available Memory for each DRAM/SSD/eUSB memory to check if our routers are on limit.

 

For example, with just sh filesystem and sho media commands i don't know how to perform the available memory for each type of media.

RP/0/RSP1/CPU0:CC-LAB01#sh filesystem
File Systems:

Size(b) Free(b) Type Flags Prefixes
3921260544 3913465856 harddisk rw harddiskb:
23653642240 19868442624 harddisk rw harddisk:
8121659392 6942281728 flash-disk rw disk0:
3921260544 3913465856 harddisk rw harddiska:
20507914240 20159836160 flash-disk rw apphost:
4061327360 4050694144 flash rw /misc/config
0 0 network rw ftp:
0 0 network rw tftp:
RP/0/RSP1/CPU0:CC-LAB01#

 

RP/0/RSP1/CPU0:CC-LAB01#sh media
Media Information for local node.

----------------------------------------------
Partition Size Used Percent Avail
rootfs: 3.8G 2.6G 72% 1.1G
harddisk: 23G 3.6G 17% 18G
log: 3.8G 159M 5% 3.5G
config: 3.8G 11M 1% 3.6G
disk0: 7.6G 1.1G 16% 6.1G
harddiska: 3.7G 7.5M 1% 3.5G
apphost: 20G 332M 2% 18G
---------------------------------------------------
rootfs: = root file system (read-only)
log: = system log files (read-only)
config: = configuration storage (read-only)
RP/0/RSP1/CPU0:CC-LAB01#

 

Many thanks

Maria

8 Replies 8

Hi,

 

you can use

#show platform ?

#show process memory ?

#show processes cpu ?

commands

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Hi,

here is the output of sh platform

RP/0/RSP1/CPU0:CC-LAB01#sh platform
Node Type State Config state
--------------------------------------------------------------------------------
0/RSP0/CPU0 A9K-RSP5-TR(Standby) IOS XR RUN NSHUT
0/RSP1/CPU0 A9K-RSP5-TR(Active) IOS XR RUN NSHUT
0/FT0 ASR-9910-FAN OPERATIONAL NSHUT
0/FT1 ASR-9910-FAN OPERATIONAL NSHUT
0/0/CPU0 A9K-24X10GE-1G-TR IOS XR RUN NSHUT
0/1/CPU0 A9K-16X100GE-TR IOS XR RUN NSHUT
0/PT0 A9K-DC-PEM-V3 OPERATIONAL NSHUT
0/PT1 A9K-DC-PEM-V3 OPERATIONAL NSHUT
RP/0/RSP1/CPU0:CC-LAB01#
RP/0/RSP1/CPU0:CC-LAB01#
RP/0/RSP1/CPU0:CC-LAB01#

 

RP/0/RSP1/CPU0:CC-LAB01#sh platform ?
WORD Partially qualified location specification
security System Security details
vm platform VM information
| Output Modifiers
0/0 Fully qualified location specification
0/1 Fully qualified location specification
0/BPID0 Fully qualified location specification
0/FT0 Fully qualified location specification
0/FT1 Fully qualified location specification
0/PT0 Fully qualified location specification
0/PT1 Fully qualified location specification
0/RSP0 Fully qualified location specification
0/RSP1 Fully qualified location specification
<cr>

 

RP/0/RSP1/CPU0:CC-LAB01#sh platform 0/RSP0
Node Type State Config state
--------------------------------------------------------------------------------
0/RSP0/CPU0 A9K-RSP5-TR(Standby) IOS XR RUN NSHUT

 

Thanks

Maria

check these  commands too.

#show process memory ?

#show processes cpu ?

 

after type ? symbol, you will see many suggestions and try them too.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

tkarnani
Cisco Employee
Cisco Employee

from the XR VM

 

show media  - free harddisk space
show process memory detail - per process memory usage and limits
show watchdog - system total memory usage/limit

 

from the admin vm

 

show media  - free harddisk space
show process memory - per process memory usage and limits
show memory_status - system total memory usage/limit

 

Thanks

Hi  TKarnani,

 

thank you so much from your reply it help me a lot to have some extra commands to know the thresholds and limits!

 

After to read more posts in this community i understood that harddisks have partitions and aren't in mirror (https://community.cisco.com/t5/xr-os-and-platforms/disk-mirroring-asr9000-crs/td-p/2563095)

But, it rise me some more doubts! And i made "hundreds" of researches and probably i found my answers, and would i like if you or someone that read this post, kindly, could check the following tables and verify if am i correct.

 

And in resume the router(Virtualized Environment) has the following allocation internal memory:

- 2x SSD harddisks partitioned and the partitions are used depending we are analyzing IOS-XR VM, Admin VM or other existent VMS.

- 1x eUSB partitioned and the partitions, like the previous memory are used per different VMs

- dRAM:16GB utilization it is also distributed over the entire Virtual system

IOS-XR1.PNG

IOS-XR2.PNG

Thanks in advance

Maria

Hi Maria,

 

you can also review this ppt, it has an overview of the eXR solution

slide 12, the SSD/CPU are allocated to the host itself

https://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2020/pdf/R6BGArNQ/TECSPG-3001.pdf

MariaSousa48787
Level 1
Level 1

Hi Tkarnani,

 

could you, kindly, share the ppt or the link to it?

thanks in advance

Maria