cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5638
Views
15
Helpful
11
Replies

ASR 1004 Memory

smartboy2255
Level 1
Level 1

Hi All,

   I have ordered RP2 and it will be having 8GB default memory. 

Can you please explain wat is the difference between memory & Physical memory?Since I am able to see only 4GB memory in my ASR 1004.

cisco ASR1004 (RP2) processor with 4275009K/6147K bytes of memory.

15 Gigabit Ethernet interfaces

32768K bytes of non-volatile configuration memory.

8388608K bytes of physical memory.

1873919K bytes of eUSB flash at bootflash:.

78085207K bytes of SATA hard disk at harddisk:.

Configuration register is 0x2102

Expecting quick reply..

Regards,

Ratheesh

11 Replies 11

Marc Faggion
Cisco Employee
Cisco Employee

Hi Ratheesh,

The line 4275009K/6147K bytes of memory is the amount of memory that IOS is allocated when it boots up.

The line 8388608K bytes of physical memory is the amount of memory installed in the the RP of the router.

The difference between the physical memory on the RP and the amount that IOSd can use, is devoted to running the IOS-XE system software. This is hardcoded in the image and there is no way to change the split between IOS and the system.

Marc

Hi all,

I'd like to monitor usage of both memory. I tried to find some oids for phisical, but I found only for IOS allocated memory. Do you know if is it possble?

 

If you are asking about the SNMP OID's I cannot say what they may be. However, from the IOS CLI the way to monitor the memory is to use the command:

show platform software status control-processor brief

This will give you the breakdown of what is actually being used on the various Field Replaceble Units. 

The output looks something like this:

<snip>

Load Average

 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.00   0.00   0.00
 ESP0 Healthy   0.02   0.03   0.08
 ESP1 Healthy   0.00   0.00   0.00
 SIP1 Healthy   0.02   0.01   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  8097836  2572488 (32%)  5525348 (68%)   5273752 (65%)
 ESP0 Healthy  2009436   589692 (29%)  1419744 (71%)    375372 (19%)
 ESP1 Healthy  2009436   587956 (29%)  1421480 (71%)    369088 (18%)
 SIP1 Healthy   969088   248196 (26%)   720892 (74%)    301724 (31%)

<snip>

 

Hello Marc,

 

What if I told you that my ASR1004 has 8GB of RAM however the router only allocates 1.5G to the IOSd? And the SW redundancy is disabled!

 

cisco ASR1004 (RP2) processor (revision RP2) with 1486307K/6147K bytes of memory.
8388608K bytes of physical memory.

 

er2.blu.531.269#show running-config | sec redundancy

redundancy
 mode none

er2.blu.531.269#show platform software status control-processor brief
Load Average
 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.00   0.00   0.00
 ESP0 Healthy   0.00   0.00   0.00
 SIP0 Healthy   0.00   0.00   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  8097480  4501624 (56%)  3595856 (44%)   3243328 (40%)
 ESP0 Healthy  8097460  1394608 (17%)  6702852 (83%)   1140776 (14%)
 SIP0 Healthy   969060   393352 (41%)   575708 (59%)    663936 (69%)

Mem:   8097480k total,  4501328k used,  3596152k free,   243248k buffers

Hi Macho, I have had exactly the same issue. Please see the below reply

Macho,

 

The following is a workaround that I've found so far.

 

Make sure redundancy mode is configured as "none" first, then write memory and restart the box.

 

I think that this case was happening as by default the ASR box allocates the same amount of physical memory that is normally allocated to one ios daemon [In your case 4275009K/6147K], and divide it by two, as it assumes that two iosd processes are needed when redundancy mode is configured with "sso" support for this RP.

 

You have to restart the box in order to force memory reallocation for the RP. 

 

I hope that will help.

 

Thanks,

 

Mina Nasry

Akash Agrawal
Cisco Employee
Cisco Employee
 

Hi,

There is a good CCO link explaining memory allocation in ASR1K to linux and IOS daemon and how to check memory usage for each component.

Normally it is half to each. If you have configured software redundancy as well then to each IOSd you will get half of the memory allocated to IOSd earlier.

So for example total physical memory is 4GB, then 2 GB to linux , 1 GB to 1st IOSd and 1 GB to 2nd IOSd

http://www.cisco.com/c/en/us/support/docs/routers/asr-1000-series-aggregation-services-routers/110739-asr-memory.html

http://www.cisco.com/c/en/us/support/docs/routers/asr-1000-series-aggregation-services-routers/116233-technote-product-00.html

 

Memory Allocation

Cisco IOS® runs as a process, Cisco IOS daemon (IOSd), on top of a Linux kernel on the ASR1000 platform. Linux is the memory manager and allocates a fixed portion of memory for IOSd to use. The amount of memory is split roughly half and half between the Linux kernel and IOSd. 

In order to verify how much physical memory is installed, check the output from theshow version command. In this output, there is 4GB (4194304K) of DRAM installed with 1.7GB (1732016K) allocated to IOSd.

cisco ASR1002 (2RU) processor with 1732016K/6147K bytes of memory.
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.

Check the Processor Pool with the show process memory command in order to verify the total processor IOSd memory. This is the only pool of concern in IOSd:  

------------------ show process memory ------------------
Processor Pool Total: 1773498940 Used: 1069637628 Free:  703861312

There is 1.77GB available for use, as expected. However, this amount is a little less than half because a sizeable portion is used in order to store the large decompressed IOS-XE images.

 

Commands:

------------------


1. show version  --- will give physical memory and memory allocated to IOSd
2. show process memory -------- memory usage on IOSd
3. show platform software status control-processor brief  -------- memory usage on IOS-XE
4. show platform hardware qfp active infrastructure exmem statistics ---------- Check Memory Usage on QFP

 

 

Regards,

Akash

Hello Akash,

 

What if I told you that my ASR1004 has 8GB of RAM however the router only allocates 1.5G to the IOSd? And the SW redundancy is disabled!

 

cisco ASR1004 (RP2) processor (revision RP2) with 1486307K/6147K bytes of memory.
8388608K bytes of physical memory.

 

er2.blu.531.269#show running-config | sec redundancy

redundancy
 mode none

er2.blu.531.269#show platform software status control-processor brief
Load Average
 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.00   0.00   0.00
 ESP0 Healthy   0.00   0.00   0.00
 SIP0 Healthy   0.00   0.00   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  8097480  4501624 (56%)  3595856 (44%)   3243328 (40%)
 ESP0 Healthy  8097460  1394608 (17%)  6702852 (83%)   1140776 (14%)
 SIP0 Healthy   969060   393352 (41%)   575708 (59%)    663936 (69%)

Mem:   8097480k total,  4501328k used,  3596152k free,   243248k buffers

i have the same problem and i dont know how to solve it. tried a lot of ways.

#sh run | section redun
redundancy
mode none

cisco ASR1002-X (2RU-X) processor (revision 2KP) with 3428231K/6147K bytes of memory.
Processor board ID
6 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
16777216K bytes of physical memory.
6688767K bytes of eUSB flash at bootflash:.

Configuration register is 0x2102

Hi macho.pellegrini,

 

Cisco VJ has resolved the issue. Kindly view my thread and find this helpful for you.

It should solve your problem.

 

 

https://supportforums.cisco.com/t5/wan-routing-and-switching/asr1002-x-16gb-router/m-p/3220034#M288446

Thanks. Glad it worked.

Thanks
--Vinit
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card