Re: Problems wth my own User Mode WDM Audio Driver on Windows 2003

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 10/28/04


Date: Wed, 27 Oct 2004 23:13:25 -0700

just because you are running in kernel mode does not mean that you have
better performance or that your priority is boosted. you may see
improvements by handling i/o completion at dispatch level without having to
wait for the return to passive level, but for what you describe, running
purely in user mode would not have any penalties.

d

-- 
Please do not send e-mail directly to this alias. this alias is for 
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kishore" <Kishore@discussions.microsoft.com> wrote in message 
news:DE584D0E-E8F1-44BA-ACDD-A93C60166070@microsoft.com...
> Kernel mode gives better performance and real time clock
>
> "Guillaume" wrote:
>
>> Maxim S. Shatskih wrote:
>> >>Would kernel mode provide better performance?  Purely academic on my 
>> >>part.
>> >
>> >
>> > For audio, this is not a point anyway. The data flow is too small.
>>
>> Is it? Depends. 6 channels of 24-bit audio @192 kHz requires a very
>> steady data flow of about 3.3 MBytes/s. Not huge, but not what I call
>> too small either, considering the data must be provided without any
>> hitch.
>> 


Relevant Pages

  • Re: Problems wth my own User Mode WDM Audio Driver on Windows 2003
    ... is purely user mode, based on WINMM and works fine. ... > just because you are running in kernel mode does not mean that you have ... > Please do not send e-mail directly to this alias. ... The data flow is too small. ...
    (microsoft.public.development.device.drivers)
  • Re: Problems wth my own User Mode WDM Audio Driver on Windows 2003
    ... > Would kernel mode provide better performance? ... For audio, this is not a point anyway. ... The data flow is too small. ... Maxim Shatskih, Windows DDK MVP ...
    (microsoft.public.development.device.drivers)
  • Re: Problems wth my own User Mode WDM Audio Driver on Windows 2003
    ... Maxim S. Shatskih wrote: ... >>Would kernel mode provide better performance? ... > For audio, this is not a point anyway. ... The data flow is too small. ...
    (microsoft.public.development.device.drivers)
  • Re: Problem! Memory mapping in win2k pnp driver
    ... a kernel mode generated pointer is not accessible to a user mode ... Please do not send e-mail directly to this alias. ... > CM_RESOURCE_LIST structure we got the translated base addresses of the ... > memory we are passing the translated base address to MmMapIoSpace ...
    (microsoft.public.win32.programmer.kernel)
  • Re: newbie: ExAllocatePoolWithTag
    ... "Sam Johnson" wrote in message ... > mode application 'collects' it from kernel mode). ... >>> i think don meant there is no way to allocate PagedPool at dispatch ... >>> Please do not send e-mail directly to this alias. ...
    (microsoft.public.development.device.drivers)