File: ppmd.1

package info (click to toggle)
ppmd 9.1-13
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 228 kB
  • ctags: 329
  • sloc: cpp: 1,332; makefile: 53
file content (67 lines) | stat: -rw-r--r-- 2,522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH "PPMD" "1" "2005-07-07" "9.1" "utils"
.SH "NAME"
.LP
ppmd \- file-to-file compressor
.SH "SYNTAX"
.LP
.B ppmd
<e|d> [switches] <FileName[s] | Wildcard[s]>
.SH "DESCRIPTION"
.LP
It is written for embedding in user programs mainly and it is not intended
for immediate use. I was interested in speed and performance improvements
of abstract PPM model [1\-6] only, without tuning it to particular data
types, therefore compressor works good enough for texts, but it is not so
good for nonhomogeneous files (executables) and for noisy analog data
(sounds, pictures etc.). Program is very memory consuming, you can choose
balance between execution speed and memory economy, on one hand, and
compression performance, on another hand, with the help of model order
selection option (\-o).

.SH "OPTIONS"
.LP
.TP
\fB\-d\fR <\fIdelete file[s] after processing, default: disabled\fP>
.TP
\fB\-s\fR <\fIsilent\fP>
.TP
\fB\-fName\fR <\fIset output file name to Name\fP>
.TP
\fB\-mN\fR <\fIuse N MB memory \- [1,256], default: 10\fP> The PPMII algorithm
might need a lot of memory, especially when used on large files and/or used
with large model order. If ppmd needs more memory than you give it, the
compression will be worse. The exact effect is dependent on the \-r option.
.TP
\fB\-oN\fR <\fIset model order to N \- [2,16], default: 4\fP> Bigger model
orders almost surely results in better compression and surely more memory
and CPU usage.
.TP
\fB\-r{0,1,2}\fR <\fI\fP>
Methods of restoration of model correctness at memory insufficiency:
    '\-r0 \- restart model from scratch'. This method is not optimal for any
type of data sources, but it works fast and efficient in average, so it is
the recommended method (default).
    '\-r1 \- cut off model'. This method is optimal for quasistationary sources
when the period of stationarity is much larger than period between cutoffs.
As a rule, it gives better results, but it is slower than other methods and
it is unstable against fragmentation of memory heap at high model orders and
low memory.
    '\-r2 \- freeze model'. This method is optimal for stationary sources (show
me such source when You will find it ;\-)). It is fast and efficient for such
sources.
.SH "EXAMPLES"
.LP
To run this program the standard way type:
.LP
.B "ppmd e /tmp/myfile"
.LP
Alternatively you can run it as:
.LP
.B "ppmd \-e \-o 16 /tmp/myfile"
.SH "AUTHORS"
.LP
PPMd was written by Dmitry Shkarin <dmitry.shkarin@mtu\-net.ru> and
Dmitry Subbotin.
.SH "SEE ALSO"
.LP
.BR gzip "(1), " bzip2 (1).