ROIDBA's favorite, LZ4 compression tool, backup recovery no more hours.

Source: Internet
Author: User
Tags benchmark


Compression ratio, efficiency is very high, as to how to use, send the article tomorrow.


1. Download

http://rpmfind.net/

Search Input: Lz4

Download

Extras testing Packages for Enterprise Linux 6 for x86_64

lz4-1.7.5-1.el6.x86_64.rpm

2. Installation

http://rpmfind.net/

# RPM-IVH lz4-1.7.5-1.el6.x86_64.rpm

# Rpm-qa|grep LZ4

Lz4-1.7.5-1.el6.x86_64

# LZ4--help

LZ4 command Line interface 64-bits v1.7.5, by Yann Collet * * *

Usage:

LZ4 [ARG] [input] [output]

INPUT:A filename

With no file, or when file is-or stdin, read standard input

Arguments:

-1:fast Compression (default)

-9:high compression

-d:decompression (default for. lz4 extension)

-z:force compression

-f:overwrite output without prompting

-k:preserve source Files (s) (default)

--rm:remove source file (s) after successful de/compression

-h/-h:display Help/long Help and exit

Advanced arguments:

-v:display Version number and exit

-v:verbose mode

-q:suppress warnings; Specify twice to suppress errors too

-c:force write to standard output, even if it is the console

-t:test Compressed File integrity

-m:multiple input files (implies automatic output filenames)

-r:operate recursively on directories (sets also-m)

-l:compress using Legacy format (Linux kernel compression)

-b#: Block size [4-7] (Default:7)

-bd:block dependency (improve compression ratio)

--no-frame-crc:disable Stream Checksum (default:enabled)

--content-size:compressed frame includes original size (Default:not present)

--[no-]sparse:sparse mode (default:enabled on file, disabled on stdout)

Benchmark arguments:

-b#: Benchmark file (s), using # compression level (DEFAULT:1)

-e#: Test all compression levels from-bx to # (DEFAULT:1)

-i#: Minimum evaluation time in seconds (default:3s)

-b#: Cut file into independent blocks of size # bytes [32+]

or predefined block size [4-7] (Default:7)


This article is from the "ROIDBA" blog, make sure to keep this source http://roidba.blog.51cto.com/12318731/1891182

Roidba Favorites, LZ4 compression tool, backup recovery no more hours.

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.