How to minimize CPU utilization when using Dynamips/GNS3 (idlepc + idlemax)

This is my experiment in minimizing the CPU usage when working on GNS3/Dynamips. On this experiment I have use the Internetwork Expert Topology (INE) Version 5 which has 13 routers and uses 3725 IOS images.

If you need the topology just visit INE Website.

INE IOS on PC

INETopology

For this experiment I already obtain the ideal idlepc of the IOS version the topology uses.

This is the what inside the .NET file.


autostart = False
[localhost:7202]
workingdir = C:Gns3workingDIR
udp = 12000
[[3725]]
image = C:Gns3IOSc3725-adventerprisek9-mz.124-15.T5.bin
ram = 128
ghostios = True
idlepc = 0x60bed2e0


CPU-No-IDLEMAX

On the above .NET file I’m only using the idlepc to minimize the CPU usage. If you check the Task Manager we are using about 30% Utilization of the CPU for only the initial configuration of the INE Topology.
Now  this is the .NET file which the idlepc+idlemax are use.


autostart = False
[localhost:7202]
workingdir = C:Gns3workingDIR
udp = 12000
[[3725]]
image = C:Gns3IOSc3725-adventerprisek9-mz.124-15.T5.bin
ram = 128
ghostios = True
idlepc = 0x60bed2e0
idlemax = 100


 

CPU-With-IDLEMAX

Wow…. The CPU utilization is only 3% which is 1/10th when using only the idlepc setting for the .NET file.

This just show that the combination of idlepc+idlemax is very useful when using GNS3/Dynamips.

PC Spec:
– Core i5-650
– 4GB Mem
– WinXP SP3

WARNING: If you’re IGP neighbors are becoming unstable adjust the idlemax to a higher value.
// < ![CDATA[
//

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.