I agree the term forwarding is vague - this is problably my english imprecission... I mean timing the whole packet path: strating from irq handing through putting into backlog, picking from backlog, handling packet to higher layers (3), dealing with packet header processing (CRC, TTL etc), lookup, classification (for output queueing), forwarding, puting packet to output queue, tx_queue, and hard_dev_xmit et least.... this is what I would like to measure/benchmark (sorry my imprecise english usage). I would like to see how packet size influences certain operations (as mentioned earlier) etc.... let's say having as the output the functions called with its timings ... i would like to start two flows through linux router: PHB EF and BE PHB.. like voip and ftp or so... than i want to analyse what exactly happens ... since my theoretical analysys show delays (or latencies - from packet entering the NIC to going out of the outgoing interface) of hundereds of usec (~200us) while experiments shows 5-10ms !!!!! with CBQ (configured like CBWFQ and LLQ) this is it any help welcomed regards adam -----Original Message----- From: linux-net-owner@vger.kernel.org [mailto:linux-net-owner@vger.kernel.org]On Behalf Of Robert Olsson Sent: Friday, June 27, 2003 1:41 PM To: Adam Flizikowski Cc: linux-kernel@vger.kernel.org; linux-net@vger.kernel.org Subject: How to do kernel packet forwarding performance analysys - please comment on my method Adam Flizikowski writes: > > Hello, > > I want to analyze how much time is spent on forwarding process in linux > kernel. > > This is second post but the matter is very important to me. I am dealing > with this for few months now. Hello! "time spent on forwarding" is very vague. Raw forwarding capacity use to be measured in pps (packets per second) and it depends on many things beside hardware as packet size, routing table size, new flows/s etc. You can look at (o)profiles during forwarding. Cheers. --ro - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html