Re: [2.6 patch] add a config option for -Os compilation

From: Ihar 'Philips' Filipau
Date: Sun Oct 19 2003 - 12:06:53 EST


Ihar 'Philips' Filipau wrote:
Wichert Akkerman wrote:

Previously Ihar 'Philips' Filipau wrote:

The goal of kernel is to provide framework for applications to the job well.


I doubt anyone using linux for routing would agree with you.


This is different matter.
This is IO bound task - and I'm not sure how -Os will perform there.
But still this depends on routing protocols and their requirements.

In any way in this case bottleneck is PCI bus (DMA over PCI from NIC to main memory and back). I bet software will show up in timing tests as taking <10% of whole time.


Sorry I mean't calculations and alike will take <10%.
Sure in case of software router 90% of time will be spent in CPU.

--
Ihar 'Philips' Filipau / with best regards from Saarbruecken.
--
"... and for $64000 question, could you get yourself vaguely
familiar with the notion of on-topic posting?"
-- Al Viro @ LKML

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/