Debian Codegraph @

man/hugeedit.8

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH HUGEEDIT 7 "October 8, 2008"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh disable hyphenation
10 .\" .hy enable hyphenation
11 .\" .ad l left justify
12 .\" .ad b justify to both left and right margins
13 .\" .nf disable filling
14 .\" .fi enable filling
15 .\" .br insert line break
16 .\" .sp <n> insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19 hugeedit \- Set default policy for backing text and data with hugepages
20 .SH SYNOPSIS
21 .B hugeedit binary
22 .br
23 .B hugeedit [options] binary
24 .SH DESCRIPTION
25
26 \fBhugectl\fP runs processes with a specific policy for backing memory
27 regions with hugepages. Ordinarily when processes are relinked with
28 \fBlibhugetlbfs\fP using the recommended linking method, either \fBhugectl\fP
29 is required on each execution or environment variables must be set for
30 each execution. \fBhugeedit\fP can be used to set bits in the ELF header
31 that determine if the text or data segments are backed by default without
32 further intervention.
33
34 If no arguments are specified, \fBhugeedit\fP will display what the current
35 defaults for each segment in a binary are. The available options are
36
37 .TP
38 .B --text
39 Back the text segments of the binary by default.
40
41 .TP
42 .B --data
43 Back the data segments of the binary by default
44
45 .TP
46 .B --disable
47 Back all segments using small pages by default
48
49 .SH SEE ALSO
50 .I oprofile(1),
51 .I libhugetlbfs(7),
52 .I hugectl(8)
53 .br
54 .SH AUTHORS
55 libhugetlbfs was written by various people on the libhugetlbfs-devel
56 mailing list.
57