Sequential read, SAS Overall performance is 1.3 times times the SATA hard drive, SSD overall performance is SATA hard drive 4 times times.
Random Read Test command fio-name IOPS-RW = Randread-bs = 4k-runtime = 60-iodepth 32-filename/dev/sda6-ioengine Libaio- Direct = 1 SATA jobs:1 (f = 1): [R] [41.0% done] [466K/0K/S] [114/0 ioPS] [Eta 00m:36s] SAS jobs:1 (f = 1): [R] [41.0% done] [1784k/0k/s] [456/0 IOPS] [eta 00m:36s] SSD jobs:1 (f = 1 ): [R] [100.0% done] [505m/0k/s] [129k/0 IOPS] [eta 00m
Http://unixboy.javaeye.com/blog/451671
Http://unixboy.javaeye.com/category/75180
RJ45 connector:
Used for Ethernet (Ethernet 10/100/1000 m UTP/STP Interface), commonly used in Category 5 unshielded twisted pair wires. RJ-45 is also used for other interfaces such as ISDN, pins are defined differently.
Listen 48 connector:
Used to connect T1, E1 serial lines, usually using shielded twisted pair wire; RJ-48 can also support pin3, pin6 Grounding Connection.
The RJ45 and listen 48 lines are in
output
When writing scripts, the pipeline often uses the output of the previous command as the input of the next command. if you want to print the debugging information, but do not interfere with the subsequent commands, you can output the debugging information to the standard error output, as shown below.
For example, [root @ LiWenTongtest4] # echo hello> 2
Hello
The following are tips for using this method for script debugging on the Internet !!!
# Usage: proc_cmd
Proc_cmd ()
{
CMD = $1
NUM
After MySQL master-slave replication is built on the two hosts, the showslavestatus displays: Last_IO_Error: errorconnectingtomaster ...... Solve bitsCN.com
After MySQL master-slave replication is built on the two hosts, the show slave status displays: Last_IO_Error: error connecting to master ...... Solution
Run show slave status on the server load balancer after the master-slave mysql replication relationship is set up for both hosts A and B (master for A and slave for B). The result shows L
state. To see a list of all current connections to the machine and their states, try:Netstat-tan | grep ': 80 ' | awk ' {print $6} ' | Sort | Uniq-cYou'll be presented with a list similar to the following:4 CLOSINGEstablished4 fin_wait1Fin_wait2Last_ack1 LISTENTen SYN_RECV273 Time_waitThis information can is very useful to determine whether for need to tweak some of the timeouts above.SYN Flood ProtectionThese settings added to sysctl.conf would make a server more resistant to SYN flood attacks
Problem: Job for Httpd.service failed. See ' systemctl status Httpd.service ' and ' journalctl-xn ' for details.Status of the problem:(1) Restart[[Email protected] ~] #systemctl Restart Httpd.serviceJob for Httpd.service failed. See ' systemctl status Httpd.service ' and ' journalctl-xn ' for details.650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/25/wKioL1ajdZTwR0DPAAAReaQ10So517.png "title=" capture. PNG "alt=" Wkiol1ajdztwr0dpaaareaq10so517.png "/>(2) View status[Email protected
virtual machine, install as few packages as possible and all system updates. Then install the rpm from the CentOS Library mentioned above.
There is a Preupgrade Assistant among these rpm, which can be safely executed on the system: the preupg is only an analysis system and does not execute any tasks, after execution, it will provide some suggestions to tell the update program what to search for during the update.
Since I only run on a system with few services installed, I did not get the actual
Label:After two hosts A and B build the MySQL master-slave copy relationship (A is master,b to slave), the show slave status is executed on slave, and the results show last_io_error:error connecting to Master ' [ Email protected]:3306 ' ... First, look at the error log file for B, and find the following error: ERROR] Slave I/o: Error connecting to master ' [email protected]:3306 '-retry-time:60 retries:2, error_code:1045 Then use Perror to view the error code obtained from the previous section
least 9s is required to complete the first retry, and Connect-time is less than 9s). Therefore, the error 4 is reported. In a test set to connect-time=10s, the client initiates a connection for the first time, lasts 3s, does not succeed, retries for the first time, retries, does not succeed, arrives at connect-time time, and the client disconnects. Therefore, the error 110 is reported. In summary, assume that the value of/proc/sys/net/ipv4/tcp_syn_retries is n Then, when the TCP initiates the c
:32.682448863983sxubo800000:800000-- Time:37.302042007446sxubo900000:900000-- Time:42.112798929214SEnd:1442497444.1373s1000000:47.739441871643
After three Tests, the set instruction of Predis 1 million times is approximately 48s
10 million times set of bad test with PHP, I use a browser access, long time to return the results, also did not find a solution, if there is someone to solve the problem!
Test code:
require'/home/xubo/cloud/redis/clients
42SIndexing SQL Server tables, incrementally extracting the data, takes 10mn 50s, and the speed is also possible.So in the Vertica in the establishment of similar index projection, the effect is not ideal, the speed has not seen a significant increase, so no, this tuning is not.Debug 3, Temp table + Run scriptFull-scale extraction, time consuming 32sIncremental extraction, time consuming 1mn 48s, the speed has greatly increased.Some error resolution
CentOS 6 virtual machine, install as few packages as possible and all system updates. Then install the rpm from the CentOS Library mentioned above.
There is a Preupgrade Assistant among these rpm, which can be safely executed on the system: the preupg is only an analysis system and does not execute any tasks, after execution, it will provide some suggestions to tell the update program what to search for during the update.
Since I only run on a system with few services installed, I did not get t
Here you summarize three placeholder forms : Look at the code below toString StringFormat = "Lexical error at position%s, encountered%s, expected%s";String Messageformat = "Lexical error at position {0}, encountered {1}, expected {2}";System.out.println (String.Format (StringFormat, 123, 100, 456));System.out.println (Messageformat.format (Messageformat, New Date (), 100, 456));These are two common forms of use, and here's another:%n$ms: Represents the output of a string, n is the number of para
-size and Particle-positon two animated effects */animation:particle-size. 24s linear Infinite, Particle-positon. 48s linear infinite Alternate;} @keyframes Particle-size {/* This keyframe named Particle-size is used to animate the background size change */from {background-size:6px 6px, 12px 12px;} To {background-size:12px 12px, 24px 24px;}} @keyframes Particle-positon {/* This keyframe named Particle-positon is used to animate the backgro
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.