Re: loaded router, excessive getnstimeofday in oprofile

Andi Kleen
2008-08-28T16:54:21Z

On Thu, Aug 28, 2008 at 07:48:52PM +0300, Denys Fedoryshchenko wrote:
> 1)Right now i have 400-500 Mbps passing router. If i will run
> 5 "pings" ,simultaneous ,under _USER_ privileges(i know ping is suid),
> instead of free 20% CPU time, i will have 1-2% free CPU time. Sure i know
> ping is suid program, but it is has been "like this" since long time. By
> security psychos it will be caled DoS.

The skb timestamp overhead does not add up, it's either on or off.
If multiple pings make the router slower it must be something else.

-Andi
--
ak@linux.intel.com