reg. NDIS passthru performance

P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}

Hi,

I am working on a passthru driver. I wanted to send the packets for evey 15ms. It works fine on one of the test system which is loaded with windows XP(RealTek RTL81 39 card). The same driver when loaded on another
test PC with windows XP(RealTek RTL81 69 card), it sends packet only for every 30ms. Could anyone please let me know the possible causes for this delay of 15ms. Any help would be highly appreciated.

 

With Regards,

Subashini V

 

 

 

 

I am sorry. I do not understand what you are describing.

Are you trying to send one packet every 15ms?

Are you trying to send lots of packets (as many as you can) for a 15ms
period?

When you switch to the 8169 card can you only send one packet every 30ms?

Is your IM driver generating packets internally to do this or are these
packets coming from a protocol bound to your (virtual) miniport edge?

How are you measuring the ?time??

What ?event? in your code is used as the epoch to capture ?time? values for
measurement?

Have you considered the possibility that the RTL8139 and the RTL8169 might
have totally different driver / interrupt / packet transfer behavior?

Good Luck,

Dave Cattley

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Subashini
Venkatapathy - ERS, HCL Tech
Sent: Tuesday, December 15, 2009 8:03 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] reg. NDIS passthru performance

Hi,

I am working on a passthru driver. I wanted to send the packets for evey
15ms. It works fine on one of the test system which is loaded with windows
XP(RealTek RTL81 39 card). The same driver when loaded on another test PC
with windows XP(RealTek RTL81 69 card), it sends packet only for every 30ms.
Could anyone please let me know the possible causes for this delay of 15ms.
Any help would be highly appreciated.

With Regards,

Subashini V


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:

To unsubscribe, visit the List Server section of OSR Online at

DISCLAIMER:


The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.



@font-face {
font-family: Cambria Math;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Consolas;
}
@page Section1 {margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
PRE {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"
}
SPAN.HTMLPreformattedChar {
FONT-FAMILY: Consolas
}
SPAN.EmailStyle20 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"
}
.MsoChpDefault {
FONT-SIZE: 10pt
}
DIV.Section1 {

}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}

Hi,

Yes, I am trying to send one packet for every 15ms. When i switch to the 8169 card i am able to send only one packet for every 30ms.

 

These packets are coming to my IM driver from a protocol bound miniport edge. In my IM driver i am doing packet modification and passing it to the miniport.

 

I am measuing the time based on my Ethereal capture by finding the time difference between the two consecutive packets sent.

 

No, i have not considered the possibility that the RTL8139 and the RTL8169 might have totally different driver / interrupt / packet transfer behavior.

I am new to NDIS driver development and i was not aware. Could you please guide me on the factors i need to look into? Thanks!

 

With Regards,

Subashini

 

 

 

 





From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of David R. Cattley [xxxxx@msn.com]

Sent: Tuesday, December 15, 2009 8:23 PM

To: Windows System Software Devs Interest List

Subject: RE: [ntdev] reg. NDIS passthru performance

I am sorry.  I do not understand what you are describing.

 

Are you trying to send one packet every 15ms?

Are you trying to send lots of packets (as many as you can) for a 15ms period?

When you switch to the 8169 card can you only send one packet every 30ms?

 

Is your IM driver generating packets internally to do this or are these packets coming from a protocol bound to your (virtual) miniport edge?

 

How are you measuring the ?time??

What ?event? in your code is used as the epoch to capture ?time? values for measurement?

 

Have you considered the possibility that the RTL8139 and the RTL8169 might have totally different driver / interrupt / packet transfer behavior?

 

Good Luck,

Dave Cattley

 

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Subashini Venkatapathy - ERS, HCL Tech

Sent: Tuesday, December 15, 2009 8:03 AM

To: Windows System Software Devs Interest List

Subject: [ntdev] reg. NDIS passthru performance

 

Hi,

I am working on a passthru driver. I wanted to send the packets for evey 15ms. It works fine on one of the test system which is loaded with windows XP(RealTek RTL81 39 card).
The same driver when loaded on another test PC with windows XP(RealTek RTL81 69 card), it sends packet only for every 30ms. Could anyone please let me know the possible causes for this delay of 15ms. Any help would be highly appreciated.

 

With Regards,

Subashini V

 

 

 

 


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:

http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

|

DISCLAIMER:



-----------------------------------------------------------------------------------------------------------------------



 



The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 



It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 



this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 



Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 



this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 



received this email in error please delete it and notify the sender immediately. Before opening any mail and 



attachments please check them for viruses and defect.



 



-----------------------------------------------------------------------------------------------------------------------

|

 


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:

http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

>In my IM driver i am doing packet modification and passing it to the miniport.

This takes insignificant amount of time, so, you’re OK.

IM will cause perf/timing issues only if it queues the packets and processes them later.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com