ArticleslgStudy

computer science

Dynamips

Dynamips is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dynamips rather than just read about it. In short: Dynamips is an emulator computer program that was written to emulate Cisco routers. It was developed by Christophe Fillot, who began working on it in August 2005.

Key takeaways

  • Dynamips belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dynamips to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dynamips from memory before moving on to harder problems.

Reference excerpt

Dynamips is an emulator computer program that was written to emulate Cisco routers. It was developed by Christophe Fillot, who began working on it in August 2005. Dynamips runs on FreeBSD, Linux, Mac OS X and Windows. It emulates the hardware of the Cisco series routing platforms by directly booting an actual Cisco IOS software image into the emulator. Dynamips emulates Cisco platforms 1700, 2600, 2691, 3600, 3725, 3745, and 7200. Although Dynamip's original development has been stalled since version 0.2.8-RC2, released in October 2007, development continues through the efforts of the GNS3 project and its volunteers; Dynamips is now up to version 0.2.17 on FreeBSD, 0.2.14-dev on Windows, Linux, and OS X, and remains on version 0.2.8-RC2 on Solaris. There are a few add-ons written for it, the most popular of which is Dynagen; a front-end add-on that allows the use of an INI configuration file to provision Dynamips emulator networks. Another popular add-on is GNS3, a graphical front end for Dynamips and Dynagen. The source code is licensed under the GNU GPL.

Purpose According to the creator, this kind of emulator is useful:

As a training platform with software used in the real world. It would allow people to become more familiar with Cisco devices. For testing and experimenting with features of Cisco IOS. To quickly check configurations that are to be deployed later on physical routers.

Resource utilization Dynamips uses a fair amount of RAM and CPU to accomplish its emulation of the MIPS processor. If one intends to run an IOS image that requires 256 MB of RAM on a real 7200 router, and devotes 256 MB of RAM to your virtual router instance, it will allocate 256 MB of working set memory. Dynamips also allocates (by default) 64 MB of RAM/instance on Unix systems (16 MB on Windows systems) to cache JIT translations. That amount is the total working set size; by default, the amount of your system’s actual RAM used will typically be significantly less. This is because by default Dynamips uses memory-mapped files for the router's virtual memory. In the working directory, you can see temporary “RAM” files equal to the size of the virtual routers’ RAM size. The OS will naturally cache in RAM the sections of the map files that are being used. If a computer has plenty of RAM, set “mmap = false” in the device default or router sections of your labs to disable mmap for those instances. Dynamips also uses a big portion of CPU capacity, because it emulates a router’s CPU instruction-by-instruction. It initially has no way of knowing when the virtual router’s CPU is idle, thus executing all the instructions that make up IOS’s idle routines just as it would execute the instructions that perform “real” work. However, once you have run through the “Idle-PC” process for a given IOS image, CPU utilization decreases drastically.

See also Packet Tracer Network simulation

References

External links Updated Dynamips Source Code Dynamips community Archived 2014-08-08 at the Wayback Machine Dynamips blog GNS3 website Learning Dynamips (Spanish)

Worked examples

Example 1 — a first encounter with Dynamips

Start with the simplest possible case. Write down what Dynamips claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dynamips before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dynamips ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dynamips

In research
Dynamips appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dynamips in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dynamips is common in secondary-school and first-year university syllabi. It links to neighbouring topics Emulation software, so understanding it makes those chapters shorter.
In everyday life
Look for Dynamips outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dynamips” →

How to study Dynamips in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dynamips means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dynamips out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dynamips in simple terms?

Dynamips is an emulator computer program that was written to emulate Cisco routers. It was developed by Christophe Fillot, who began working on it in August 2005.

Why does Dynamips matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dynamips?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dynamips.

Tags

  • Emulation software

Keep exploring