NetWorker: Så här analyserar du IO-prestanda med hjälp av ddboost_precert.log

Summary: Den här artikeln innehåller stegvisa instruktioner om hur du använder precert-io-perf.py Python-skriptet för att analysera I/O-prestanda från ddboost_precert.log-filen. Skriptet beräknar olika statistik för skriv- och läsåtgärder, inklusive varaktighet och dataflöde (MB/s), och ger en omfattande sammanfattning som är begriplig för tekniska och icke-tekniska intressenter. ...

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-loggning är aktiverat som ett felsökningssteg där problem med säkerhetskopiering av NetWorker Client Direct tros vara relaterade till klientens Data Domain DD Boost-bibliotek. Verktyget kan identifiera prestandaproblem från de precert-loggar som samlats in.


Förbereda ddboost_precert.log

Som ett enkelt användningsexempel skapar du ddboost_precert.ini på UNIX-roten eller roten till C:\ för Windows. Filen ska innehålla: 
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
Se artikeln Data Domain: Aktivera DD Boost API-loggning med precert-verktyget (precert-loggar) för fullständig procedurinformation för insamling av precert-loggar. (inloggning till Dells support krävs för att läsa den här artikeln)


Förbereder för att använda skriptet

Nödvändig förhandsåtgärd:  Python 3.x
Ladda ned skriptet från: Lösningar NetWorker-verktyg (dell.com)
  1. Spara skriptet i en arbetskatalog som innehåller precert-loggarna som precert-io-perf.py.
  2. På UNIX-system kontrollerar du att skriptet är körbart: chmod +x precert-io-perf.py
  3. Kör skriptet: ./precert-io-perf.py

Inmatningsprompter

  • Ange den fullständiga sökvägen till DD Boost precert-loggfilen när du uppmanas att göra det.
  • Ange Ja eller Nej när du tillfrågas om du vill inkludera MB/s för varje I/O-åtgärd

Sammanfattning av utdata

Skriptet visar en sammanfattning av skriv- och läsåtgärderna, inklusive:
  • Totalt antal skriv- och läsåtgärder
  • Genomsnittlig skriv- och lästid
  • Högsta och lägsta skriv- och läsvaraktighet tillsammans med deras respektive dataflöde (MB/s)
  • Total skriv- och lästid
  • Procentandel av den totala tiden som ägnas åt skrivning och läsning
  • Genomsnittligt skriv- och läsdataflöde (MB/s)
  • Detaljerade I/O-åtgärder
Skriptloggarna detaljerade I/O-åtgärder till två CSV-filer:
  • io-write.log – innehåller detaljerad information om varje skrivåtgärd
  • io-read.log – innehåller detaljerad information om varje läsåtgärd


Exempel på utdata

# ./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%

Det här exemplet visar hur prestandaproblemet visas med läsåtgärden för data i stället för skrivåtgärderna.

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.