Hakon, Thanks for the quick reply.The 15000 number came from one of our developers, so I don't know the exact origin of that number, but I can find out if that is important. I did see the 30 second delay myself when selecting our 32-device mode with our FireWire product, so I know the registry issue is real, not theoretical. I'll take a look at the Process Monitor and see what is up.
Thank you, David A. Hoatson Lynx Studio Technology, Inc. www.lynxstudio.com----- Original Message ----- From: "Hakon Strande" <hakons@xxxxxxxxxxxxxxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx> Sent: Friday, November 02, 2007 10:06 AMSubject: [wdmaudiodev] Re: setting sample rate in the control panel in Vista
David, On the audio side we counted 17 values and 2 keys per device endpoint, let's round it up to 20. :-) So 32 devices creates around 640 registry keys/values in audio alone. There may be a furious storm of registry reads/writes on the PNP side too - we are not sure how much, the PnP team would have to be consulted. Also, a device install causes us to use SetupDi which will certainly cause more registry reads to happen as we traverse the device topology introduced by the new device arrival. 15000 seems a little high to me though... is this a REAL or theoretical problem at this point? You can inspect this further by using process monitor during PnP install. http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.m spx Sincerely, Hakon Strande | Windows Sound Team PM -----Original Message----- From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of David A. Hoatson Sent: Thursday, November 01, 2007 9:27 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: setting sample rate in the control panel in VistaIt may help you to install different devices for each format anddisablethe unused formats, so that the format for each device never changes.ButI personally did not like that approach and havent tried that. For the MADI card that would mean for example: 64 channels x 8 different formats x 9 samplerates = 4608 subdevicestoinstall.Is it still true that each device that is installed will setoff a registry access storm that will touch the registry some 15000 times per device? Under XP, we measured an install at around 30 seconds worth of registry access for our hardware with 32 devices. We finally changed our firmware so it will not show 32 devices (even though our hardware can do that) because the delay was unusable. With the sample rate problem on Vista, having to create all these extra "phantom" devices seems like that would make the registry access problem much worse. Thank you, David A. Hoatson Lynx Studio Technology, Inc. www.lynxstudio.com
****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/