I was wondering if someone had some insight into the command "show memory heap" in an Adtran 908e. Here is a sample output from my lab device:
Memory Heap:
HeapFree: 394096640
HeapSize: 509648896
Block Managers:
Mgr Size Used Free Max-Used Overhead
(bytes) (blocks) (blocks) (blocks) (bytes)
0 0 2 10 12 384
1 32 49033 12282 61315 1962080
2 96 2885 1002 3887 124384
3 224 2757 251 3008 96256
4 480 828 481 1309 41888
5 992 592 15 607 19424
6 2016 633 75 708 22656
7 4064 46 10 56 1792
8 8160 48 7 55 1760
9 16352 22 6 28 896
10 32736 6 1 7 224
11 65504 5 1 6 192
12 131040 4 0 4 128
13 262112 8 0 8 256
14 524256 2 0 2 64
15 1048544 1 0 1 32
16 2097120 0 0 0 0
17 4194272 0 0 0 0
18 8388576 1 0 1 32
19 16777184 0 0 0 0
Total Overhead (bytes): 2272448
Total Used (bytes): 19293408
Total Free (bytes): 1236512
The way I understand this is that there is about 375 MB of free space on the heap in this box (394096640/1024/1024 = 375.8). Things that would be recorded to the heap are: rtp quality-monitoring stats, voice call history, voice quality-stats, and things of that nature. What I'm not sure about is this block manager section. My assumption is that this is representing the memory stack that is only available to core processes that are displayed with the "show processes stack" command. If this is correct it makes sense to me, with one exception: I have two boxes that I am comparing right now and one of them shows 1236512 bytes free and the other shows 11854528 bytes free, which is a significant difference. They are both running the same R11.10.0.E OS but differ in boot rom, one is R10.9.3.B1 and the other is R10.9.3.B2. Is it that the boot rom allocates more memory to the stack in R10.9.3.B2 than in R10.9.3.B1? Or is it that the boxes are capable of dynamically allocating more memory to the stack if the stack gets too low? Or am I just way off in left field here?
This is all stemming because I want to ensure that I do not over-tax the box if I set the following:
voice quality-stats history max-streams 2000
voice call-history-depth 1000
ip rtp quality-monitoring history max-streams 2000
as well as use packet-capture, exporting through TFTP, on the box for the first week of a new customer turn-up
Hopefully my questions are intelligible and will be useful to someone else out there as well.
Daniel, we don't have any customer facing documentation explaining the block manager portion of that command, but for the most part it's really not relevant to an end user. The most important thing to watch would be "HeapFree", which shows the amount of memory available on the unit.
In terms of the settings, you shouldn't have any issues with those on a 3rd gen 908 like the one you got your output from.
Thanks
Jay