[c-nsp] ISR4431 memory usage

Chuck Church chuckchurch at gmail.com
Wed Jun 1 08:09:58 EDT 2016


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