Notes on Perf Analyzing CPU Performance Problems
This article is just a note.
scene
Observation of CPU usage of processes
Observe CPU usage of functions in the process:
sudo perf top -p <pid>
Display function call chain at the same time:
sudo perf top -g -p <pid>
Sampling results are recorded for subsequent analysis, and - g records the call chain:
sudo perf record -g -p <pid&g ...
Posted by Apenvolkje on Fri, 10 May 2019 03:14:39 -0700
AbbitMQ Cluster Setup Job Based on Docker
AbbitMQ Cluster Setup Job Based on Docker
1. Goals
Set up a RabbitMQ cluster with three nodes
2. Preparations
2.1 Operating System
ubuntu-18.04-desktop-amd64 (Official iso download)
Set the software source of ubuntu as a mirror of Ali to improve download speed.See https://opsx.alibaba.com/mirror
Beginners recommend GUI configuration: System ...
Posted by waygood on Thu, 09 May 2019 20:06:39 -0700
Java Question Checklist for Ali Employees
This is an article from Ali's internal technical forum, the original text has been well received in Ali.The author has opened this article to the cloud community for outside access.Hollis has partially deleted the content of the article, mainly deleting the introduction of tools that can only be used inside Ali, and deleting so ...
Posted by i on Thu, 09 May 2019 10:06:40 -0700
[SequoiaDB] [Technical Analysis] How to Use Docker to Realize Rapid Deployment of SequoiaDB Cluster
background
Container technology, represented by Docker and Rocket, is becoming more and more popular. It changes the way companies and users create, publish and run distributed applications. It will bring its due value to the cloud computing industry in the next five years. Its attraction lies in:
1) Resource independence and ...
Posted by thatshanekid on Tue, 07 May 2019 06:40:38 -0700
how_to_build_chromium_project_for_linux
Preface
It took two and a half days to compile a chrmomium project under linux.
There are some additional operations that are not available on official documents.
No matter which platform version of the chromium project is compiled, there is a strong feeling that their development machine is too slag:)
test
Official docume ...
Posted by fordiman on Fri, 03 May 2019 02:40:38 -0700
Install and configure Nginx under Centos 7
This paper is based on entos 7 installation configuration Nginx operation practice record collation.
Configuration of EPEL Sources
sudo yum install -y epel-release
sudo yum -y update
II. Installation of Nginx
sudo yum install -y nginx
After successful installation, the default website directory is: / usr/share/nginx/html
The default configurat ...
Posted by patch2112 on Thu, 25 Apr 2019 15:21:36 -0700
Index and traversal of numpy
aiblog3.jpg
This time, we will talk about simple index and matrix traversal.
Attached herewith Video link If you want to know more about it, you can have a look.
Introduction of numpy third party Library
First, we introduce numpy as a third-party library. If a classmate does not install numpy, he can install it from the com ...
Posted by cmpennington on Sat, 20 Apr 2019 13:30:33 -0700
Resource isolation - system D
introduce
systemd System and Users
position
/usr/lib/systemd/system
/usr/lib/systemd/user
unit
The basic unit of system management, called unit, is divided into the following types
Service unit: System services
Target unit: A group of units
Device Unit: Hardware Device
Mount Unit: Mount Point of File System
Automount Unit: Au ...
Posted by rashmi_k28 on Mon, 15 Apr 2019 21:45:32 -0700
Redis database learning notes (1)
Redis Learning Notes (1)
Redis is an open source, high performance, key-value-pair-based caching and storage system. Redis is the abbreviation of REmote DIctionary Server.
1. Download and install
wget http://download.redis.io/redis-stable.tar.gz//download, copy to/usr/local
tar -xzvf redis-stable.tar.gz //decompression
cd redis-stable / ...
Posted by iceman2g on Fri, 12 Apr 2019 09:57:33 -0700
Nodejs Makes Command Line Tools
wcj
github Warehouse Source Download
This is not only a tutorial, but also a tool to output my resume from the command line, O() O() O() O() O), which is very interesting.
# Global Installation, Installation Errors Need to be preceded by sudo
$ sudo npm install -g wcj
# Output help
$ wcj -h
Usage: wcj Here is my personal ...
Posted by manoj_jnics1 on Tue, 09 Apr 2019 11:57:32 -0700