cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2391
Views
0
Helpful
4
Replies

How can I calculate the routers'usage of memory?

How can I calculate the routers'usage of memory?

Example:

I entered "show proce mem" in the router,then ,

Router2821#show processes memory

Processor Pool Total: 213654736 Used: 9967864 Free: 203686872

I/O Pool Total: 10485760 Used: 2547456 Free: 7938304

What should I do next?

2 Accepted Solutions

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Hu,

memory can be seen as used by two parts:

main memory

I/O memory

you can see the total amount of memory in sh ver output.

In your show output we can see:

Used: 9967864 Free: 203686872 of main mem

Used: 2547456 Free: 7938304 of I/0 memory

total I/O memory should be:

2547456 + 7938304 = 10485760 10 MB

total main memory:

9967864 + 203686872 = 213654736 bytes

Hope to help

Giuseppe

View solution in original post

Hello Hu,

your understanding is correct the I/O memory is used to handle packets received and to be transmitted on the router interfaces and to host the software queues that can be associated to the interfaces.

the main memory is where IOS code runs and where all the used tables are: ip routing table, CEF table, ARP table and so on.

Hope to help

Giuseppe

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Hu,

memory can be seen as used by two parts:

main memory

I/O memory

you can see the total amount of memory in sh ver output.

In your show output we can see:

Used: 9967864 Free: 203686872 of main mem

Used: 2547456 Free: 7938304 of I/0 memory

total I/O memory should be:

2547456 + 7938304 = 10485760 10 MB

total main memory:

9967864 + 203686872 = 213654736 bytes

Hope to help

Giuseppe

Thank you very much!

By the way, what does the I/O memory use for?

I think the main memory is a zone of memory where system's processes run,such as "ip input""exec line""DHCPD"etc.While the I/O memory is the I/O cache or other means?

Am I right?

Hello Hu,

your understanding is correct the I/O memory is used to handle packets received and to be transmitted on the router interfaces and to host the software queues that can be associated to the interfaces.

the main memory is where IOS code runs and where all the used tables are: ip routing table, CEF table, ARP table and so on.

Hope to help

Giuseppe

This really helps!

Review Cisco Networking products for a $25 gift card