Your best source of information and news about microsoft , windows vista and vista on the internet حسابك أفضل مصدر للمعلومات واخبار عن مايكروسوفت ، ويندوز فيستا ويندوز فيستا على شبكة الإنترنت

Vista ARTICLES مقالات فيستا TOP 50 أفضل 50 Spyware Virus فيروس برامج التجسس Vista SOFT ميسر فيستا Vista HELP فيستا مساعدة

Problems with QueryPerformanceCounter on Windows Server 2003 Multi-Processor Hyper-V guests? مشاكل مع QueryPerformanceCounter على ويندوز سيرفر 2003 المعالجات المتعددة الإفراط في الخامس الضيوف؟ Here’s why. اليك السبب.


A friend of mine from another group came to me with a problem he’s been having on some Windows Server 2003 guests. وهناك صديق لي من مجموعة أخرى جاءت لمشكلة لي مع انه تم على وجود بعض الضيوف ويندوز سيرفر 2003.

They’re doing some nifty stuff with the .NET يفعلونه بعض الاشياء مع أنيق. صافي Stopwatch() ساعة توقيت () class, and some WPF animations, which uses the الطبقة ، وبعض الرسوم المتحركة لبرنامج الأغذية العالمي ، الذي يستخدم QueryPerformanceCounter Win32 API to figure out the timing during the animations.  Apparently, when they run their code in Hyper-V, the animations look sort of… not good. Win32 API لمعرفة توقيت خلال الرسوم المتحركة. على ما يبدو ، عندما تتعرض مصالحها للمدوناتها في الإفراط في الخامس ، أن ننظر النوع من الرسوم المتحركة... ليست جيدة.

They’re using Windows Server 2003 SP2 x86, which has been allocated two virtual processors. الذي يستخدمونه ويندوز سيرفر 2003 SP2 x86 ، التي تم تخصيص اثنين من المعالجات الافتراضية.

It turns out that our performance guru, Tony Voellm, has already encountered something like this.  From Tony’s وتبين أن أدائنا جورو ، توني Voellm ، وقد سبق أن صادف شيئا مثل هذا. ومن طوني 's blog post بلوق وظيفة :

The root issue comes about from the Win32 QueryPerformanceCounter function.  By default it uses a time source called the TSC.  This is a CPU time source that essentially counts CPU cycles.  The TSC for each (virtual) processor can be different so there is no guarantee that reading TSC on one processor has anything to do with reading TSC on another processor.  This means back to back reads of TSC on different VP's can actually go backwards. إن جذور المسألة يأتي من Win32 عن وظيفة QueryPerformanceCounter. افتراضيا يستخدم الوقت الذي دعا مصدر التدريبي. وهذا هو مصدر وحدة المعالجة المركزية الوقت أن تعول أساسا دورات وحدة المعالجة المركزية. التدريبي للكل (افتراضية) المعالج يمكن أن تكون مختلفة بحيث لا يوجد ضمان أن قراءة البرنامج على معالج واحد لا شأن لقراءة البرنامج على معالج آخر. وهذا يعني العودة الى ما يلي من البرنامج التدريبي على مختلف نائب الرئيس 'sيمكن في الواقع تعود الى الوراء. Hyper-V guarantees that TSC will not go backwards on a single VP. المفرط الخامس ضمانات بان البرنامج لن تعود الى الوراء على واحد نائب الرئيس.

The fix for this is to modify the guest’s BOOT.INI file by adding the وقد تحدد لهذا هو تعديل ضيفها الملف Boot.ini بإضافة /USEPMTIMER / USEPMTIMER switch to your operating system’s boot entry.  This tells the system to use a different timer for QueryPerformanceCounter-related tasks, and should alleviate the problem. التحول إلى نظام التشغيل الخاص بك 'sالحذاء دخول. يحكي هذا النظام لاستخدام مختلف لQueryPerformanceCounter توقيت المهام المتصلة ، وينبغي تخفيف حدة المشكلة.

Popularity: 1% شعبية : 1 ٪


Written by mikekol. كتبها mikekol. Read more great feeds at is source اقرأ المزيد العظيم هو مصدر في يغذي WEBSITE موقع
no comments لا تعليقات . .
Read more articles on اقرأ المزيد المواد المتعلقة Hyper-V RTM المفرط الخامس الموائد المستديرة and و otherSoftware otherSoftware and و Miscellaneous V متنوعة الخامس . .

Related articles المواد ذات الصلة

No comments لا تعليقات

There are still no comments on this article. لا توجد تعليقات على هذه المادة.

Leave your comment... ترك تعليقك...

If you want to leave your comment on this article, simply fill out the next form: إذا كنت تريد ترك تعليقك على هذه المادة ، لمجرد ملء الشكل التالي :




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . يمكنك استخدام هذه العلامات الأقسام المختلفة : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <code><em><ط > <strike><strong>.