Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Sun, 4 Jun 2006 19:18:04 +0100,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


HSE_REQ_VECTOR_SEND -- Buffer Alignment   
Is there any advantage to aligning the buffers pasted into 
HSE_REQ_VECTOR_SEND on cache line boundaries, etc.?

Ian
date: Sun, 4 Jun 2006 19:18:04 +0100   author:   Ian am

RE: HSE_REQ_VECTOR_SEND -- Buffer Alignment   
Hi Ian,

What's your purpose to align the buffers? Is this in order to make sure the 
response can be cached in Kernel? 

David had some detailed instruction on this topic. For your reference:

HOWTO: Use the HTTP.SYS Kernel Mode Response Cache with IIS 6 
http://blogs.msdn.com/david.wang/archive/2005/07/07/HOWTO_Use_Kernel_Respons
e_Cache_with_IIS_6.aspx

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 05 Jun 2006 12:19:56 GMT   author:   (WenJun Zhang[msft])

Re: HSE_REQ_VECTOR_SEND -- Buffer Alignment   
I suspect it would probably improve the copying which no doubt happens when 
it gets cached in the kernel, but my reason for asking is that I'm assuming 
that the buffers passed in will eventually be accessed via DMA to send them 
to the network card. If this is the case then is there an advantage in 
aligning them?

Ian


""WenJun Zhang[msft]""  wrote in message 
news:rTgwmpJiGHA.4896@TK2MSFTNGXA01.phx.gbl...
> Hi Ian,
>
> What's your purpose to align the buffers? Is this in order to make sure 
> the
> response can be cached in Kernel?
>
> David had some detailed instruction on this topic. For your reference:
>
> HOWTO: Use the HTTP.SYS Kernel Mode Response Cache with IIS 6
> http://blogs.msdn.com/david.wang/archive/2005/07/07/HOWTO_Use_Kernel_Respons
> e_Cache_with_IIS_6.aspx
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no 
> rights.
>
>
>
date: Thu, 8 Jun 2006 09:49:58 +0100   author:   Ian am

Re: HSE_REQ_VECTOR_SEND -- Buffer Alignment   
Hi Ian,

I'm currently researching this issue and plan on discussing it in our 
internal. Please wait for my update. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 12 Jun 2006 13:45:56 GMT   author:   (WenJun Zhang[msft])

Re: HSE_REQ_VECTOR_SEND -- Buffer Alignment   
Hi Ian,

We are still researching this issue. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Wed, 14 Jun 2006 13:50:28 GMT   author:   (WenJun Zhang[msft])

Re: HSE_REQ_VECTOR_SEND -- Buffer Alignment   
I asked the HTTP.SYS developer involved with this (as well as perf). He 
indicated that the benefit would be very small or none unless you have 
another app/thread writing heavily into the same cache line that the buffer 
resides in and to not worry about cache lining the VectorSend buffers.

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Ian" <Ixpah@newsgroup.nospam> wrote in message 
news:usjyGitiGHA.4572@TK2MSFTNGP05.phx.gbl...
>I suspect it would probably improve the copying which no doubt happens when 
>it gets cached in the kernel, but my reason for asking is that I'm assuming 
>that the buffers passed in will eventually be accessed via DMA to send them 
>to the network card. If this is the case then is there an advantage in 
>aligning them?
>
> Ian
>
>
> ""WenJun Zhang[msft]""  wrote in message 
> news:rTgwmpJiGHA.4896@TK2MSFTNGXA01.phx.gbl...
>> Hi Ian,
>>
>> What's your purpose to align the buffers? Is this in order to make sure 
>> the
>> response can be cached in Kernel?
>>
>> David had some detailed instruction on this topic. For your reference:
>>
>> HOWTO: Use the HTTP.SYS Kernel Mode Response Cache with IIS 6
>> http://blogs.msdn.com/david.wang/archive/2005/07/07/HOWTO_Use_Kernel_Respons
>> e_Cache_with_IIS_6.aspx
>>
>> Best regards,
>>
>> WenJun Zhang
>> Microsoft Online Partner Support
>>
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>>
>>
>>
>
>
date: Thu, 15 Jun 2006 19:10:45 -0700   author:   David Wang [Msft]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us