20170710l07-09-03 old boy Linux Operational training-sersync real-time synchronization software practical application Guide 07

Source: Internet
Author: User

Sersync pressure test in the next section


This section focuses on the pressure test text of the previous section to do a real stress test


Test out exactly what the sersync pressure limit is.


From 10 to 100 per second


# Tree |wc-l #查看写了多少文件

# uptime #查看负载


Here is the test script

#!/bin/sh

count=100


While True

Do


For ((i=1;i<= $count; i++))

Do

/BIN/CP 10k.jpg/backup/test/$i/10k_echo $ (date) $RANDOM |md5sum |cut-c 1-8.jpg

Done


Sleep 1

For ((i=1;i<= $count; i++))

Do

/BIN/CP 30k.jpg/backup/test/$i/10k_echo $ (date) $RANDOM |md5sum |cut-c 1-8.jpg

Done


For ((i=1;i<= $count; i++))

Do

/BIN/CP 50k.jpg/backup/test/$i/10k_echo $ (date) $RANDOM |md5sum |cut-c 1-8.jpg

Done


20170710l07-09-03 old boy Linux Operational training-sersync real-time synchronization software practical application Guide 07

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.