Multiple TDI_SENDs 200ms delay

Hi,

we need to do multiple TDI_SENDs in our TDI client driver. First goes
small header then goes comparably large packet itself. Such a behaviour
results famous 200ms delay in sending the data…

Is there any way to disable this 200ms delay? We’ve played with
TCP_NODELAY but it slows down the sending even more. Changing the logic
(using one send with chained MDLs or whatever) is not possible.

Any ideas?

Thanks for help!

Anton Kolomyeytsev

Anton -

See the following Microsoft knowledge base articles:

Q311833
Q214397

and the following article, which is in the MSDN library. I’m not sure where, maybe you can search for the title:

“Common performance issues in network applications part 1: Interactive applications” by Tom Fout and Art Shelest.

These all address/discuss the 200 ms delay issue.

Ed Lau

MidCore Software, Inc.
900 Straits Tpke
Middlebury, CT 06762

www.midcore.com
----- Original Message -----
From: Anton Kolomyeytsev
To: NT Developers Interest List
Sent: Thursday, November 14, 2002 7:46 AM
Subject: [ntdev] Multiple TDI_SENDs 200ms delay

Hi,

we need to do multiple TDI_SENDs in our TDI client driver. First goes
small header then goes comparably large packet itself. Such a behaviour
results famous 200ms delay in sending the data…

Is there any way to disable this 200ms delay? We’ve played with
TCP_NODELAY but it slows down the sending even more. Changing the logic
(using one send with chained MDLs or whatever) is not possible.

Any ideas?

Thanks for help!

Anton Kolomyeytsev


You are currently subscribed to ntdev as: xxxxx@midcore.com
To unsubscribe send a blank email to %%email.unsub%%

TDI_SEND completes only after an ACK will arrive.

Max

----- Original Message -----
From: “Anton Kolomyeytsev”
To: “NT Developers Interest List”
Sent: Thursday, November 14, 2002 3:46 PM
Subject: [ntdev] Multiple TDI_SENDs 200ms delay

> Hi,
>
> we need to do multiple TDI_SENDs in our TDI client driver. First
goes
> small header then goes comparably large packet itself. Such a
behaviour
> results famous 200ms delay in sending the data…
>
> Is there any way to disable this 200ms delay? We’ve played with
> TCP_NODELAY but it slows down the sending even more. Changing the
logic
> (using one send with chained MDLs or whatever) is not possible.
>
> Any ideas?
>
> Thanks for help!
>
> Anton Kolomyeytsev
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

Max,

does this mean that there is no way to fix this problem “send-send-recv”?

Anton

TDI_SEND completes only after an ACK will arrive.

Max

----- Original Message -----
From: “Anton Kolomyeytsev”
> To: “NT Developers Interest List”
> Sent: Thursday, November 14, 2002 3:46 PM
> Subject: [ntdev] Multiple TDI_SENDs 200ms delay
>
>
> > Hi,
> >
> > we need to do multiple TDI_SENDs in our TDI client driver. First
> goes
> > small header then goes comparably large packet itself. Such a
> behaviour
> > results famous 200ms delay in sending the data…
> >
> > Is there any way to disable this 200ms delay? We’ve played with
> > TCP_NODELAY but it slows down the sending even more. Changing the
> logic
> > (using one send with chained MDLs or whatever) is not possible.
> >
> > Any ideas?
> >
> > Thanks for help!
> >
> > Anton Kolomyeytsev
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >

Merge the sends before TDI_SEND.
Note that TDI_SEND understands MDL chains, not only single MDLs.

Max

----- Original Message -----
From: “Anton Kolomyeytsev”
To: “NT Developers Interest List”
Sent: Sunday, November 17, 2002 2:38 PM
Subject: [ntdev] Re: Multiple TDI_SENDs 200ms delay

> Max,
>
> does this mean that there is no way to fix this problem
“send-send-recv”?
>
> Anton
>
> > TDI_SEND completes only after an ACK will arrive.
> >
> > Max
> >
> > ----- Original Message -----
> > From: “Anton Kolomyeytsev”
> > To: “NT Developers Interest List”
> > Sent: Thursday, November 14, 2002 3:46 PM
> > Subject: [ntdev] Multiple TDI_SENDs 200ms delay
> >
> >
> > > Hi,
> > >
> > > we need to do multiple TDI_SENDs in our TDI client driver. First
> > goes
> > > small header then goes comparably large packet itself. Such a
> > behaviour
> > > results famous 200ms delay in sending the data…
> > >
> > > Is there any way to disable this 200ms delay? We’ve played with
> > > TCP_NODELAY but it slows down the sending even more. Changing
the
> > logic
> > > (using one send with chained MDLs or whatever) is not possible.
> > >
> > > Any ideas?
> > >
> > > Thanks for help!
> > >
> > > Anton Kolomyeytsev
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>