Home > Cisco, Computers > Dynamips & high idle cpu

Dynamips & high idle cpu

In using Dynamips while now while I study for my CCNP and discovered that even though with a good idle_pc value, the CPU utilisation spikes after the con session times-out. I initially noticed that once the router boots and you’re prompted ‘Press RETURN to begin!’ and the interfaces normalise, the CPU stays pretty high until you press RETURN to begin the console session. Same goes for when the console session times out.

Running 6 2600s at ~30% processor usage and having one session time out brings the CPU usage up to 90% until I press enter again to clear the ‘you’ve timed-out’ message. If several time out, the overall load goes up pretty quick, 7+ at times.

The key is to just set the exec-timeout to 0 -

Router(config)#line con 0
Router(config-line)#exec-time 0 0

With avoiding the time-outs, I should be able to load twice the number of routers now.

  1. JamesD
    June 11th, 2009 at 00:15 | #1

    Thanks for the useful info. It’s so interesting

  2. alvin
    July 6th, 2009 at 15:57 | #2

    Hey dude you rock

    My idle pc values had been set but the cpu was maxed….. U saved my stress

  1. No trackbacks yet.