: + useparnewgc: Set the young generation for parallel collection. It can be used together with CMS collection. Jdk5.0 or above, JVM will be set based on the system configuration, so you do not need to set this value.
Java-xmx3550m-xms3550m-xmn2g-xss128k-XX: + useconcmarksweepgc-XX: cmsfullgcsbeforecompaction = 5-XX: + usecmscompactatfullcollection-XX: cmsfullgcsbeforecompaction: Because the concurrent collector does not compress and organize the
Mysql performance monitoring tool Innotop, mysql monitoring innotop
Mysql monitoring management tool-innotop
1. innotop InstallationReference Official Website: http://innotop.googlecode.com/svn/html/installing.html
# Wget http://innotop.googlecode.com/files/innotop-1.9.0.tar.gz# Tar-zxvf innotop-1.9.0.tar.gz# Cd innoto
other threads, or you can use an unfair (biased) policy, such as assigning a lock to the last thread that owns the lock.Assigning a lock again to the last thread that owns the lock is justified by the fact that, due to time continuity, the processor may also cache data related to the task performed by the thread, so that when the thread executes again, the time to prepare the context can be saved. Of course, using the bias lock itself requires a record of some relevant data, so at some point it
Java VisualVM--A powerful performance monitoring tool from the JDKHere is another way to observe the use and change of Java program memory through Jconsole.exe in the bin directory under the JDK.General remote debugging can be used, performance testing what.-dcom.sun.management.jmxremote-dcom.sun.management.jmxremote.port={port to access}- Dcom.sun.management.jmx
exception through the atop command view.Atop logEach time-point sampling page is combined to form a atop log file that we can use to view the log file using the "atop-r XXX" command. So what is the format for saving atop log files?For how to save the atop log file, we can do this:
Save a atop log file every day, which records the information of the day
Log files are named "ATOP_YYYYMMDD"
Set the log expiration period, automatically delete the log file before a period of time
rate at which the service receives data bytes at the application level, excluding protocol headers and control bytesSent/secThe rate at which the service sends data bytes.Total/secThe total number of bytes per second transmitted by the Web Service (Bytes Sent/sec vs. Bytes Received/sec sum)
Create a Trigger650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/72/E3/wKiom1Xvlj6wZuQcAAIOAm4Za2g554.jpg "title=" IIS triggers. png "alt=" wkiom1xvlj6wzuqcaaioam4za2g554.jpg "/>
Zabbix
For system and network administrators, it is a heavy task to monitor and debug the performance of Linux systems on a daily basis. After 5 years working as an administrator in the IT field as a Linux system, I gradually realized how difficult it was to monitor and keep the system up and running. For this reason, we have written a list of the 18 most commonly used command-line tools that will help each Linux/unix system administrator work. These command
://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp? Topic =/com.ibm.java.doc. diagnostics.50/diag/appendixes/env_var/env_jvm.html
The default heapdumps is disabled, and you should remember to enable it during debugging. The default javadumps on out of memory and heapdumps on out of memory are both enabled, however, the default dump location is the directory where the profile is located. It is best to set ibm_heapdumpdir and ibm_javacoredir to another directory in the Java Process of the
As you learned in part 1th of this series (three articles), monitoring the availability and performance of Java applications and dependencies in production is critical to ensuring problem detection and accelerating problem diagnosis and repair. Source-code-level inserts for classes that need to be monitored have the advantages that are discussed in part 1th, but this method is often not available or impract
Brief introduction
As you learned in part 1th of this series (three articles), monitoring the availability and performance of Java applications and dependencies in production is critical to ensuring problem detection and accelerating problem diagnosis and repair. Source-code-level inserts for classes that need to be monitored have the advantages that are discussed in part 1th, but this method is often not
Label:
Overview
Conditions of Use
Monitoring objects
Ways to view real-time SQL monitoring results
The following sub-packages for the Dbms_sqltune package
Dynamic View
Enterprise Managerem
Related parameters
Changes in each version
Examples of real-time SQL monitoring
[Java Performance] JVM thread OptimizationAdjust the thread stack space
When memory is very short, you can adjust the memory used by the thread. Each thread has a stack to record the call stack information of the thread. The default stack space in the thread is determined by the OS and JVM versions:
OS
32-bit
64-bit
Linux
320 KB
will struggle to free up space for the objects that are being moved in. But typically, generational garbage collection can give applications better performance.
Another benefit of dividing up the new generation is to sort of solve the fragmentation problem, or postpone the worst. Small, short-lived objects could have been a problem of fragmentation, but were cleaned up in the new generation of garbage collection. The older age is also more compact b
First, JVM performance tuning strategySecond, performance tuning1. Java thread Pool (java.util.concurrent.ThreadPoolExecutor)The thread pool used by most applications on JVM6 is the thread pool that comes with the JDK, and the thread pool of mature Java threads is verbose because the thread pool behaves a bit like we imagined. The Java thread pool has several imp
%
-xx:usecmscompactatfullcollection: Set up CMS to defragment once the garbage collection is complete
-xx:cmsfullgcbeforecompaction: Set the number of CMS garbage collection after a memory compression.
-xx:+cmsclassunloadingenabled: Allow collection of class meta data
-xx:cmsinitiatingpermoccupancyfraction: When the permanent generation share reaches this percentage, start the CMS recycle (if-xx:+cmsclassunloadingenabled is activated)
-xx:usecmsinitiatingoccupancyonly: It is only when the t
heapdump.-xms20m-xmx20m-xx:+heapdumponoutofmemoryerrorCommentary: Set the heap memory limit at 20m, Xms/xmx for the initial and maximum heap size of the heap, respectively.The resulting exception information:Mat for Memory analysisCommentary: From this side can be seen, this side gathered a lot of objects, occupy 99% of the amount of memory. 2). Stack Overflow (stack)Stack overflow exception, or have a clear directivity. Temporary. 3). Permanent generation Overflow (Chang/method area)Its erro
ObjectiveAfter getting started with the JVM garbage collection mechanism, you can then learn the performance tuning. There are two main parts of the content:
The use of JDK tools.
Tuning strategy.
Weapon Spectrum JPSList the running virtual machine processes, using the following:JPS [-option] [HostID]
Options
function
Q
Output only Lvmid, om
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.