[c-nsp] OSM memory allocating process question
Emanuel Popa
emanuel.popa at gmail.com
Fri Mar 31 05:26:27 EST 2006
Hi,
We have a 7600 router positioned as border router. We have the full
routing table there. One of the linecards in this router is a
OSM-2OC48/1DPT-SS with 128MB of memory. Unfortunately for us, because
of the large FIB:
CWTLC-Slot1#sh memory allocating-process totals | i FIB 1
0x604CD6A8 30718952 912 FIB 1 path chu
0x604A6E20 133880 4 FIB 1 path chunk pool
the OSM run out of memory and DCEF was disabled:
SLOT 4: Mar 31 07:19:34 UTC: %SYS-2-MALLOCFAIL: Memory allocation of
65536 bytes failed from 0x60170024, alignment 16
SLOT 4: Mar 31 07:19:34 UTC: %FIB-3-NOMEM: Malloc Failure, disabling
DCEF on linecard
ROUTER7600#sh cef linecard 4
CEF linecard slot/cpu 4/0, status disabled
Sequence number 0, Maximum sequence number expected 0, Seq Epoch 3
Send failed 0, Out Of Sequence 0, drops 0, Wrong Epoch 0
Linecard CEF reset 2, reloaded 1
481596 elements packed in 38228 messages(19378197 bytes) sent
0 elements cleared
0/0/0 xdr elements in LowQ/MediumQ/HighQ
15293/53/503 peak elements on LowQ/MediumQ/HighQ
Keepalive timer is not running
Input packets 25221870610, bytes 12653592553285
Output packets 2756416929, bytes 1804879415754, drops 0
CEF Table statistics:
Table name Version Prefix-xdr Status
Default 11582484 474591 Active, table-disabled
But, the memory allocation on this linecard looks like this:
CWTLC-Slot4#sh memory allocating-process totals
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 6183D880 92022656 48681248 43341408 126888 11549520
I/O 20000000 16777216 3806952 12970264 12629072 12625400
Allocator PC Summary for: Processor
PC Total Count Name
0x603F4EC8 20447344 2 CWTLC STAT INFO
0x602D8740 6291568 2 SCP Find Master process
0x602D8A74 3604592 2 SCP Find Master process
0x603F4EB0 3145840 2 Init
0x602A0A20 1500056 1 rp if_info
0x604C18B8 1377432 21 Linecard CEF m
0x604597E4 1179648 12288 Init
0x603F2F2C 1080056 1 fr if_info
[...]
Allocator PC Summary for: I/O
PC Total Count Name
0x600ECB70 2952320 5 COMM
0x600E6A54 1055392 338 *Packet Data*
[...]
So, the machine allocates aprox. 87MB of memory for the processor and
16MB of memory for I/O opperations. I want to find out two things:
- is there any way to allocate more memory to the processor and less
memory to the I/O?
- can I see the rest of 25MB of memory and the allocation process?
Of course, an upgrade is necessary and will be done eventually...
Thank you,
Emanuel Popa
More information about the cisco-nsp
mailing list