Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

write memory - CPU Utilization

I have a 1841 running on c1841-spservicesk9-mz.124-7d.

I see more than 80% of CPU utilization soon after saving the configuration(write mem), which lasts for several seconds. Could this lead to a router crash at a particular stage?

Is it due to a bug in IOS?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: write memory - CPU Utilization

Hello Ranil,

the cpu on a router like yours can have these spikes.

About why saving the config can cause a so high cpu usage I think that modern routers that are SDM ready can actually have to create an XML file for the running config, then they have to translate it to a simple text file and to write it on the NVRAM.

So the duty can be now heavier then in the past.

I usually look at the cpu average 1min as the parameter to decide if a router is working fine or it is overloaded.

Hope to help

Giuseppe

6 REPLIES

Re: write memory - CPU Utilization

Router crashes are due to software bugs, not hardware utilization. The 1800's are small routers and use a lower end processor. My 1800's do the same and I have never had a problem with them yet.

Hope that helps.

Hall of Fame Super Silver

Re: write memory - CPU Utilization

Hello Ranil,

if the cpu goes over 80% only for several seconds it shouldn't lead to a router crash.

Is it due to a bug in IOS?

It may be after having seen a bug about HSRP in your other post ...:)

Hope to help

Giuseppe

New Member

Re: write memory - CPU Utilization

Hi Giuseppe,

You are quite right. In fact, I came across another bug which says router crashes when the write memory and

secure boot-image commands are executed simultaneously(Ref: CSCsg69124).

I've been thinking since about a week regarding this high CPU utilization when saving the runnging config.

When I noticed that it consumes lot of processing power, I was a bit suspicious that this symptom also has something to do with the affected image.

So do you mean to say that this normal and expected?

FYI: the average CPU utilization is around 2% at the moment.

Super Bronze

Re: write memory - CPU Utilization

It's likely normal behavior, since many Cisco software based routers spike their CPU when writing to the flash, such as loading a new IOS via tftp or FTP. Plus, the CPU might have to parse out the config before it saves it (often there's a delay before a show run vs. a show config.)

Hall of Fame Super Silver

Re: write memory - CPU Utilization

Hello Ranil,

the cpu on a router like yours can have these spikes.

About why saving the config can cause a so high cpu usage I think that modern routers that are SDM ready can actually have to create an XML file for the running config, then they have to translate it to a simple text file and to write it on the NVRAM.

So the duty can be now heavier then in the past.

I usually look at the cpu average 1min as the parameter to decide if a router is working fine or it is overloaded.

Hope to help

Giuseppe

New Member

Re: write memory - CPU Utilization

Hi,

Many thanks for sharing your experiences and thoughts . I'm convinced that this is expected for an SDM enabled low-end ISR.

I've made an IOS upgrade as well(to correct the HSRP bug); CPU utilization remains the same as it was before.

Regards,

463
Views
10
Helpful
6
Replies