Lz4, pigz, and gzip31. Compression(1.1) Use gzip for packaging:# Time tar-zcf tar1.tar binlog *Real 0m48. 497 sUser 0m38. 371 sSys 0m2. 571 s(1.2) Use pigz compression and set the maximum compression speed (-1)# Time tar-cv binlog * | pigz-1-p 24-k> pigz1.tar.gzReal 0m10. 715 sUser 0m17. 674 sSys 0m1. 699 s
(1.3) pigz
Lz4, pigz, gzip 3, lz4pigzgzip1. Compression(1.1) Use gzip for packaging:# Time tar-zcf tar1.tar binlog *Real 0m48. 497 sUser 0m38. 371 sSys 0m2. 571 s(1.2) Use pigz compression and set the maximum compression speed (-1)# Time tar-cv binlog * | pigz-1-p 24-k> pigz1.tar.gzReal 0m10. 715 sUser 0m17. 674 sSys 0m1. 699 s
(1.3) p
One, compression(1.1) Use Gzip to package:# time TAR-ZCF Tar1.tar binlog*Real 0m48.497sUser 0m38.371sSYS 0m2.571s(1.2) Use PIGZ compression while setting the maximum compression speed (-1)# Time TAR-CV binlog* | Pigz-1-P 24-k >pigz1.tar.gzReal 0m10.715sUser 0m17.674sSYS 0m1.699s(1.3) Using Pigz compression, the default compression ratio# Time TAR-CV binlog* |
Using tar+lz4/pigz+faster data transfer with SSH -- One-8|Ten: 41 Category: Linux,mysql |The previous article describes how to maximize the transfer speed of the SCP, with this foundation, you can further use compression to speed up the transmission. Using only SCP, the fastest transfer rate is about 90MB, this article will increase the fastest transfer rate to about 250MB by compressing/s (including the decompression process). directory [hide]1. Conc
@openssh.com" 10. xxx. xxx.36 "lz4-d | tar-xC/u01/backup_supu" 3.91GiB 0:00:16 [249MiB/s] real 0m16. 067 s user 0m15. 553 s sys 0m16. 821 s
249 MB/s. It is 6 times the original scp (40 MB/s). It takes about 3 hours for the original GB transmission, and now it takes only 27 minutes.
Note 1: lz4's excellent decompression performance makes him very important in this case. If you do not need to decompress the transfer, you can consider using pigz/pbiz2
NO
the original GB transmission, and now it takes only 27 minutes.
Note 1: lz4's excellent decompression performance makes him very important in this case. If you do not need to decompress the transfer, you can consider using pigz/pbiz2
NOTE 2: using pv observation, the network traffic is about 80 MB, so replacing ssh with nc does not significantly improve performance.
NOTE 3: lz4 adopts-B4 (64 KB) for compression and-B7 (4 MB) for decompression, which
1. Conclusion
The maximum transmission performance can be achieved by using the Tar+lz4+ssh method:
The code is as follows
Copy Code
Time Tar-c sendlog/|pv|lz4-b4|ssh-c arcfour128-O "MACs umac-64@openssh.com" 10.xxx.xxx.36 "lz4-d |tar-xc/u01/backup_supu"3.91GiB 0:00:16 [249mib/s]Real 0m16.067sUser 0m15.553sSYS 0m16.821s249mb/s,
Duly completed. is 6 times times the original SCP (40MB/S), the original 400GB transmission takes about 3 hours, now it only takes
When using Automysqlbackup to back up MySQL, sometimes you'll see "warning:turning off multicore support, since Pigz" in the mail. This alarm message, why this alarm message?cause of error:Automysqlbackup will compress the dump file when backing up the MySQL database. and multi-processor support. It is compressed with Pigz by default. This means that multicore support is turned on by default.
Keywords: Radio radio button text selection
Sometimes when we fill out some forms in a Web page, we may encounter radio buttons, if you choose gender is male or female, at this time the user will often go to click on the radio button that small circle, because the radio but
One, insert a single radio button
1. Click on the mouse, positioning the cursor in the form frame line, click the "Insert" menu, select the "form" item, in the Pop-up submenu select the "radio button" command.
Or select the form item in the Insert panel and click the Radio button icon, as shown in the following illustration:
Click on the "Window" m
One, insert a single radio button
1. Click on the mouse, positioning the cursor in the form frame line, click the "Insert" menu, select the "form" item, in the Pop-up submenu select the "radio button" command.
Or select the form item in the Insert panel and click the Radio button icon, as shown in the following illustration:
Click on the "Window" m
Radio Box: The name value of the radio box is all the samePage has a set of elements of a radio box var radio=document.getelementsbyname ("Radio");var selectvalue=null; Selectvalue the selected value in the radiofor (int i=0;iif (radio
jquery Control Radio Check and uncheck Method summaryFirst, set the selected methodCopy CodeThe code is as follows:$ ("Input[name= ' name ']"). Get (0). Checked=true;$ ("Input[name= ' name ']"). attr (' checked ', ' true ');$ ("Input[name= ' name ']:eq (0)"). attr ("Checked", ' checked ');$ ("Input[name= ' Radio_name '][checked]"). Val (); Gets the value of the selected radioTwo, set the check and uncheck the exampleCopy CodeThe code is as follows:#jq
The selection box, the Radio box, and the radio button are all selection components, the selection component has two states, one is checked (on) and the other is unchecked (off), which provides a simple "On/off" selection feature that allows the user to choose among a set of selected items.
Selection box
The selection box (Jcheckbox) is checked or not open is a small box, is checked in the box tick. When
Before you shared a lot of CSS3 implementation of the button. What we're going to share with you today is the checkbox check box for pure CSS3 and the Radio radio box, which is super cool. Let's take a look at the chart first!Online preview Source DownloadThis instance is completely implemented by CSS3 without any JS code. Let's look at the implementation code together.HTML code: Divstyle= "width:200px; flo
Gets the value of a set of radio selected itemsvar item = $ (' input[@name =items][@checked] '). Val ();Gets the text of the Select selected itemvar item = $ ("select[@name =items] option[@selected]"). Text ();The second element of the Select drop-down box is the currently selected value$ (' #select_id ') [0].selectedindex = 1;Radio the second element of a radio
The Radio object represents a radio button in an HTML form. A radio button is one of a set of mutually exclusive option buttons. When a button is selected, the previously selected button becomes unchecked. When the radio button is selected or unchecked, the button triggers the onclick event handle. You can access the
Radio buttons are typically used in groups, and each radio button represents one of a set of mutually exclusive options. When the group property is set for the first radio button, several subsequent radio buttons belong to the same group as the button until the next control ( in tab order ) with the group property is
Give your cool dog software users A detailed explanation to share the cool dog Collection Radio tutorial.
Tutorial Sharing:
1 Click the download arrow on the back of the radio that you want to collect, and then click the "Add to My Favorites" button on the Drop-down menu.
2 Right click on the collection of radio, and then right-click the menu "Add t
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.