HUGEEDIT(7) Miscellaneous Information Manual HUGEEDIT(7)NAME
hugeedit - Set default policy for backing text and data with hugepages
SYNOPSIS
hugeedit binary
hugeedit [options] binary
DESCRIPTION
hugectl runs processes with a specific policy for backing memory regions with hugepages. Ordinarily when processes are relinked with lib-
hugetlbfs using the recommended linking method, either hugectl is required on each execution or environment variables must be set for each
execution. hugeedit can be used to set bits in the ELF header that determine if the text or data segments are backed by default without
further intervention.
If no arguments are specified, hugeedit will display what the current defaults for each segment in a binary are. The available options are
--text Back the text segments of the binary by default.
--data Back the data segments of the binary by default
--disable
Back all segments using small pages by default
SEE ALSO oprofile(1), libhugetlbfs(7), hugectl(8)AUTHORS
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list.
October 8, 2008 HUGEEDIT(7)
Check Out this Related Man Page
LD.HUGETLBFS(1) General Commands Manual LD.HUGETLBFS(1)NAME
ld.hugetlbfs - link a program for huge pages
SYNOPSIS
ld.hugetlbfs [options]
DESCRIPTION
ld.hugetlbfs replaces the normal ld command for linking programs to use hugepages. Under gcc, you should use the option -B /usr/share/lib-
hugetlbfs which tells gcc to look in a non-standard location for the linker. This could be set in the CFLAGS environment variable.
-Wl,--hugetlbfs-align
This method of linking an application permits greater flexibility at runtime. Using HUGETLB_ELFMAP, it is possible to control which
program segments are placed in hugepages. The following four settings will cause the indicated segments to be placed in hugepages:
HUGETLB_ELFMAP=R Read-only segments (text)
HUGETLB_ELFMAP=W Writable segments (data/BSS)
HUGETLB_ELFMAP=RW All segments (text/data/BSS)
HUGETLB_ELFMAP=no No segments
It is possible to select specific huge page sizes for read-only and writable segments by using the following advanced syntax:
HUGETLB_ELFMAP=[R[=<pagesize>]:[W[=<pagesize>]]
-Wl,--hugetlbfs-link=B
Under binutils 2.16 or older, this option will link the application to store BSS data (only) into hugepages.
-Wl,--hugetlbfs-link=BDT
Under binutils 2.16 or older, this option will link the application to store text, initialized data and BSS data into hugepages.
FILES
[DESTDIR|/usr/share]/doc/libhugetlbfs/HOWTO
SEE ALSO libhugetlbfs(7), hugectl(8), hugeedit(8)AUTHORS
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list.
March 12, 2012 LD.HUGETLBFS(1)
I need to know from a script if a given file is a text file (ascii) or binary.
I need it in order to do dos2unix on each text file - and not on binary files (1 Reply)
Hi all,
I have a print control file (dflt) for Oracle which is in binary. As I am going to develope an application in Window environment, I would like to reference the dflt file. But it is in binary format and I cannot access it. Anyone can suggest me how to convert the file into text or... (5 Replies)
i hav tried to convert binary 2D data into text using binreader and writing into text file using streamwriter.
i use ReadSingle() function to convert from binary to ascii, although it works good in 1D data but not in more dimensions.
the kind of values i get are
-1.265369923E+038
and like
... (2 Replies)
Hi every body,
Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber.
Note it is direct connection & there is no switches between the servers.
I'm concern about using HBA adapters, it is possible or not.
Thanks in advance. :) (3 Replies)
Hello,
I have come across the necessity for me to deal with binary sequences and I had a few questions.
1- Does any UNIX scripting language provide any tool or command for converting text data to binary sequences? Example of binary sequence: "0x97 0x93 0x85 0x40 0xd5 0xd6 0xd7"
2- If I want... (2 Replies)
Hi,
I copied the contents of a binary file into a .text file using hd (hexdump) command. The data in binary file is such that I get in many places like following
00000250 00 00 00 00 3f 2d 91 68 3f 69 fb e7 00 00 00 00 |....?-.h?i......|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00... (2 Replies)
I am trying to parse a file but the filehas binary data inline mixed with text fields.
I tried the binutils strings function , it get the binary data out but put the char following the binary data in a new line .
input file
app_id:1936 pgm_num:0 branch:TBNY ord_num:0500012(–QMK) deal_num:0... (12 Replies)
I have a binary file with all content is text, i want convert this binary to a regular file because i want to parse it.
Thx.
---------- Post updated at 05:01 AM ---------- Previous update was at 04:34 AM ----------
I have found the solution
cat file | tr -d '\0' (8 Replies)
Hi,
Im wondering how I can convert a binary file to a text file?
I have ran the following command to output which type of binary file coding it is
od -t x1 -c eHat.data0 | head -20
and that gives me the following output;
0000000 5c 00 00 00 cd 06 f2 41 00 00 00 c6 00 00 00 c6 \ \0 \0 \0... (3 Replies)
i have a binary data that has some text in it.
what i want to do is, i want to grab just piece of information from the binary. but when i run my awk on it, it returns nothing.
awk -F"MYINFO=" '{print $2}' mybinary
however, when i install gawk, then try again, it works.
i would prefer... (1 Reply)