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

Precert 로깅은 NetWorker Client Direct 백업 문제가 클라이언트의 Data Domain DD Boost 라이브러리와 관련이 있다고 생각되는 문제 해결 단계로 활성화됩니다. 이 유틸리티는 수집된 사전 인증서 로그에서 성능 문제를 식별할 수 있습니다.


준비 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 툴(precert 로그)로 DD Boost API 로깅을 활성화합니다. (이 문서를 보려면 Dell 지원에 로그인해야 함)


스크립트 사용 준비

필수 구성 요소:  Python 3.x
다음에서 스크립트를 다운로드합니다. 솔루션: NetWorker 툴(dell.com)
  1. 스크립트를 precert 로그가 포함된 작업 디렉토리에 다음과 같이 저장합니다. precert-io-perf.py.
  2. UNIX 시스템에서는 스크립트가 실행 가능한지 확인합니다. chmod +x precert-io-perf.py
  3. 다음 스크립트를 실행합니다. ./precert-io-perf.py

입력 프롬프트

  • 메시지가 표시되면 DD Boost precert 로그 파일의 전체 경로를 입력합니다.
  • 각 I/O 작업에 MB/s를 포함할지 묻는 메시지가 표시되면 또는 아니요 를 입력합니다

출력 요약

스크립트는 다음을 포함한 쓰기 및 읽기 작업의 요약을 표시합니다.
  • 총 쓰기 및 읽기 작업 수
  • 평균 쓰기 및 읽기 지속 시간
  • 최대 및 최소 쓰기 및 읽기 기간과 해당 처리량(MB/s)
  • 총 쓰기 및 읽기 시간입니다.
  • 쓰기 및 읽기에 소요된 총 시간의 비율
  • 평균 쓰기 및 읽기 처리량(MB/s)
  • 세부 I/O 작업
스크립트는 상세 I/O 작업을 두 개의 CSV 파일에 기록합니다.
  • 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, NetWorker
Article 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.