This is a multi-part message in MIME format.

------=_NextPart_000_008D_01BF7257.E4866F40
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=20


------=_NextPart_000_008D_01BF7257.E4866F40
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have a couple of questions - (Maybe this is the =
wrong list=20
to post the question on, anyway.......)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>1. What all code is actually part of the network =
"Interrupt=20
Service Routine" proper? Is it all the stuff upto netif_rx =
()??</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>2. Packets are being sent to a 266Mhz pII on a =
100Mbps n/w. It=20
has a 100 Mbps Dlink card using the via-rhine driver.&nbsp;Assuming that =
1500=20
byte packets are being sent at the full rate of 100 Mbps, it would mean =
one 1500=20
byte packet, and hence one interrupt every 0.12 ms Is that =
right?</FONT></DIV>
<DIV><FONT size=3D2>Now,&nbsp; is the machine capable of servicing one =
interrupt=20
in this much time? (Keeping in mind the first question - what code is =
part of=20
the ISR ??). Or is it that you&nbsp; can never utilise the full 100 Mbps =

bandwidth on machines ofthis speed?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>3. How do I reliably measure time in the kernel? I =
want to=20
know how much time the packet handler (net_bh() +&nbsp;packet_rcv ()) is =
taking.=20
I tried printing "xtime" within a cli and sti, but it seems the time is =
not=20
being updated very frequently.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks</FONT></DIV>
<DIV><FONT size=3D2>Akshay</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_008D_01BF7257.E4866F40--

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to