Windows Tips
Jump to navigation
Jump to search
- CPU0 100% load
なぜかこうなる。アクティブなプロセスは無い。(この項目はメモのみ検証はまだやってない)
- Process Explorer で確認すること
Process Explorer
- CPU0 が過負荷になったときは、DPC(Deferred Procedure Calls 遅延プロシージャコール) が食ってる様子。
- どうも Realtek High Definition Audio と Intel HD Graphics 3000 が怪しい感じ。(情報集め中)
自分の環境ではNICの過負荷ではないので以下はメモ的に置いておく。
Kernel CPU 0 100% while CPU 1-8 0% during heavy network traffic
- によると、
about the TCP Chimney Offload, Receive Side Scaling, and Network Direct Memory Access features in Windows Server 2008 to turn off SNP features for Windows Server 2003 and Windows SBS 2003
- (もしネットワークが原因なら...)
netsh int tcp show global netsh int tcp set global chimney=disabled netsh int tcp set global rss=disabled netsh int tcp set global netdma=disabled netsh interface tcp set global autotuninglevel=disabled HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NDIS\Parameters\ProcessorAffinityMask 0
- NIC ドライバーの設定も確認のこと
- パフォーマンスチューニング方向の情報(真逆ですが参考に)
Windows 8, 10, 2012 Server TCP/IP Tweaks
- 掃除
service で windows update を停止して、
C:\Windows\SoftwareDistribution\DataStore\ C:\Windows\SoftwareDistribution\Download\
掃除
- NTFS圧縮解除
compact /u /s:c:\ /i
- Windows 8.1 の MTU 設定
netsh interface ipv4 set subinterface "Wi-Fi" mtu=1422 store=persistent
- 最近の Windows の整合性修復ツール類メモ
- chkdsk /F c: (おなじみ)
- dism /Online /Cleanup-image /Restorehealth
- sfc /scannow
- Windows Server 2008 ターミナル・サービス・ゲートウェイ
- Windows で MacOSX の「ネットワーク環境」のように切り替える
- Windows では Mac のように簡単に、(同一のネットワークインターフェースに)
- 複数のネットワーク設定を切り替える設定用の仕組み(GUIベース)がないようだ。
- 持ち歩いているノート PC で簡単に TCP/IP の設定を変えたい を参考に bat ファイルを作成して対処
- DHCP接続.bat
netsh interface ip set address "ローカル エリア接続" dhcp netsh interface ip set dns "ローカル エリア接続" dhcp
- 会社の固定IP接続.bat
netsh interface ip set address "ローカル エリア接続" static 192.168.1.10 255.255.255.0 192.168.1.1 0 netsh interface ip set dns "ローカル エリア接続" static 192.168.1.1
- VISTAの場合は「管理者として実行」する事
- たんなるメモ21
- apple キーボード (英語) で Windows (VISTA) を Mac ユーザっぽく使う キー配列に変更
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\ BINARYの値 Scancode Map に 00 00 00 00 00 00 00 00 05 00 00 00 1D 00 3A 00 3A 00 1D 00 1D 00 5B E0 38 E0 5C E0 00 00 00 00
00 00 00 00 00 00 00 00 : ヘッダ 05 00 00 00 : 4個のルール+ターミネータ1個 = 05 1D 00 3A 00 : Ctrl(機能を) -> Caps(キーに) 3A 00 1D 00 : Caps(機能を) -> Ctrl(キーに) 1D 00 5B E0 : Ctrl(機能を) -> 左Command(キーに) 38 E0 5C E0 : 右Alt(機能を) -> 右Command(キーに) 00 00 00 00 : ターミネータ
- あとは MS-IME のプロパティでキー設定で IME ON/OFF を Ctrl+SPACE にする
- (Windows Keyつかわないので殺し)
- これでようやく command + Z,X,C,V,A,S,F,G でなれた指もイライラ解消
- (あとは editmode=emacs にしたい...)
- たんなるメモ19
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement\ DWORDの値 DisablePagingExecutive に 1 DWORDの値 IOPageLockLimit に 16進で 40000 DWORDの値 LargeSystemCache に 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl\ DWORDの値 Win32PrioritySeparation に 0
- たんなるメモ16
- ディスク容量不足の警告の抑制
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ DWORDの値 NoLowDiskSpaceChecks に 1
- ディスククリーンアップの圧縮の抑制
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\ キー Compress old files を削除
過去ログ
昔のものは、雑多なメモ