Ajuste del rendimiento para UNIX/Linux simplificado instrucciones que le permiten llevarlas a cabo....

4
SarCheck ® le facilita su trabajo Si ha tenido alguna vez problemas a la hora de entender cómo configurar autoup, ufs_ninode, tune_t_fsflushr, o cualquier otro parámetro ajustable la solución que busca es SarCheck. SarCheck analiza su sistema UNIX/Linux en busca de posibles cuellos de botella en el rendimiento, como falta de memoria, desequilibrio en la carga del disco, cuellos de botella de la CPU, procesos sin control y parámetros ajustables configurados incorrectamente, y le indica cómo solucionarlos. Análisis del sistema y recomendaciones en un lenguaje sencillo La mayoría de herramientas de rendimiento simplemente controlan los recursos: proporcionan estadísticas sobre cómo utilizar los recursos en varios formatos numéricos y gráficos, pero dejan a su criterio la mayoría del análisis y la interpretación de dichas estadísticas. SarCheck va más allá cuando se trata de ajustar el rendimiento. En lugar de volver a realizar informes de los datos y estadísticas del sistema, SarCheck analiza la información referente a los ficheros /proc e informes sar, resultados ps -elf y otra información recogida del núcleo. También examina los parámetros ajustables del sistema, así como la interacción de éstos entre sí. A continuación, en un informe con un lenguaje sencillo y directo, SarCheck identifica la zona donde se ha producido el problema y recomienda soluciones para corregirlo. Asegure un rendimiento óptimo de su sistema Utilice SarCheck habitualmente para mantener un rendimiento máximo y compruebe cómo evolucionan sus recomendaciones cuando usted agrega más usuarios, actualiza los componentes y el software del sistema, o cuando detecta un cambio en el rendimiento del mismo. Ajuste del rendimiento para UNIX/Linux simplificado SarCheck(TM): Automated Analysis of AIX sar and ps data This is an analysis of the data contained in the file /tmp/rpt. The data was collected on 08/09, from 09:00:00 to 16:40:00, from the RS/6000 IBM Model 7042/7043 (ED) system 'localhost'. There were 46 data records used to produce this analysis. The operating system used to produce the sar report was Release 4.3 of AIX. The operating system as reported by /usr/bin/oslevel is AIX Release 4.3.3.0. 1 processor is configured and 1 processor is online. 64 megabytes of memory are present. Data collected by the ps -elf command on 08/09 from 09:00:00 to 16:40:00, and stored in the file /usr/local/ps/20020809, will also be analyzed. SUMMARY When the data was collected, no CPU bottleneck could be detected. A memory bottleneck was seen. No significant I/O bottleneck was seen. Limits to future growth have been noted in the Capacity Planning section. Some of the defaults used by SarCheck's rules have been overridden using the sarcheck_parms file. See the Custom Settings section of the report for more information. RECOMMENDATIONS SECTION All recommendations contained in this report are based solely on the conditions which were present when the performance data was collected. It is possible that conditions which were not present at that time may cause some of these recommendations to result in worse performance. To minimize this risk, analyze data from several different days, implement only regularly occurring recommendations, and implement them one at a time. Additional memory may improve performance. If possible, borrow some memory for test purposes, and monitor system performance and resource utilization before and after its installation. AIX localhost 3 4 000481674C00 08/09/05 09:00:00 iget/s lookuppn/s dirblk/s 09:10:00 0 2 0 09:20:00 0 1 0 09:30:00 0 3 0 09:40:00 0 2 0 09:50:00 0 2 0 10:00:00 0 2 0 10:10:00 0 1 0 10:20:00 0 3 0 10:30:00 0 3 0 10:40:00 0 2 0 10:50:00 0 4 0 11:00:07 0 9 1 11:10:07 0 6 1 11:20:07 0 2 0 11:30:07 0 3 0 11:40:07 0 2 0 11:50:07 0 2 0 12:00:03 0 3 0 12:10:03 0 2 0 12:20:03 0 2 0 12:30:03 0 2 0 12:40:03 0 2 0 12:50:03 0 2 0 13:00:00 0 2 0 13:10:00 0 2 0 13:20:00 0 2 0 13:30:00 0 6 1 13:40:01 0 2 0 13:50:01 0 3 0 14:00:02 0 3 0 14:10:02 0 19 1 14:20:03 0 19 1 Convierta largos y complicados ficheros /proc o informes sar en un informe SarCheck de tres páginas en un lenguaje sencillo. Gracias a la opción de añadir etiquetas para HTML, puede incluso visualizar los informes a través de un navegador. • Fácil de entender • Resultados HTML • Uso de los recursos • Recomendación de soluciones H a g a v o l a r s u s i st e m a c o n . . . SarCheck está disponible para la mayoría de sistemas Solaris, HP-UX, AIX y Linux. Suele tardar alrededor de un segundo de tiempo de CPU en analizar los datos de un día entero. http://www.sarcheck.com

