[comp.dcom.sys.cisco] 1Mb memory constraints in router?

HANK@BARILVM.BITNET (Hank Nussbacher) (08/13/90)

The cisco comes with 1Mb of memory.  When I do a show mem, I find
about 450K total bytes and of that about 100K-200K in use, leaving
between 200-300K available.  What has happened to the other 500K?
Is that for the software?  How much room will be taken by a full
1023 node Decnet area routing table?  How much room does each access
list take up?  How much room do IP routing tables take up (RIP,
IGRP)?  Have people hit the wall yet of no more memory?  What type
of error messages does the cisco produce when one runs of memory?
 
Thanks,
Hank Nussbacher

dfk@cwi.nl (Daniel Karrenberg) (08/13/90)

  > The cisco comes with 1Mb of memory. 

Well the CSC3 comes with 3MB of memory.  You can also add Multibus
memory although CISCO (at least the Dutch distributor) won't tell you. 
This is of course slower than the memory on the processor card.  But the
memory management keeps them separate and takes Multibus memory only if
it really needs it (for certain non-MCI interfaces) or when processor 
memory runs out.

  > When I do a show mem, I find about 450K total bytes and of that about
  > 100K-200K in use, leaving between 200-300K available.  What has happened
  > to the other 500K?  Is that for the software? 

The software is loaded from EPROM (or your favourite TFTP server) into
RAM.  I am told that 8.2 will have the option of running it from EPROM. 
In my eyes a big plus! 

  > How much room will be taken by a full 1023 node Decnet area routing
  > table?  How much room does each access list take up?  How much room do
  > IP routing tables take up (RIP, IGRP)? 

I have only a vague idea about this.  It would sure be nice if CISCO
published some facts.  It makes "engineering" networks somewhat less
trial and error. What are those 740byte chunks of memory for instance? 

  > Have people hit the wall yet of no more memory?  
  
Yes, your's truly has managed to by turning on moderate IP accounting
(threshold 1000). I now read out the accounting every five minutes and
don`t loose too much data this way. I also have populated some of the 
empty sockets on my NVRAM board to give me another 49152 bytes of
safety cushion. CISCO sells this as CSC-MT "Enhanced Memory Card".

  > What type of error
  > messages does the cisco produce when one runs of memory? 

Well none in particular maybe because there is no memory to log anything :-(.
The thing I watch is the "show buf" output and look for failures
due to memory shortages.  And "show mem" gives you clues about the
state of things as well.

Daniel Karrenberg                    Future Net:  <dfk@cwi.nl>
CWI, Amsterdam                        Oldie Net:  mcsun!dfk
The Netherlands          Because It's There Net:  DFK@MCVAX

jh@tut.fi (Juha Heinanen) (08/14/90)

I have run out of memory when having many interfaces (about 10) and
several routing protocols active on one router.  It printed something
to the console to note the fact.  In 8.2 you should be able to execute
the code directly from the PROM which frees alot of memory at the
expense of some loss in performance.  I would, however, recommend that
you buy csc-3 processor (which has 4MB of memory) for all new routers.

--
--	Juha Heinanen, Tampere Univ. of Technology, Finland
	jh@tut.fi (Internet), tut!jh (UUCP), jh@tut (Bitnet)

BILLW@mathom.cisco.com (WilliamChops Westfield) (08/14/90)

      > The cisco comes with 1Mb of memory. 

    Well the CSC3 comes with 3MB of memory.

Grr.  We never should have called it a csc3.  Some people think that means
it has a 68030 processor, and apparently some people thubk it means that it
has 3 meg of memory.  In actuallity, it is just the third processor that
cisco has built.  It has a 30MHz 68020 and 4Mb of memory.


      > When I do a show mem, I find about 450K total bytes and of that about
      > 100K-200K in use, leaving between 200-300K available. What has happened
      > to the other 500K?  Is that for the software? 

    The software is loaded from EPROM (or your favourite TFTP server) into
    RAM.  I am told that 8.2 will have the option of running it from EPROM. 
    In my eyes a big plus! 

Yes, in the first maintanance release of 8.1 (you don't have to wait for 8.2)
we will run the software directly from ROM.  The slows everything down by a
small fraction (5-10%), but frees up 600K+ of memory.  Shipping NOW, BTW.


Bill Westfield
cisco Systems.
-------

vaf@Valinor.Stanford.EDU (Vince Fuller) (08/14/90)

We ran up against the memory limitations of the 1MB system some time ago. In
at least some of the older versions of the software, not only are no messages
printed, but the router will sometimes silently hang, without rebooting...

	--Vince

norm@hpctn9.corp.hp.com (htam norman) (08/14/90)

>
>We ran up against the memory limitations of the 1MB system some time ago. In
>at least some of the older versions of the software, not only are no messages
>printed, but the router will sometimes silently hang, without rebooting...
>
>	--Vince

  Did you upgrade to the 4MB csc3 processor? Or was there a workaround for
  this memory shortage problem?  We run out of memory on our busier routers,
  and our workaround is to reduce the size of the ip cache table.

htam norman - hewlett packard.