[c-nsp] no scheduler max-sched-time

Bruce Pinsky bep at whack.org
Mon Nov 29 15:47:10 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Chambers wrote:
| I noticed the following command configured on a Cisco
| 7206VXR router that was recently upgraded to 12.2(25)S1.
|
| "no scheduler max-sched-time"
|
|
| The CLI gives me the following help information.
|
| Router(config)#scheduler ?
|   max-sched-time    Maximum time scheduler can run without flagging an error
|

There is no formal public documentation that I can find.  However, this
command comes from the introduction of a new CPU HOG (scheduler watchdog)
reporting mechanism that was introduced into 12.2S (as well as 12.0S and
12.2T).  Prior to this new mechanism, CPU HOG's were only reported after a
process would suspend. This is less useful because it does not indicate
where most of the time is being spent to cause the CPU HOG. With the
introduction of the enhancement, a CPU HOG is reported at the moment it
crosses the defined threshold.  The command is used to changed the default
maximum threshold.  Setting the maximum to zero or using the explicit "no"
version of the command disables the capability.

|
| This command only shows up in the configuration if
| "service internal" is configured.  I can't find any
| documentation for the "no scheduler max-sched-time"
| command.  Can anyone point me in the right direction?
|
| I'm mainly curious if this command is harmless or not.
| After reading bug ID CSCdw61805, it appears leaving
| "service internal" configured on a production router
| might be a bad idea by itself.
|

"service internal" does expose a number of commands that can have negative
effects on system operation if used improperly.  This is usually the
motivation for obscuring them with this mode of the parser.  The fact that
most are undocumented is unfortunate because it leaves people to guess at
both what the command does and how detrimental it may or may not be.  There
is a push inside of cisco to eliminate and prevent undocumented commands
going forward, but I can't say when or if the old ones might get done.

- --
=========
bep

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQFBq4rNE1XcgMgrtyYRAouWAJwIuMOu38HtjtBdb9FCfVyOdwgn6wCgry05
TiqF+fCUzCINGaAqbflDr4I=
=+Hwq
-----END PGP SIGNATURE-----


More information about the cisco-nsp mailing list