Transcript of Ajuste del rendimiento para UNIX/Linux simplificado instrucciones que le permiten llevarlas a cabo....

SarCheck® le facilita su trabajo

Si ha tenido alguna vez problemas ala hora de entender cómo configurarautoup, ufs_ninode, tune_t_fsflushr, ocualquier otro parámetro ajustablela solución que busca es SarCheck.

SarCheck analiza su sistemaUNIX/Linux en busca de posiblescuellos de botella en el rendimiento,como falta de memoria, desequilibrio enla carga del disco, cuellos de botella dela CPU, procesos sin control yparámetros ajustables configuradosincorrectamente, y le indica cómosolucionarlos.

Análisis del sistema y recomendacionesen un lenguaje sencillo

La mayoría de herramientas derendimiento simplemente controlan losrecursos: proporcionan estadísticas sobrecómo utilizar los recursos en variosformatos numéricos y gráficos, pero

dejan a su criterio la mayoría del análisisy la interpretación de dichas estadísticas.

SarCheck va más allá cuando setrata de ajustar el rendimiento. En lugarde volver a realizar informes de los datosy estadísticas del sistema, SarCheckanaliza la información referente a losficheros /proc e informes sar, resultados ps -elf y otra información recogida delnúcleo. También examina los parámetrosajustables del sistema, así como lainteracción de éstos entre sí. A continuación, en un informe con un

lenguaje sencillo y directo, SarCheckidentifica la zona donde se ha producidoel problema y recomienda solucionespara corregirlo.

Asegure un rendimiento óptimo de su sistema

Utilice SarCheck habitualmente paramantener un rendimiento máximo ycompruebe cómo evolucionan susrecomendaciones cuando usted agregamás usuarios, actualiza los componentesy el software del sistema, o cuandodetecta un cambio en el rendimientodel mismo.

Ajuste del rendimiento para UNIX/Linux simplificado

SarCheck(TM): Automated Analysis of AIX sar and ps data

This is an analysis of the data contained in the file /tmp/rpt. The data wascollected on 08/09, from 09:00:00 to 16:40:00, from the RS/6000 IBM Model7042/7043 (ED) system 'localhost'. There were 46 data records used to producethis analysis. The operating system used to produce the sar report wasRelease 4.3 of AIX. The operating system as reported by /usr/bin/oslevel is AIXRelease 4.3.3.0. 1 processor is configured and 1 processor is online. 64megabytes of memory are present.

Data collected by the ps -elf command on 08/09 from 09:00:00 to 16:40:00, andstored in the file /usr/local/ps/20020809, will also be analyzed.

SUMMARY

When the data was collected, no CPU bottleneck could be detected. A memorybottleneck was seen. No significant I/O bottleneck was seen.

Limits to future growth have been noted in the Capacity Planning section.

Some of the defaults used by SarCheck's rules have been overridden using thesarcheck_parms file. See the Custom Settings section of the report for moreinformation.

RECOMMENDATIONS SECTION

All recommendations contained in this report are based solely on theconditions which were present when the performance data was collected. It ispossible that conditions which were not present at that time may cause some ofthese recommendations to result in worse performance. To minimize this risk,analyze data from several different days, implement only regularly occurringrecommendations, and implement them one at a time.

