0

複数のスレッドで多数のフロート コンピューティングを実行する SQL Server 2008 R2 Developer エディション用の CLR プラグインを作成しました。それをテストするために、ラップトップ (core 2 duo 6670) を使用し、これらの計算は 2 つのスレッドで実行されました。これにより、CPU の使用率が 100% になりました。

問題は次のとおりです。SQL プロセスが CPU の 100% を占有すると (2 ~ 3 分間)、コンピューターが応答を停止します (カーソルが動かない、時計が更新されない、UI 全体が機能しなくなる)。他のプログラムでは決して起こらなかったので、質問は次のとおりです。「SQL Server は他のサービスよりも高い優先度で実行されますか?」

ありがとう

4

1 に答える 1

2

Taken from http://msdn.microsoft.com/en-us/library/ms188709%28v=sql.100%29.aspx

Use the priority boost option to specify whether Microsoft SQL Server should run at a higher Microsoft Windows 2000 or Windows 2003 scheduling priority than other processes on the same computer. If you set this option to 1, SQL Server runs at a priority base of 13 in the Windows 2000 or Windows Server 2003 scheduler. The default is 0, which is a priority base of 7.

于 2012-06-07T19:23:28.247 に答える