Ndis Intermediate Driver Windows NT 4.0

Hi all

I am working on NDIS Intermediate Driver Sample provided by Microsoft.
What I am doing is instead of sending packets immediately, as we get from
TCP/IP , I am putting it in singly link list and from this link list I send
out in different function.

The function(routine) in which I call NdisSendPackets is Deferred Procedure
Call (DPC). But DPC itself cannot be called before
10 milliseconds and even thread (if I keep )for sending packets cannot be
scheduled before 10 milliseconds.

And it also degrades the performance of bytes transmitted per second
(checked by Performance Monitor on Windows NT).
Without DPC routine it sends at rate of approx. 18Mbps
With DPC routine it sends at rate of approx 224 Kbps

Place of receiving(from TCP/IP) and sending packets to miniport are
different.

Question is :
Is there any way by which i can send packets from that link list before 10
ms with method other than DPC or System thread?
OR there any other way of processing list at faster rate.

Configuration:

Windows NT 4.0 Server
ServicePack 5
DDK (server)
Intel Processor 755Mhz, 127 MB RAM

Thank you in advance

Regards
Deepak


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi all

I am working on NDIS Intermediate Driver Sample provided by Microsoft.
What I am doing is instead of sending packets immediately, as we get from
TCP/IP , I am putting it in singly link list and from this link list I send
out in different function.

The function(routine) in which I call NdisSendPackets is Deferred Procedure
Call (DPC). But DPC itself cannot be called before
10 milliseconds and even thread (if I keep )for sending packets cannot be
scheduled before 10 milliseconds.

And it also degrades the performance of bytes transmitted per second
(checked by Performance Monitor on Windows NT).
Without DPC routine it sends at rate of approx. 18Mbps
With DPC routine it sends at rate of approx 224 Kbps

Place of receiving packets (from TCP/IP) and sending packets to miniport
are different.

Question is :
Is there any way by which i can send packets from that link list before 10
ms with method other than DPC or System thread?
OR there any other way of processing list at faster rate.

Configuration:

Windows NT 4.0 Server
ServicePack 5
DDK (server)
Intel Processor 755Mhz, 127 MB RAM

Thank you in advance

Regards
Deepak


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>But DPC itself cannot be called before 10 milliseconds

Wrong. It is called immediately at the moment of going down from
DISPATCH_LEVEL.

Is there any way by which i can send packets from that link list before 10
ms with method
other than DPC or System thread?

Do you send 1 packet per each DPC call? Rewrite this and send a whole bunch
of them.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I verified it by calling KeQuerySystemTime.
Next time it is called not before 10 milliseconds.

Even in www.sysinternals.com they have mentioned this 10ms resolution in
WindownNT highResolution Timers Topic.

Regards
Deepak

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Sunday, August 12, 2001 9:43 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Ndis Intermediate Driver Windows NT 4.0

But DPC itself cannot be called before 10 milliseconds

Wrong. It is called immediately at the moment of going down from
DISPATCH_LEVEL.

Is there any way by which i can send packets from that link list before 10
ms with method
other than DPC or System thread?

Do you send 1 packet per each DPC call? Rewrite this and send a whole bunch
of them.

Max


You are currently subscribed to ntdev as: xxxxx@patni.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com