NetWorker: Come analizzare le prestazioni di I/O utilizzando ddboost_precert.log
Summary: Questo articolo fornisce istruzioni dettagliate su come utilizzare lo script Python precert-io-perf.py per analizzare le prestazioni di I/O dal file di ddboost_precert.log. Lo script calcola varie statistiche per le operazioni di scrittura e lettura, tra cui durate e throughput (MB/s), e fornisce un riepilogo completo comprensibile per le entità interessate tecniche e non tecniche. ...
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
La registrazione dei precertificati viene abilitata come passaggio di risoluzione dei problemi quando si ritiene che i problemi di backup NetWorker Client Direct siano correlati alla libreria Data Domain DD Boost del client. Questa utilità è in grado di identificare i problemi di prestazioni dai registri precertificati raccolti.
Come semplice esempio di utilizzo, creare
Prerequisiti: Python 3.x
Scaricare lo script da: Soluzioni NetWorker Tools (dell.com)
In questo esempio viene illustrato il modo in cui il problema di prestazioni si verifica con l'operazione di lettura dei dati rispetto alle operazioni di scrittura.
Preparazione ddboost_precert.log
Come semplice esempio di utilizzo, creare ddboost_precert.ini nella radice UNIX o radice di C:\ per Windows. Il file deve contenere:
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=4Consultare l'articolo Data Domain: Abilitare la registrazione API di DD Boost con lo strumento precert (registri precert) per dettagli procedurali completi per la raccolta dei registri precert. (per visualizzare questo articolo è necessario effettuare l'accesso al supporto Dell)
Preparazione all'utilizzo dello script
Prerequisiti: Python 3.x
Scaricare lo script da: Soluzioni NetWorker Tools (dell.com)
- Salvare lo script in una directory di lavoro contenente i registri precert come
precert-io-perf.py. - Nei sistemi UNIX, assicurarsi che lo script sia eseguibile:
chmod +x precert-io-perf.py - Eseguire lo script:
./precert-io-perf.py
Prompt di input
- Quando richiesto, inserire il percorso completo del file di registro precertificato di DD Boost.
- Inserire Yes o No quando viene richiesto se includere MB/s per ogni operazione di I/O
Riepilogo dell'output
Lo script visualizza un riepilogo delle operazioni di scrittura e lettura, tra cui:- Numero totale di operazioni di scrittura e lettura
- Durata media di scrittura e lettura
- Durata massima e minima di scrittura e lettura insieme al rispettivo throughput (MB/s)
- Tempo totale di scrittura e lettura
- Percentuale del tempo totale dedicato alla scrittura e alla lettura
- Throughput medio di scrittura e lettura (MB/s)
- Operazioni I/O dettagliate
- io-write.log: contiene informazioni dettagliate su ciascuna operazione di scrittura.
- io-read.log: contiene informazioni dettagliate su ciascuna operazione di lettura
Output di esempio
# ./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%
In questo esempio viene illustrato il modo in cui il problema di prestazioni si verifica con l'operazione di lettura dei dati rispetto alle operazioni di scrittura.
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.