Does rsync-AV from_big to_big bring data Disk Synchronization?

Source: Internet
Author: User

From: https://bbs.archlinux.org/viewtopic.php? PID = 1, 1002264

$ Su
# Mkdir/tmp/memgroup
# Mount-T cgroup NONE/tmp/memgroup-O memory
# Cd/tmp/memgroup
# Mkdir 0
# CD 0
# Echo 100 m> memory. limit_in_bytes
# Echo <pid from another shell> tasks

> In another shell as an user
$ Echo $
$ Rsync-AV from_big to_big

I am not a supporter who supports setting swappiness to 0. Most of the time
It is better to save the File Cache than to save the program cache. For example, visit Firefox,
Because swappiness is set to 0, the File Cache will refresh the hard disk, resulting in
Firefox does not respond because browsers need to map databases, Web caches, and
Library files, some interface elements, and so on.

In fact, you want some programs (rsync, locate, (<various indexers> occupy memory,
Some pages that may not be accessed.

Instead of limiting processes like rsync, you should stick to the cgroup tips. You should
Ensure that there is 3 GB space for Firefox and other processes.

Does rsync-AV from_big to_big bring data Disk Synchronization?

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.