Additional memory may improve performance. If possible, borrow somememory for test purposes, and monitor system performance and resourceutilization before and after its installation.

AIX localhost 3 4 000481674C00 08/09/05

09:00:00 iget/s lookuppn/s dirblk/s

09:10:00 0 2 0

09:20:00 0 1 0

09:30:00 0 3 0

09:40:00 0 2 0

09:50:00 0 2 0

10:00:00 0 2 0

10:10:00 0 1 0

10:20:00 0 3 0

10:30:00 0 3 0

10:40:00 0 2 0

10:50:00 0 4 0

11:00:07 0 9 1

11:10:07 0 6 1

11:20:07 0 2 0

11:30:07 0 3 0

11:40:07 0 2 0

11:50:07 0 2 0

12:00:03 0 3 0

12:10:03 0 2 0

12:20:03 0 2 0

12:30:03 0 2 0

12:40:03 0 2 0

12:50:03 0 2 0

13:00:00 0 2 0

13:10:00 0 2 0

13:20:00 0 2 0

13:30:00 0 6 1

13:40:01 0 2 0

13:50:01 0 3 0

14:00:02 0 3 0

14:10:02 0 19 1

14:20:03 0 19 1

Convierta largos y complicadosficheros /proc o informes sar enun informe SarCheck de trespáginas en un lenguaje sencillo.

Gracias a la opción de añadir etiquetas para HTML, puede incluso visualizar los informes a través de un navegador.

• Fácil de entender

• Resultados HTML

• Uso de los recursos

• Recomendaciónde soluciones

Haga volar su sistema con...

SarCheck está disponible para la

mayoría de sistemas Solaris,

HP-UX, AIX y Linux. Suele tardar

alrededor de un segundo de

tiempo de CPU en analizar los

datos de un día entero.

http://www.sarcheck.com

SarCheck(R): Automated Analysis of Solaris sar and ps data————————————————————————————————————

NOTE: This software is scheduled to expire on 08/21 and has not yet been tied to yoursystem’s Host ID. To permanently activate SarCheck, please run /opt/sarcheck/bin/ana-lyze -o and send the output to us so that we can generate an activation key for you.

This is an analysis of the data contained in the file /tmp/rpt. The data was collected on06/17, from 08:20:01 to 15:40:00 , from system ‘drew’. There were 44 sar data recordsused to produce this analysis. Operating system is Solaris 2.7. One processor is con-figured. 64 megabytes of memory are present.

Data collected by the ps -elf command on 06/17 from 08:20:01 to 15:40:00, and storedin the file /opt/sarcheck/ps/20040617, will also be analyzed.

The default GRAPHDIR was changed with the -gd switch to /tmp/test.

Table of Contents

Recommendations SectionResource Analysis SectionCapacity Planning SectionCustom Settings SectionSummary of Statistics

SUMMARY When the data was collected, no CPU bottleneck could be detected. No significantmemory bottleneck was seen. No significant I/O bottleneck was seen. A change hasbeen recommended to at least one tunable parameter. Limits to future growth havebeen noted in the Capacity Planning section.

At least one possible memory leak has been detected. See the Resource AnalysisSection for details.

Some of the defaults used by SarCheck’s rules have been overridden using thesarcheck_parms file. See the Custom Settings section of the report for more infor-mation.

RECOMMENDATIONS SECTION All recommendations contained in this report are based solely on the conditions whichwere present when the performance data was collected. It is possible that conditionswhich were not present at that time may cause some of these recommendations toresult in worse performance. To minimize this risk, analyze data from several differentdays, implement only regularly occurring recommendations, and implement them oneat a time.

Change the value of maxpgio from 60 to 65536. The reason for this significant changecan be found in the Resource Analysis Section. This parameter can be changed byadding the following line to the /etc/system file: ‘set maxpgio = 65536’. NOTE: Don’tforget to check /etc/system first to see if there’s already a set command modifying thistunable parameter. If there is, modify that command instead of adding another one.

Change the value of slowscan from 100 to 500. This parameter can be changed byadding the following line to the /etc/system file: ‘set slowscan = 500’. An increase in thevalue of slowscan has been recommended due to the presence of significant scanningactivity and recommendations made by Adrian Cockcroft on page 336 of the secondedition of his Sun Performance and Tuning book. NOTE: Don’t forget to check /etc/sys-tem first to see if there’s already a set command modifying this tunable parameter. Ifthere is, modify that command instead of adding another one.

More information on how to change tunable parameters is available in the SystemAdministration Guide. We recommend making a copy of /etc/system before makingchanges, and understanding how to use boot -a case your changes to /etc/system cre-ate an unbootable system.

RESOURCE ANALYSIS SECTION Average CPU utilization was only 3.5 percent. This indicates that spare capacity existswithin the CPU. If any performance problems were seen during the monitoring period,they were not caused by a lack of CPU power. User CPU as measured by the %usrcolumn in the sar -u data averaged 2.84 percent and system CPU (%sys) averaged0.66 percent. The sys/usr ratio averaged 0.23 : 1. CPU utilization peaked at 16 per-cent from 08:30:01 to 08:40:01. A CPU upgrade is not recommended because thecurrent CPU had significant unused capacity.

SarCheck ®

(Ejemplo de Solaris)

Información sobre elsistema en análisis.

SarCheck identificaposibles pérdidas dememoria y procesos sincontrol, así comoprocesossospechosamente largos.Ejercerá un control totalsobre los umbralesutilizados para identificarestos procesos.

En este paso serecomiendan cambiosen varios parámetrosajustables. Paraobtener másinformación acerca delas razones paramodificar estosparámetros, consulte laSección de análisis derecursos.

El Resumen permiteconocer rápidamente losresultados del análisisrealizado por SarCheck.

Todas las recomendacionesde SarCheck se imprimenen una sección, junto conlas instrucciones que lepermiten llevarlas a cabo.

La Sección de análisis derecursos describe el usode varios recursos delsistema, explica lasrazones para diferentesrecomendaciones y sugiere estrategias deajuste si es necesario.

SarCheck le indicará otros recursos deinformación cada vez quele sea posible. En estecaso, remite a unconocido libro.

Se puede imprimir unatabla de contenidos paralos resultados HTML quele permitirá dirigirse acualquier sección delinforme.

Average CPU utilization was only 15.7 percent. This indicates that spare capacityexists within the CPU. If any performance problems were seen during the monitoringperiod, they were not caused by a lack of CPU power. CPU utilization peaked at34.00 percent from 08:10:01 to 08:15:01. A CPU upgrade is not recommendedbecause the current CPU had significant unused capacity.

The average amount of free memory was 5543.6 pages or 21.7 megabytes. Theminimum amount of free memory was 1273 pages or 4.97 megabytes at 04:15:00.

The above graph has been zoomed in to show the relationship between the size ofthe free list and the values of freepages parameters.

The freepages.min value was 638 pages or 2.5 megabytes. The freepages.low valuewas 1276 pages or 5.0 megabytes. The freepages.high value was 1914 pages or 7.5megabytes. If the system's free list drops below freepages.high the kernel will startgently swapping. No significant memory bottleneck was seen. The number of pagesof free memory occasionally dipped below the value of freepages.high but was neverless than freepages.low.

Page ins peaked at 7138.59 per second from 10:59:59 to 11:05:00. An unusuallyhigh page in rate was detected. This may be normal for your environment, but it isstill worth noting. The average page out rate was 459.715 per second. Page outspeaked at 1884.34 per second from 08:45:01 to 08:50:01. An unusually high pageout rate was detected. This may be normal for your environment, but it is still worthnoting.

The average swap in rate was 0.01 per second. Swap ins peaked at 0.34 per sec-ond from 23:30:03 to 23:35:01. The average swap out rate was 0.02 per second.Swap outs peaked at 1.67 per second from 02:30:00 to 02:35:01.

The kswapd parameter tries_base was set to 512. This controls the number of pagesthat kswapd will try to free each time it runs. The kswapd parameter tries_min wasset to 32. This controls the number of times that kswapd tries to free a page of mem-ory when it's called. The kswapd parameter swap_cluster was set to 8. This controls

Ajuste del rendimiento para UNIX/Linux simplificado

(Ejemplo de Linux)

Se informará de valoresaltos relevantes cuandosea oportuno.

Se muestran textosinformativos sobre losparámetros del núcleoajustable que variaránsegún el sistemaoperativo.

Para núcleos antiguos conumbrales de páginasvacías configurados en elsistema de archivos /proc,estos umbrales semencionan y se muestranen forma de gráfico juntocon la información dememoria libre.

La opción de intercambioforma parte del análisis ydetermina si el sistema degestión de la memoriafunciona de maneraeficaz.

Se puede visualizar lamemoria libre en ungráfico, para estarprevenido antes de que seagote.

Se destaca la actividad dela CPU individual paraque pueda comprobarcómo está equilibrada lacarga.

Se le informará de losvalores mínimos.

“El software me ha parecidomuy sencillo de instalar yproduce rápidamente informaciónde calidad a partir de una enormecantidad de datos. Gracias aSarCheck, además de sugerenciasadicionales para la mejora delrendimiento, conseguí realizar enunos minutos un análisis de unsistema RS6000 en el que antestardaba una semana”.

“Sin duda, éste me parece elmejor paquete de control que hevisto hasta ahora.”

“¡Impresionante!Sinceramente, ojalá hubieseconocido este producto hacemucho. Desde nuestrodepartamento de contabilidad sequejaban desde hace tiempo deque el sistema a cargo de unabase de datos XXXXX les dabamuchos problemas que losprogramadores no sabían cómosolucionar. El sábado instaléSarCheck y obtuve el primerinforme basado en los datos de unúnico día. De manera inmediatamostró un cuello de botella deE/S. El lunes ajusté losparámetros tal como sugirió elprograma y observamos una claramejoría. Después de realizar otroinforme SarCheck ese mismo día,volvimos a realizar nuevoscambios que antes suponíaninformes con una duración de 20 minutos, mientras queahora se completan en tan sólo 3 minutos.

Conclusión: los empleados deldepartamento de contabilidadsiguen contentísimos… es más,creen que soy EL genio que hasolucionado el problema.”

“Redacté una secuencia decomandos de shell paraautomatizar la generación deinformes utilizando las funcionesde SarCheck como análisis. Debodecir que SarCheck me ayudó aconvencer a mi empresa de quenecesitábamos servidores máspotentes para cumplir ciertosobjetivos en el rendimiento desistemas. Gracias a todos por elmaravilloso trabajo que estáishaciendo con SarCheck.

http://www.sarcheck.comPO Box 1033, Plaistow, NH 03865, EE.UU.Teléfono +1-603-382-4200 Fax +1-603-382-4247

Ajuste delrendimiento paraUNIX/Linux simplificado

Haga volar su sistema con...

La opinión de nuestros clientes

Visite nuestra página Web en www.sarcheck.com para

obtener una copia de evaluación GRATUITA.

RequisitosCompatible con la mayoría deversiones de Solaris SPARC,HP-UX, AIX y Linux x86.

Los requisitos de CPU, discoy memoria son a menudoinsignificantes.

“SarCheck me pareció muyútil a la hora de identificarproblemas de programación enprogramas de software deterceros; ps -elf identificó unproceso creciente que consumíademasiada memoria a medidaque avanzaba el día. Unacomprobación más exhaustivame permitió saber que setrataba de un proceso legítimocon un problema deprogramación y conseguíresolverlo en el momento. Megusta el hecho de que, adiferencia de otros, se trate deun programa no-intruso.”

“Este producto permite ausuarios inexpertos controlarel rendimiento de sussistemas con buen criterio y aun precio razonable. Si mecontratara para controlar sussistemas, le saldría muchomás caro que utilizar estaherramienta.”

Si desea que le enviemos una lista con referencias de clientes, póngase en contacto con nosotros.

SarCheck®