沒有簡單的 Powershell 指令可以查目前 SSD 與 HDD 使用率概況
但是可以在系統進行 Hot Data 分析遷移的時候使他產生報表
辦法要修改 Windows 預設的工作排程命令
首先找到工作排程類別:
- Task Scheduler
- Task Scheduler Library
- Microsoft
- Windows
- Storage Tiers Management
選取 Storage Tiers Optimization 項目
其 Actions 內容預設為
- %windir%\system32\defrag.exe -c -h -g -#
將他修改如下
- cmd /c C:\Windows\System32\defrag.exe /c /h /g /# > C:\StorageReports\StorageTiersOptimization.txt
報表長這樣:
Microsoft Drive Optimizer
Copyright (c) 2013 Microsoft Corp.
Invoking tier optimization on TieredStorage (D:)...
The operation completed successfully.
Post Defragmentation Report:
Volume Information:
Volume size = 499.81 GB
Free space = 354.31 GB
Storage Tier Optimization Report:
% I/Os Serviced from SSD SSD Tier Size Required
100% 27.92 GB *
95% 19.60 GB
90% 14.43 GB
85% 11.12 GB
80% 8.75 GB
75% 6.91 GB
70% 5.52 GB
65% 4.44 GB
60% 3.59 GB
55% 2.91 GB
50% 2.37 GB
45% 1.91 GB
40% 1.52 GB
35% 1.19 GB
30% 940.56 MB
25% 691.68 MB
20% 477.31 MB
15% 294.31 MB
10% 148.06 MB
5% 48.00 MB
* Current size of the faster (SSD) tier: 99.87 GB
Percent of total I/Os serviced from the SSD tier: 72%
Size of files pinned to the SSD tier: 0 bytes
Percent of total I/Os: 0%
Size of files pinned to the HDD tier: 0 bytes
Percent of total I/Os: 0%
沒有留言:
張貼留言