StorPortNotification for RequestTimerCall

I’m using StorPortNotification for RequestTimerCall routine in my storport miniport driver,
and according to document said
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567447(v=vs.85).aspx
that “The system timer resolution is approximately 10 milliseconds.”
is it possible I create a timer with 1ms interval in storport driver?

If you are allowed to call non storport APIs, ExSetTimerResolution can lower the period. But that comes at a cost, especially for laptops on batteries

d

debt from my phone


From: xxxxx@gmail.com
Sent: 6/13/2012 8:21 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] StorPortNotification for RequestTimerCall

I’m using StorPortNotification for RequestTimerCall routine in my storport miniport driver,
and according to document said
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567447(v=vs.85).aspx
that “The system timer resolution is approximately 10 milliseconds.”
is it possible I create a timer with 1ms interval in storport driver?


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

Why do you need such fine resolution for a storage driver?

Thanks,
I just trying to schedule callbacks to function for 1 ms interval,
not exactly 1ms, but just between 0.9~1.1ms is fine

Why do you have such constraints?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, June 13, 2012 10:52 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] StorPortNotification for RequestTimerCall

Thanks,
I just trying to schedule callbacks to function for 1 ms interval, not exactly 1ms, but just between 0.9~1.1ms is fine


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

It’s not going to work on Win8 which comes with a dynamic clock interval
which interrupts not at periodic intervals but only when the OS deems
appropriate. Right ?

//Daniel

“Doron Holan” wrote in message
news:xxxxx@ntdev…
If you are allowed to call non storport APIs, ExSetTimerResolution can lower
the period. But that comes at a cost, especially for laptops on batteries

d

debt from my phone
________________________________
From: xxxxx@gmail.com
Sent: 6/13/2012 8:21 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] StorPortNotification for RequestTimerCall

I’m using StorPortNotification for RequestTimerCall routine in my storport
miniport driver,
and according to document said
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567447(v=vs.85).aspx
that “The system timer resolution is approximately 10 milliseconds.”
is it possible I create a timer with 1ms interval in storport driver?


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

I wouldn’t say that. Clock ticks may be pushed out when there is nobody requiring a timer expiration for an interval longer than the ‘usual’ clock tick is one way to think about it.

That is in turn driven by application and driver usage of timers.

  • S (Msft)

From: xxxxx@resplendence.com
Sent: 6/13/2012 23:31
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] StorPortNotification for RequestTimerCall

It’s not going to work on Win8 which comes with a dynamic clock interval
which interrupts not at periodic intervals but only when the OS deems
appropriate. Right ?

//Daniel

“Doron Holan” wrote in message
news:xxxxx@ntdev…
If you are allowed to call non storport APIs, ExSetTimerResolution can lower
the period. But that comes at a cost, especially for laptops on batteries

d

debt from my phone
________________________________
From: xxxxx@gmail.com
Sent: 6/13/2012 8:21 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] StorPortNotification for RequestTimerCall

I’m using StorPortNotification for RequestTimerCall routine in my storport
miniport driver,
and according to document said
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567447(v=vs.85).aspx
that “The system timer resolution is approximately 10 milliseconds.”
is it possible I create a timer with 1ms interval in storport driver?


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

correct…
BUT there is an institutional change being brought forth on timer and polling hygiene both internal and external to Microsoft with w8. If you want to play in the tablet game or in the server segment where power consumption matters, there are new guidelines to follow

d

debt from my phone


From: Skywing
Sent: 6/13/2012 11:46 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] StorPortNotification for RequestTimerCall

I wouldn’t say that. Clock ticks may be pushed out when there is nobody requiring a timer expiration for an interval longer than the ‘usual’ clock tick is one way to think about it.

That is in turn driven by application and driver usage of timers.

  • S (Msft)

From: xxxxx@resplendence.com
Sent: 6/13/2012 23:31
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] StorPortNotification for RequestTimerCall

It’s not going to work on Win8 which comes with a dynamic clock interval
which interrupts not at periodic intervals but only when the OS deems
appropriate. Right ?

//Daniel

“Doron Holan” wrote in message
news:xxxxx@ntdev…
If you are allowed to call non storport APIs, ExSetTimerResolution can lower
the period. But that comes at a cost, especially for laptops on batteries

d

debt from my phone
________________________________
From: xxxxx@gmail.com
Sent: 6/13/2012 8:21 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] StorPortNotification for RequestTimerCall

I’m using StorPortNotification for RequestTimerCall routine in my storport
miniport driver,
and according to document said
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567447(v=vs.85).aspx
that “The system timer resolution is approximately 10 milliseconds.”
is it possible I create a timer with 1ms interval in storport driver?


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