Hi
 
I have a couple of questions - (Maybe this is the wrong list to post the question on, anyway.......)
 
1. What all code is actually part of the network "Interrupt Service Routine" proper? Is it all the stuff upto netif_rx ()??
 
2. Packets are being sent to a 266Mhz pII on a 100Mbps n/w. It has a 100 Mbps Dlink card using the via-rhine driver. Assuming that 1500 byte packets are being sent at the full rate of 100 Mbps, it would mean one 1500 byte packet, and hence one interrupt every 0.12 ms Is that right?
Now,  is the machine capable of servicing one interrupt in this much time? (Keeping in mind the first question - what code is part of the ISR ??). Or is it that you  can never utilise the full 100 Mbps bandwidth on machines ofthis speed?
 
3. How do I reliably measure time in the kernel? I want to know how much time the packet handler (net_bh() + packet_rcv ()) is taking. I tried printing "xtime" within a cli and sti, but it seems the time is not being updated very frequently.
 
 
Thanks
Akshay 
 

Reply via email to