[c-nsp] ISR4431 memory usage

Chuck Church chuckchurch at gmail.com
Wed Jun 1 22:32:29 EDT 2016


I don't see a problem with the amount of memory you've got free, and the
biggest block.  1.4 GB free, 1.0GB largest block are a ton of memory for a
full table.

Chuck

-----Original Message-----
From: CiscoNSP List [mailto:CiscoNSP_list at hotmail.com] 
Sent: Wednesday, June 01, 2016 6:05 PM
To: Chuck Church <chuckchurch at gmail.com>; cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] ISR4431 memory usage


Thanks Chuck - Yes, from my experience on the ASR1K's the iosd does consume
a lot of ram...dont have access to one atm, but I dont recall them using as
much as these ISR4431's (With pretty much base conf on them)

sh mem fyr on the 4431

sh mem
                Head    Total(b)     Used(b)     Free(b)   Lowest(b)
Largest(b)
Processor  7F350775C010   1727628752   295329344   1432299408   678975912
1048575908
 lsmpi_io  7F350705A1A8     6295128     6294304         824         824
412
Dynamic heap limit(MB) 1000      Use(MB) 0

I could probably try and squeeze in a full table on the 4431, but it's
looking like 8Gb might be needed to safely do so?

Cheers

________________________________________
From: Chuck Church <chuckchurch at gmail.com>
Sent: Wednesday, 1 June 2016 10:09 PM
To: 'CiscoNSP List'; cisco-nsp at puck.nether.net
Subject: RE: [c-nsp] ISR4431 memory usage

Isn't that normal, for the linux kernel to give most of the RAM to IOSD?
>From inside IOSD is where you need to be concerned.  What does the
traditional 'show mem' tell you, the first few lines?  The 'free' and
'largest' columns are what you are looking for.

Chuck

-----Original Message-----
From: cisco-nsp [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of
CiscoNSP List
Sent: Tuesday, May 31, 2016 10:10 PM
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] ISR4431 memory usage

Hi Everyone,


Purchased a couple of ISR4431's for a small POP,  that has a single
IPTransit service (Currently being handled by an old 2851, taking full table
and default)....obviously full table not necessary, but we had a customer at
this POP that wanted the full table advertised to them, so we needed to take
it from the upstream.


2851 handles the full table no problems - only has 1Gb dram, and is using
~57% ram


The 4431's we purchased to replace the 2851 have (default) 4Gb ram, and I
was a little shocked when I turned them on to see that with virtually no
config on them, they are already using ~83-84% of the ram:


#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

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  3972052  3317944 (84%)   654108 (16%)   1530296 (39%)


sh platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning
Critical        State
----------------------------------------------------------------------------
------------------------
RP0 (ok, active)
H
 Control Processor       5.81%                 100%            90%
95%             H
  DRAM                   3240MB(83%)           3878MB          90%
95%             H
ESP0(ok, active)
H
 QFP
H
  DRAM                   1609582KB(76%)        2097152KB       80%
90%             H
  IRAM                   0KB(0%)               0KB             80%
90%             H


..and iosd looks to be the main user:


#monitor platform software process rp active

top - 09:59:58 up 7 days, 23:38,  0 users,  load average: 0.00, 0.00, 0.00
Tasks: 380 total,   4 running, 376 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.7%us,  1.7%sy,  0.0%ni, 97.6%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   3972052k total,  3324360k used,   647692k free,   211736k buffers
Swap:        0k total,        0k used,        0k free,  1705968k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30505 root      20   0 9830m 161m 113m R   10  4.2   1226:27 fman_fp_image
23117 root      20   0 2205m 709m 341m S    3 18.3 258:15.06 linux_iosd-imag
20408 root      20   0  288m  73m  30m S    2  1.9 192:48.66 bsm
 2142 root      20   0 72468  24m  18m S    1  0.6  69:33.01 iomd



...Now, my question is, can we "safely" take the full table on the
4431's...Ive had a read of the following:
http://www.cisco.com/c/en/us/td/docs/routers/access/4400/troubleshooting/mem
orytroubleshooting/isr4000_mem.html


And it mentions that iosd/memory allocation is allocated as "needed"...but
Im not clear on whether the way the platform allocates memory, will allow us
to take a full table with 4Gb ram.....Im really hoping it will, and we dont
have to upgrade the ram on them?


Cheers.



[http://www.cisco.com/web/fw/i/logo-open-graph.gif]<http://www.cisco.com/c/e
n/us/td/docs/routers/access/4400/troubleshooting/memorytroubleshooting/isr40
00_mem.html>

Memory Troubleshooting Guide for Cisco 4000 Series
ISRs<http://www.cisco.com/c/en/us/td/docs/routers/access/4400/troubleshootin
g/memorytroubleshooting/isr4000_mem.html>
www.cisco.com
DRAM for Cisco 4300 Series ISRs . Cisco 4300 ISR platforms use 1600MHz DIMMs
for memory. The platforms have one or two DIMM slots for main system memory.




_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list