Article Title: View linux server hard disk I/O read/write load. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
An exception occurred on a linux Server recently, and the system was slow to reflect. The corresponding applicatio
In the process of computer use, many users encountered a hard disk can not read and write, this situation is usually due to the CMOS set up the fault.
In CMOS, the type of the hard disk is correct and has direct influence on the normal use of the hard disk. Modern co
How to Reduce hard disk read/write by disabling the superfetch service in win8.1
In the win8.1 system, when you open the task manager, you find that disabling the superfetch service occupies a large amount of memory space, resulting in slow operation. The Superfetch Memory Management Mechanism pre-loads the application pages that users may use using the memory a
Win8 hard disk read and write frequency too high how to do
1, open "Control Panel", and then open "management tools"-"services" in the control Panel;
2, on the Open Service panel, find the Homegrouplistener service item and double-click to open;
3, then in the Pop-up Homegrouplistener Service Properties dialog box, set the Startup type is "disabl
.
Today to record the server is in the last few days black Friday after a lot of netizens are discussing PACIFICIDC,PACIFICIDC is the PR computer room Deputy President Chris Gotzmann, operations director Vinny Stipo, marketing director Jordan Goldman Sachs and Paul host founder Roy Pacer collaborated in the creation of the U.S. Los Angeles engine room products. Of course, these people do not know the old left, a little heard is Paul's host Roy, no matter who the partnership, we have to
int count, char *name); When the call succeeds, Dev saves the first number assigned.
Release device number: void Unregister_chrdev_region (dev_t, unsigned int count);
Next, the driver needs to connect the device number with the internal function.
Note: (The next step is to try to use the dynamic allocation device number )
Dynamic allocation device number disadvantage: The device node cannot be created beforehand (because the assigned device number is not guaranteed to always be consistent).
2,
1,First,Use TOP command to view
View 12.6% wa
Percentage of CPU time occupied by I/O wait, which is higher than 30%
2,Second,Use iostat-x 1 10
If iostat does not exist, yum install sysstat is required.
View % util 100.10% idle 66.29
If % util is close to 100%, it indicates that too many I/O requests are generated and the I/O system is fully loaded. This disk may have a bottleneck.
When the idle is less than 70% I/O, the load is high. Generally, the
Time is used for timing. dd is used for copying, reading from if, and writing to. If =/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate IO and can be used to test the pure read speed. Bs indicates the size of each read or write, that is, the size o
Time is used for timing. dd is used for copying, reading from if, and writing to. If =/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate IO and can be used to test the pure read speed. Bs indicates the size of each read or write, that is, the size o
Time is used for timing. dd is used for copying, reading from if, and writing to. If/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of/dev/null does not generate IO and can be used to test the pure read speed. Bs is the size of each read or write, that is, the size of a block.
Write speed:TIME dd If =/dev/Zero of = test. dbf bs = 8 k count = 300000Among them,/dev/zero is a pseudo device, which only generates a null compaction stream and does not generate Io for it. Therefore, Io will be concentrated in the of file, and the of file is only used for writing, therefore, this command is equivalent to testing the disk write capability.The output result is similar (because the test tim
This is on the server, and the read and write speed is extremely fast.
Write speed
$ Dd If =/dev/Zero BS = 1 k count = 1000000 of = 1gb. File
1000000 + 0 records in1000000 + 0 records out1024000000 bytes (1.0 GB) Copied, 5.13676 seconds, 199 MB/S
Read Speed
$ Dd If = 1gb. File BS = 64 k | dd OF =/dev/null
[Haibo @ loc
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.