As a VPS service provider we need to ensure that each VPS fair use of the host (server) resources, to avoid a certain VPS due to program death cycle, hang, abuse and other factors "drag" other VPs, if this happens how to temporarily limit the VPS
Linux performance tuning 6: selecting IO scheduling algorithms 5: optimizing soft raidhttp: // www.2cto.com/ OS /201307/228240.html1) summary of I/O scheduling program 1) when a data block is written to the device or read from the device, the
Development Environment
HOST: Linux 2.6.ora 2.6.27.5-117. fc10.i686Cross-compiling environment: arm-linux-gcc-3.4.5 glibc-2.3.6Software Tools: H-JTAG V1.0, segger J-link Commander v4.10i, codewarrior for ARM Developer Suite v1.2,
1, testing the distributor system to meet the requirements, the kernel is more than 2.3Uname-r #查看系统内核 ll/proc/sys/fs/inotify/ Meet the requirements.2. Download the latest version and compile the installation on the Distributor serverCD
I) Summary of the I/O Scheduler
1) when a data block is written to or read from the device, the request is placed in a queue waiting for completion.2) each block device has its own queue.3) the I/O scheduler is responsible for maintaining the order
RsyncUsage:/etc/init.d/rsync {start|stop|reload|force-reload|restart|status}Rsync Default configuration file# defaults file for rsync daemon mode# start rsync in daemon mode from INIT.D script?# only allowed values is "true", "false", and "inetd"#
ObjectiveThe content of this chapter, design more things. There will be a file system, disk, CPU and other aspects of knowledge, as well as related to the performance of the investigation and so on.TermsThe file system alleviates the impact of disk
CFQ scheduler is one of the most complex of the four Io scheduler, RedHat has a document that can be used as an entry to understand the red-hat-enterprise-linux-5-io-tuning-guide.pdf first
The CFQ scheduler maintains a maximum of 64 internal
First, memory tuning
The kernel's options for memory are in the/PROC/SYS/VM directory.
1.pdflush, used to write back the dirty data in memory to the hard disk. Can be adjusted by/proc/sys/vm/vm.dirty_background_ratio.
The first view of this value
Linux Command -- iotop to view CPU usage use top. iotop is required to view I/O usage. This command is added in kernel v2.6.20. Pay attention to the kernel version number during installation. Common iotop Shortcut Keys 1. the left and right arrows --
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.