[Xorp-users] CLI spin fix (hack)

Pavlin Radoslavov pavlin at icir.org
Mon Oct 1 10:12:54 PDT 2007


Ben Greear <greearb at candelatech.com> wrote:

> Pavlin Radoslavov wrote:
> > Ben Greear <greearb at candelatech.com> wrote:
> >
> >   
> >> It seems that if you pipe multiple commands into the CLI, it will busy
> >> spin waiting for the previous command to complete.  Since 'commit'
> >> can take multiple seconds when adding an interface, this eats a lot
> >> of CPU.
> >>     
> >
> > Could you clarify what you mean by piping multiple commands into the
> > CLI. Is it when you use multiple "-c <cmd>" arguments after applying
> > your second patch.
> >   
> 
> Yes, or when you do xorpsh < cmd_file.txt
> where cmd_file.txt has several lines in it, like:
> 
> configure
> remove interface foo
> commit
> ...
> exit
> exit

Could you send me the exact initial config.boot and the cmd_file.txt
configuration files you are using in your testing, so we can have a
calibration point.

Thanks,
Pavlin



More information about the Xorp-users mailing list