[j-nsp] Multi Core on JUNOS?

Saku Ytti saku at ytti.fi
Sat May 9 03:44:32 EDT 2015


On (2015-05-09 09:40 +0300), Jesper Skriver wrote:


> >> On (2015-05-08 20:16 +0200), Mark Tinka wrote:
> >> 
> >> IOS XE uses multiple cores in the data plane, but now that I think about
> >> it, I haven't delved into what their strategy for the RP is. I should ask.
> > 
> > iosd uses several kernel threads, so RP is using more than one core. But it
> > looks like it's role-based, and single ios-xr task itself cannot use multiple
> > core.
> 
> Not true, FIB on XR for example is multithreaded, so are some other processes.

I battled with myself should I repost and fix the mistype, but decided there
was enough context (Mark explicitly stating so, and iosd) to determine I meant
IOS-XE, but I clearly I made a mistake.

So iosd, if you look in ios-xe linux shell it has multiple threads, but their
cpu time is significantly different, implying ios tasks themselves are not
actually threaded, rather the 'ios vm' has few processes, which are exposed to
linux as threads. If I'd venture a quess, one thread does all ios tasks, one
threads does punt injection, one does clocking. But these are just guesses.

-- 
  ++ytti


More information about the juniper-nsp mailing list