Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

STORPORT

Gary_Little-3Gary_Little-3 Member Posts: 1,208
Under SCSIPORT you could modify the size of your SG list using
MaximumSGList registry value. You could also control the number of requests
per LUN using another registry value which was something like
NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
set the number of requests per LUN under STORPORT, and if so what's the
right name of the value?



Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    It's not in the registry. You call StorPortSetDeviceQueueDepth.

    MaximumSGList doesn't work for StorPort - it doesn't read it. You just
    put what you want in NumberOfPhysicalBreaks.

    Jerry.




    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com
    05/25/2010 10:54 AM
    Please respond to
    "Windows System Software Devs Interest List"


    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    [ntdev] STORPORT






    Under SCSIPORT you could modify the size of your SG list using
    MaximumSGList registry value. You could also control the number of
    requests per LUN using another registry value which was something like
    NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
    set the number of requests per LUN under STORPORT, and if so what?s the
    right name of the value?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net



    __________ Information from ESET Smart Security, version of virus
    signature database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

    ---
    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
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    When I first read your request, I was thinking you were working on a
    ScsiPort miniport. If that's not the case, then some HBA vendors may
    actually be reading the MaximumSGList entry and processing it correctly
    themselves (ours does) and therefore it would work. Some vendors may also
    have an Execution Throttle NVRAM setting or something like that (ours also
    does).

    Jerry,




    xxxxx@attotech.com
    Sent by: xxxxx@lists.osr.com
    05/25/2010 11:57 AM
    Please respond to
    "Windows System Software Devs Interest List"


    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    Re: [ntdev] STORPORT







    It's not in the registry. You call StorPortSetDeviceQueueDepth.

    MaximumSGList doesn't work for StorPort - it doesn't read it. You just
    put what you want in NumberOfPhysicalBreaks.

    Jerry.



    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com
    05/25/2010 10:54 AM

    Please respond to
    "Windows System Software Devs Interest List"


    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    [ntdev] STORPORT








    Under SCSIPORT you could modify the size of your SG list using
    MaximumSGList registry value. You could also control the number of
    requests per LUN using another registry value which was something like
    NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
    set the number of requests per LUN under STORPORT, and if so what?s the
    right name of the value?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net



    __________ Information from ESET Smart Security, version of virus
    signature database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

    ---
    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
    --- 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
  • Gary_Little-3Gary_Little-3 Member Posts: 1,208
    Jerry,



    Actually, I'm attempting to solve a problem where a client is streaming
    32Meg chunks to a SAS expander using 16 SATA drives in a RAID and gettiing
    delays in excess of 1 second at times. No driver work, yet, is invovled.
    From earlier storage work I remembered those "tweaks", but that was for
    SCSIPORT and almost 10 years ago.



    NumberOfPhysicalBreaks, is that in the same registry path as MaximumSGList?



    Gary G. Little

    H (952) 223-1349

    C (952) 454-4629

    xxxxx@comcast.net







    From: xxxxx@lists.osr.com
    [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@attotech.com
    Sent: Tuesday, May 25, 2010 2:12 PM
    To: Windows System Software Devs Interest List
    Subject: Re: [ntdev] STORPORT




    When I first read your request, I was thinking you were working on a
    ScsiPort miniport. If that's not the case, then some HBA vendors may
    actually be reading the MaximumSGList entry and processing it correctly
    themselves (ours does) and therefore it would work. Some vendors may also
    have an Execution Throttle NVRAM setting or something like that (ours also
    does).

    Jerry,





    xxxxx@attotech.com
    Sent by: xxxxx@lists.osr.com

    05/25/2010 11:57 AM


    Please respond to
    "Windows System Software Devs Interest List"


    To

    "Windows System Software Devs Interest List"


    cc



    Subject

    Re: [ntdev] STORPORT









    It's not in the registry. You call StorPortSetDeviceQueueDepth.

    MaximumSGList doesn't work for StorPort - it doesn't read it. You just put
    what you want in NumberOfPhysicalBreaks.

    Jerry.




    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com

    05/25/2010 10:54 AM


    Please respond to
    "Windows System Software Devs Interest List"


    To

    "Windows System Software Devs Interest List"


    cc



    Subject

    [ntdev] STORPORT









    Under SCSIPORT you could modify the size of your SG list using
    MaximumSGList registry value. You could also control the number of requests
    per LUN using another registry value which was something like
    NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
    set the number of requests per LUN under STORPORT, and if so what's the
    right name of the value?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net




    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

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

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

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

    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________



    The message was checked by ESET Smart Security.



    http://www.eset.com
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Well, NumberOfPhysicalBraaks is the element that the miniport sets in the
    PORT_CONFIGURATION_INFORMATION structure., so it's not a registry entry.
    Some StorPort HBA drivers may read the MaximumSGList registry entry and
    put it in there - the StorPort port driver doesn't, but ScsiPort does.

    I believe that StorPort used a default queue depth of something like 20
    unless the miniport calls StorPortSetDeviceQueueDepth.

    One second delays seems messy. Have they tried SAS drives? I work mostly
    in Fibre Channel, but we have others who work with SAS/SATA. I'll ask if
    this is reasonable.

    Jerry.




    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com
    05/25/2010 01:42 PM
    Please respond to
    "Windows System Software Devs Interest List"


    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    RE: [ntdev] STORPORT






    Jerry,

    Actually, I?m attempting to solve a problem where a client is streaming
    32Meg chunks to a SAS expander using 16 SATA drives in a RAID and
    gettiing delays in excess of 1 second at times. No driver work, yet, is
    invovled. From earlier storage work I remembered those ?tweaks?, but that
    was for SCSIPORT and almost 10 years ago.

    NumberOfPhysicalBreaks, is that in the same registry path as
    MaximumSGList?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net



    From: xxxxx@lists.osr.com
    [mailto:xxxxx@lists.osr.com] On Behalf Of
    xxxxx@attotech.com
    Sent: Tuesday, May 25, 2010 2:12 PM
    To: Windows System Software Devs Interest List
    Subject: Re: [ntdev] STORPORT


    When I first read your request, I was thinking you were working on a
    ScsiPort miniport. If that's not the case, then some HBA vendors may
    actually be reading the MaximumSGList entry and processing it correctly
    themselves (ours does) and therefore it would work. Some vendors may also
    have an Execution Throttle NVRAM setting or something like that (ours also
    does).

    Jerry,



    xxxxx@attotech.com
    Sent by: xxxxx@lists.osr.com
    05/25/2010 11:57 AM


    Please respond to
    "Windows System Software Devs Interest List"



    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    Re: [ntdev] STORPORT










    It's not in the registry. You call StorPortSetDeviceQueueDepth.

    MaximumSGList doesn't work for StorPort - it doesn't read it. You just
    put what you want in NumberOfPhysicalBreaks.

    Jerry.


    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com
    05/25/2010 10:54 AM


    Please respond to
    "Windows System Software Devs Interest List"



    To
    "Windows System Software Devs Interest List"
    cc

    Subject
    [ntdev] STORPORT










    Under SCSIPORT you could modify the size of your SG list using
    MaximumSGList registry value. You could also control the number of
    requests per LUN using another registry value which was something like
    NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
    set the number of requests per LUN under STORPORT, and if so what?s the
    right name of the value?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net



    __________ Information from ESET Smart Security, version of virus
    signature database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

    ---
    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
    --- 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
    --- 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
    __________ Information from ESET Smart Security, version of virus
    signature database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com


    __________ Information from ESET Smart Security, version of virus
    signature database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

    ---
    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
  • Gary_Little-3Gary_Little-3 Member Posts: 1,208
    No they haven't used SAS drives, since they want to use SATA drives and SAS
    drives are more expensive. I could see 1+ second delays on the boot driver
    when the pagefile is being accessed. My thinking was to increase the size of
    IO block to at least 1 meg, but given STORPORT does not use MSGL that may
    not help. I'll have them investigate the NVRAM possibilities to increase the
    block size. Thanks Jerry.





    Gary G. Little

    H (952) 223-1349

    C (952) 454-4629

    xxxxx@comcast.net







    From: xxxxx@lists.osr.com
    [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@attotech.com
    Sent: Tuesday, May 25, 2010 3:54 PM
    To: Windows System Software Devs Interest List
    Subject: RE: [ntdev] STORPORT




    Well, NumberOfPhysicalBraaks is the element that the miniport sets in the
    PORT_CONFIGURATION_INFORMATION structure., so it's not a registry entry.
    Some StorPort HBA drivers may read the MaximumSGList registry entry and put
    it in there - the StorPort port driver doesn't, but ScsiPort does.

    I believe that StorPort used a default queue depth of something like 20
    unless the miniport calls StorPortSetDeviceQueueDepth.

    One second delays seems messy. Have they tried SAS drives? I work mostly
    in Fibre Channel, but we have others who work with SAS/SATA. I'll ask if
    this is reasonable.

    Jerry.





    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com

    05/25/2010 01:42 PM


    Please respond to
    "Windows System Software Devs Interest List"


    To

    "Windows System Software Devs Interest List"


    cc



    Subject

    RE: [ntdev] STORPORT








    Jerry,

    Actually, I'm attempting to solve a problem where a client is streaming
    32Meg chunks to a SAS expander using 16 SATA drives in a RAID and gettiing
    delays in excess of 1 second at times. No driver work, yet, is invovled.
    From earlier storage work I remembered those "tweaks", but that was for
    SCSIPORT and almost 10 years ago.

    NumberOfPhysicalBreaks, is that in the same registry path as MaximumSGList?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net



    From: xxxxx@lists.osr.com
    [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@attotech.com
    Sent: Tuesday, May 25, 2010 2:12 PM
    To: Windows System Software Devs Interest List
    Subject: Re: [ntdev] STORPORT


    When I first read your request, I was thinking you were working on a
    ScsiPort miniport. If that's not the case, then some HBA vendors may
    actually be reading the MaximumSGList entry and processing it correctly
    themselves (ours does) and therefore it would work. Some vendors may also
    have an Execution Throttle NVRAM setting or something like that (ours also
    does).

    Jerry,


    xxxxx@attotech.com
    Sent by: xxxxx@lists.osr.com

    05/25/2010 11:57 AM




    Please respond to
    "Windows System Software Devs Interest List"




    To

    "Windows System Software Devs Interest List"


    cc



    Subject

    Re: [ntdev] STORPORT













    It's not in the registry. You call StorPortSetDeviceQueueDepth.

    MaximumSGList doesn't work for StorPort - it doesn't read it. You just put
    what you want in NumberOfPhysicalBreaks.

    Jerry.


    "Gary G. Little"
    Sent by: xxxxx@lists.osr.com

    05/25/2010 10:54 AM




    Please respond to
    "Windows System Software Devs Interest List"




    To

    "Windows System Software Devs Interest List"


    cc



    Subject

    [ntdev] STORPORT













    Under SCSIPORT you could modify the size of your SG list using
    MaximumSGList registry value. You could also control the number of requests
    per LUN using another registry value which was something like
    NumberRequestPerLUN (???). I know Max SGL is still valid but can you still
    set the number of requests per LUN under STORPORT, and if so what's the
    right name of the value?

    Gary G. Little
    H (952) 223-1349
    C (952) 454-4629
    xxxxx@comcast.net




    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

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

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

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

    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________


    The message was checked by ESET Smart Security.


    http://www.eset.com



    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

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

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

    __________ Information from ESET Smart Security, version of virus signature
    database 5145 (20100525) __________



    The message was checked by ESET Smart Security.



    http://www.eset.com
  • Maxim_S._ShatskihMaxim_S._Shatskih Member Posts: 10,396
    >expander using 16 SATA drives in a RAID and gettiing delays in excess of 1 second at times.

    Looks like bus resets on hang request timeout.

    --
    Maxim S. Shatskih
    Windows DDK MVP
    xxxxx@storagecraft.com
    http://www.storagecraft.com
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA