JVM Tomcat performance practices, jvmtomcat practices
This section only introduces the actual practice. For detailed theoretical parameters, please use Baidu.
Required tools: linux Server Jmeter testing tool xshell a web application
The JVM parameter of Tomcat can be configured in catalina. sh, And the. bat file can be configured in window.
Configuration 1:
Her
? Obviously not. If some objects exist for a long time in the new generation, the burden of YGC is obviously increased. Objects still alive after multiple times of YGC should obviously be placed in the Old Space.
Ideal GC/memory usage
To sum up, we can find that the ideal GC should be like this:
The growth of the Old Space is slow, the number of FullGC operations is small, and the FullGC time is short (in most cases, it should be within 1 second ).Summary:
Add as few default parameters as possi
Label:The IO performance of SQL Server is affected by the IO latency of the physical disk and the IO operations performed internally by SQL Server. When monitoring disk performance, the primary measure (metric) is IO latency, which is the time delay in creating an IO request from application to disk to complete the IO request. SQL Server is prone to
DBA_Oracle AWR Report Performance Monitoring Report (CASE) (HTML Report monitors database performance), dba_oracleawr
2014-08-22
I. Summary
Oracle Database 10 Gb provides a significantly improved tool: Automatic Workload information library (AWR: Automatic Workload Repository ).
Oracle recommends that you replace Statspack with this.
1. AWR is essentially an Or
Tags: time interval fetch number release operation rebuild file GIF world loadThe IO performance of SQL Server is affected by the IO latency of the physical disk and the IO operations performed internally by SQL Server. When monitoring disk performance, the primary measure (metric) is IO latency, which is the time delay in creating an IO request from application
JVM Tuning Tool
Jconsole,jprofile,visualvm
JCONSOLE:JDK, the function is simple, but can be used in a certain load of the system. The garbage collection algorithm is tracked in detail. Detailed description Reference here
Jprofiler: Commercial software, you need to pay. function is powerful. Detailed description Reference here
VISUALVM:JDK, powerful, similar to Jprofiler. Recommended.
How to Tune
Observe memory release, collection class checking, Ob
distributed RESTful Service video tutorial First set:billions of traffic e-Commerce Details page System combat-cache Architecture + high-Availability service architecture + MicroServices Architecture (first edition)Second set:billions of traffic e-Commerce Details page System combat-cache Architecture + high-Availability service architecture + MicroServices Architecture (second edition)The third set:Elaticsearch Video Two sets-full version (core and advanced step)Elasticsearch Top Master Series
This section is only to introduce the actual combat part, the specific theoretical parameters, please own Baidu.Tools Required: Linux Server JMeter Test tool Xshell a Web applicationThe JVM parameters of Tomcat can be configured on the catalina.sh, if the. bat file can be configured on the windowConfiguration 1:Here I configured a GC log path for/home/log/gc.log, print GC log, initial heap and Max heap memory set to 50M, output dump file in memory ove
The main processes of tuning the JVM are:1. Determine heap memory size (-XMX,-XMS)2, the rational distribution of the new generation and old generation (-xx:newratio,-XMN,-xx:survivorratio)3. Determine the size of the permanent zone (-xx:permsize,-xx:maxpermsiize)4. Select the garbage collector5, the garbage collector to set reasonable6. Disable GC (-XX:+DISABLEEXPLICITGC)7. Disable class Metadata recycling (-XNOCLASSGC)8. Disable class validation (-x
This is a creation in
Article, where the information may have evolved or changed.
Golang unit testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, with an example of a brief introduction
Go Test Unit Testing
Go test-bench=. Performance testing
Go t
on static file compression />2. Optimizing the JVM for catalina.shOpen the Tomcat path \bin\ catalina.sh, add at the top, red part please adjust according to the actual situationJava_opts= "-server-showversion-xms12g-xmx12g-xx:permsize=256m-xx:maxpermsize=256m "java_opts= "$JAVA _opts-d64-xx:cicompilercount=8-xx:+usecompressedoops"java_opts= "$JAVA _opts-xx:survivorratio=4-xx:targetsurvivorratio=90"java_opts= "$JAVA _opts-xx:reservedcodecachesize=256
Monitoring is the core task of cluster management. Monitoring data can be used for scheduling tasks, load balancing, reporting hardware and software failures to administrators, and extensive control of system usage. Monitoring information must be obtained without impacting the performance of the cluster. This article d
Then we manage the server when the WINDOSW system is more intuitive, how much CPU use, how much bandwidth memory used, etc. as long as in the Remote Desktop Task Manager at a glance. But in the Linux environment is not so easy, especially the server or VPS running is a large web site, if you can not find the server performance consumption in time, it is likely to lead to the site in the peak visit, there is no known card death. So, eagle, then. This a
This is a creation in
Article, where the information may have evolved or changed.
Golang unit testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, with an example of a brief introduction
Go Test Unit Testing
Go test-bench=. Performance testing
Go t
Golang Unit Testing, performance testing, performance monitoring technology
The go language provides powerful testing tools, and the following example briefly describes the Go Test unit testing Go test-bench=. Performance test Go tool pprof Performance Monitor go Test unit
manager is gone and the data is lost.
If at this point, Stage0 's executor is dead, block manager is gone; at this point, Stage1 's executor task, though driver, gets the address of its own data. , but actually to find the other side of the block manager to get the data, is not get the time, will run the job (jar) in Spark-submit, client (standalone client, yarn client), Log will be printed on this machineShuffle output file not found ...Dagscheduler,resubmitting task, will hang up all the time
Performance testing requires the use of different tools, combined with system logs, monitoring servers, applications, and many other indicators. The following is a description of monitoring indicators, monitoring tools, bottleneck analysis.Service-Side Monitoring metricsThe
triggered, GC is performed on the Eden Zone, the non-surviving objects are cleared, and the surviving objects are moved to the survivor area. Then tidy up the two districts of survivor. This method of GC is carried out on the young generation of the Eden area and does not affect the old generation. Because most objects start in the Eden area, and the Eden area is not very large, GC in the Eden area is frequent. Thus, it is generally necessary to use fast and efficient algorithms, so that Eden c
Recently, on a project, the backend mule es CPU was found to be high. After Jstat-gcutil JVM process number 1000 10 analysis, found FGC times, more.After the GC observation, there are a large number of new generation objects, directly into the Laosheng generation.Modify mule/conf/wrapper.conf. Add the following options.Wrapper.java.additional.5=-xx:+printgcdetailsWrapper.java.additional.6=-xx:+printgcdatestampsWrapper.java.additional.7=-verbose:gcWrap
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.