NetWorker:如何使用 ddboost_precert.log 分析 IO 效能
Summary: 本文提供如何使用 precert-io-perf.py Python 指令檔從 ddboost_precert.log 檔案分析 I/O 效能的逐步指示。該腳本計算寫入和讀取操作的各種統計資訊,包括持續時間和輸送量 (MB/s),並提供技術和非技術利益相關者可以理解的全面摘要。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
在 NetWorker Client Direct 備份問題被認為與用戶端的 Data Domain DD Boost 程式庫有關的情況下,會啟用預先認證紀錄記錄作為故障診斷步驟。此公用程式可以從收集的 precert 記錄中識別效能問題。
作為一個簡單的使用範例,創建
先決條件: Python 3.x
從以下位置下載指令檔:解決方案 NetWorker 工具 (dell.com)
此示例演示性能問題如何在數據的讀取操作而不是寫入操作中出現。
準備ddboost_precert.log
作為一個簡單的使用範例,創建 ddboost_precert.ini 在 UNIX 根目錄上,或 Windows 的 C:\ 根目錄上。檔案應包含:
precert_enabled=true num_log_files=4 log_file_size=512 log_file_name=ddboost_precert.log log_file_dir=/DDLog ddcl_logs_include=true ddcl_logs_sev=4請參閱文章 Data Domain:使用 precert 工具啟用 DD Boost API 紀錄 (precert 記錄),以取得收集 precert 記錄的完整程序詳細資料。(需要登入 Dell 支援才能檢視此文章)
準備使用文稿
先決條件: Python 3.x
從以下位置下載指令檔:解決方案 NetWorker 工具 (dell.com)
- 將指令檔儲存至含有 precert 記錄的工作目錄
precert-io-perf.py。 - 在 UNIX 系統上,請確定指令檔可執行:
chmod +x precert-io-perf.py - 執行指令檔:
./precert-io-perf.py
輸入提示
- 出現提示時,輸入 DD Boost precert 記錄檔的完整路徑。
- 當系統提示是否要為每個 I/O 作業包括 MB/s 時,輸入是或否
輸出摘要
此指令檔會顯示寫入和讀取作業的摘要,包括:- 寫入和讀取操作的總數
- 平均寫入和讀取持續時間
- 最大和最小寫入和讀取持續時間及其各自的輸送量 (MB/s)
- 總寫入和讀取時間
- 花在書寫和讀取上的總時間百分比
- 平均寫入和讀取輸送量 (MB/s)
- 詳細的 I/O 作業
- io-write.log - 包含每個寫入操作的詳細資訊
- io-read.log - 包含每個讀取操作的詳細資訊
輸出範例
# ./precert-io-perf.py Please enter the full path to the log file: ./ddboost_precert.log Do you want to include MB/s for each I/O operation? (yes/no): yes Write Durations Summary: Total number of write operations: 2646 Average write duration: 0.005389 seconds Maximum write duration: 0.041000 seconds (24.39 MB/s) Minimum write duration: 0.000001 seconds (1000000.00 MB/s) Total write time: 14.259001 seconds Percentage of total time spent on writes: 22.99% Average write throughput: 185.566997 MB/s Note: High MB/s values for very short durations indicate efficient operations. Read Durations Summary: Total number of read operations: 2651 Average read duration: 0.018018 seconds Maximum read duration: 31.838000 seconds (0.03 MB/s) Minimum read duration: 0.001000 seconds (1000.00 MB/s) Total read time: 47.766000 seconds Percentage of total time spent on reads: 77.01% Average read throughput: 55.499728 MB/s Note: High MB/s values for very short durations indicate efficient operations. Top 20 Slowest Write I/O Operations: 1. I/O Number: 608, Duration: 0.041000 seconds, MB/s: 24.39 2. I/O Number: 2276, Duration: 0.038000 seconds, MB/s: 26.32 3. I/O Number: 1548, Duration: 0.025000 seconds, MB/s: 40.00 4. I/O Number: 2076, Duration: 0.025000 seconds, MB/s: 40.00 5. I/O Number: 636, Duration: 0.024000 seconds, MB/s: 41.67 6. I/O Number: 195, Duration: 0.023000 seconds, MB/s: 43.48 7. I/O Number: 892, Duration: 0.023000 seconds, MB/s: 43.48 8. I/O Number: 1451, Duration: 0.023000 seconds, MB/s: 43.48 9. I/O Number: 1539, Duration: 0.023000 seconds, MB/s: 43.48 10. I/O Number: 1987, Duration: 0.023000 seconds, MB/s: 43.48 11. I/O Number: 604, Duration: 0.022000 seconds, MB/s: 45.45 12. I/O Number: 896, Duration: 0.022000 seconds, MB/s: 45.45 13. I/O Number: 1283, Duration: 0.022000 seconds, MB/s: 45.45 14. I/O Number: 1532, Duration: 0.022000 seconds, MB/s: 45.45 15. I/O Number: 1544, Duration: 0.022000 seconds, MB/s: 45.45 16. I/O Number: 595, Duration: 0.021000 seconds, MB/s: 47.62 17. I/O Number: 616, Duration: 0.021000 seconds, MB/s: 47.62 18. I/O Number: 652, Duration: 0.021000 seconds, MB/s: 47.62 19. I/O Number: 1512, Duration: 0.021000 seconds, MB/s: 47.62 20. I/O Number: 1552, Duration: 0.021000 seconds, MB/s: 47.62 Top 20 Slowest Read I/O Operations: 1. I/O Number: 5900, Duration: 31.838000 seconds, MB/s: 0.03 2. I/O Number: 1614, Duration: 0.041000 seconds, MB/s: 24.39 3. I/O Number: 4950, Duration: 0.039000 seconds, MB/s: 25.64 4. I/O Number: 4550, Duration: 0.026000 seconds, MB/s: 38.46 5. I/O Number: 1670, Duration: 0.025000 seconds, MB/s: 40.00 6. I/O Number: 3494, Duration: 0.025000 seconds, MB/s: 40.00 7. I/O Number: 788, Duration: 0.023000 seconds, MB/s: 43.48 8. I/O Number: 1606, Duration: 0.023000 seconds, MB/s: 43.48 9. I/O Number: 2182, Duration: 0.023000 seconds, MB/s: 43.48 10. I/O Number: 3300, Duration: 0.023000 seconds, MB/s: 43.48 11. I/O Number: 3476, Duration: 0.023000 seconds, MB/s: 43.48 12. I/O Number: 3486, Duration: 0.023000 seconds, MB/s: 43.48 13. I/O Number: 4372, Duration: 0.023000 seconds, MB/s: 43.48 14. I/O Number: 2190, Duration: 0.022000 seconds, MB/s: 45.45 15. I/O Number: 2964, Duration: 0.022000 seconds, MB/s: 45.45 16. I/O Number: 3422, Duration: 0.022000 seconds, MB/s: 45.45 17. I/O Number: 3462, Duration: 0.022000 seconds, MB/s: 45.45 18. I/O Number: 4628, Duration: 0.022000 seconds, MB/s: 45.45 19. I/O Number: 5548, Duration: 0.022000 seconds, MB/s: 45.45 20. I/O Number: 1588, Duration: 0.021000 seconds, MB/s: 47.62 Detailed I/O operations have been logged to io-write.log and io-read.log example of above analysis: Percentage of total time spent on writes: 22.99% Percentage of total time spent on reads: 77.01%
此示例演示性能問題如何在數據的讀取操作而不是寫入操作中出現。
Affected Products
Data Domain Boost, NetWorkerArticle Properties
Article Number: 000227597
Article Type: How To
Last Modified: 05 Sep 2024
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.