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
This article transferred from: http://www.cnblogs.com/chen77716/archive/2010/06/26/2130807.htmlRecent memory leaks due to the project, so large-scale JVM performance tuning, now the experience to do a record.First, JVM memory model and garbage collection algorithm1. According to the Java Virtual Machine specification, the JVM divides the memory into:
New (Young Generation)
Tenured (old generation)
Permanent generation (Perm)
Wher
For Linux system tuning parameters, all TCP/IP tuning parameters are located in the/proc/sys/net/directory. For example, the following are some of the most important tuning parameters, and their meanings are as follows: 1./proc/sys/net/core/rmem_max mdash; maximum TCP data receiving buffer 2,/proc/sys/net /... for Linux system
Description: This article is mainly referenced from the "Distributed Java Application: Foundation and Practice"1, the JVM tuning is mainly the memory of the tuning, the main tune two aspects:
The size of each generation
Garbage collector Selection
2, the size of each generation
Common adjustment parameters
-xmx
-xms
-xmn
-xx:survivorratio
-xx:maxtenur
were just generatedTrafficJamBigData03301009\ TrafficJamBigData03301009-train_lmdb and F:\caffe-master170309\data\TrafficJamBigData03301009\ TrafficJamBigData03301009-test_lmdb Copy to caffe-master170309/examples/TrafficJamBigData03301009 . Modify F:\caffe-master170309\examples\TrafficJamBigData03301009\synset_ Words.txt for plugging and not plugging two categories (note BuDu in the first row, du in the second row, because to the front of the label.txt corresponding)3.1.5 New FileNew in caffe
class.
A VM profile that shows a summary of all information about the JVM, including basic information, thread-related, heap-related, operating system, VM parameters, and so on.
Mbean, view the properties, methods, etc. of the mbean.
VisualVMBrief introductionVisualVM is a tool that provides a visual interface for viewing detailed information about Java-based applications (Java applications) running on Java virtual machines (Java machine, JVM). VisualVM organizes the data about the
full GC takes much longer than the GC usage time for younger generations.
GCT: This column shows the total cumulative time of the GC operation. Note: The total cumulative time is the sum of the time used by the YGCT and fgct two columns (GCT=YGCT+FGCT).
Jstat , we can also run Jstat on a remote server without a GUI. Note: We are using the-XMN10M option to specify the sum of s0c, S1C, and EC as 10m.Java VISUALVM and Visual GC pluginsIf you want to see the memory and GC in the GUI, you c
Guide
Performance tuning has always been one of the most important work of operations engineers, if you are in a production environment encountered a slow system response, hard disk IO throughput anomalies, data processing speed is lower than expected, or such as CPU, memory, hard disk, network and other system resources have been exhausted for a long time, Then this article will really help you, if not, please collect them first.
1,hd
change the concurrency count to 200. found that about 50% of the return to 502.
Then I will keystone-api instead of Keystone own service Openstack-keystone. Again with 200 concurrent pressure test: The discovery processing is normal, did not return 502.
Ab-r-N 100000-c 200-h "user-agent:python-keystoneclient"-H "accept:application/json"-H "x-auth-token:65e194" htt p://keystonehost:35357/v2.0/
Probably know that the problem should be on nginx and UWSGI, limiti
As the web becomes more and more demanding on the performance of the system, the key to any system is how to ensure the performance of the system and can predict and locate the problem before performance problems occur. The system test before the system is on line and the performance monitoring of the whole system is the method to ensure the system to run with excellent performance.
At the end of last year, I wrote an article about how to use Jprobe to discover and locate the performance bottlen
Js|servlet| Performance
Overview
In this article, Rahul Chaudhary describes the use of the Performance tuning technology (PTT performance-tuning techniques) to enhance the performance of servlets and JSP to improve the performance of your Java EE application. The author assumes that the reader has basic servlets and jsps knowledge.
Is your Java application running slowly? Can they meet enough pressure? Th
Some small aspects of database Performance tuning:1. 1 Performance IndexDatabase performance is generally measured in two metrics: response time and throughput. The faster the response, the greater the throughput and the better the database performance. Response time and throughput cannot be improved together in some cases. 1. 2 Tuning LevelTuning the Sybase database performance can be done in four ways:Ope
Tags: autotask sql_tuningProduction on a set of 11g database Alert.log error ora-16957:sql Analyze time limit interrupt.Querying MOS-related documents troubleshooting:ora-16957: "SQL Analyze time limit Interrupt" Errors (document ID 1275248.1)The ORA-16957 error is a internal error code used to indicate that SQL Tuning Task have reached the time limit for Tuning A specific SQL.The default time limit is 3600
. Reference documents
Microsoft Books Online logical operators and physical operator references
Refer to the book SQL. server.2005. Technical Insider "series
Conclusion This article is here first, this article mainly describes the T-SQL statement tuning from the execution plan, and introduces three common connection operators and aggregation operators, the next one will focus on some of our other most commonly used operators and
Original link: MySQL Memory Allocation-by Rick JamesOriginal date: Created 2010; Refreshed Oct,, Jan, 2014Translators: AnchorTranslation Date: May 28, 2014MySQL memory allocation-high-speed setup schemeAssuming that only the MyISAM storage engine is used, setkey_buffer_size20% of available memory (plus set innodb_buffer_pool_size = 0)Assuming that only the InnoDB storage engine is used, setinnodb_buffer_pool_sizeIs 70% of the available memory (set key_buffer_size = 10M, very small but not 0.)pra
Tags: Database Database tuning performance performance optimization MySQLSome time ago to help the company to optimize the database, with the previous study, step by step to learn knowledge for practice, finally is the speed of rubbing up, a query originally to execute more than 1 minutes now only need 3 seconds. These two weeks to summarize what they have learned and use, published a series of articles on the database, on the one hand to consolidate
Original link Address: http://www.transwarp.cn/news/detail?id=173
ETL is an important link in building data Warehouse. Through this process the user extracts the required data and imports the data warehouse according to the defined model. Because ETL is the necessary process of building data Warehouse, its efficiency will affect the construction of the whole data warehouse, so its effective tuning is of high importance. In practical applications, we u
There are fewer tutorials on iOS performance tuning, and the decision to write an iOS performance Tuning series focuses on several aspects of memory leaks, performance optimization, traffic, and power analysis.Xcode has provided a very powerful performance tuning tool, combined with several third-party tools and some techniques, to optimize performance very simpl
Note: This article is the third of our series of PHP performance analysis, click here to read PHP performance analysis first: Xhprof Xhgui Introduction, or PHP performance analysis second: In-depth study of Xhgui.In the first chapter of this series, we introduced Xhprof. In the second chapter, we studied the Xhgui UI, and now the last one, let's use Xhprof/xhgui's knowledge to work!Performance tuningCode that doesn't run is the perfect code. The other is just good code. Therefore, the best opti
Talking about linux Performance Tuning 12: Red Hat optimization strategy Tuned talking about linux Performance Tuning 11: Memory Allocation Management http://www.bkjia.com/ OS /201307/228761.html Red Hat launched a dynamic tuning solution, you can use different tuning schemes in different time periods. Because it exist
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.