我要评分
获取效率
正确性
完整性
易理解

Binary Options

These options are specified for the ExaGear binary implementation. They are rarely used during normal ExaGear running.

Table 1 ExaGear binary options

Category

Command

Description

General options

--help/-h

Displays the description of all internal ExaGear options.

--version/-v

Displays the product build version.

-f <param>

Executes the specified file instead of argv[0].

--program-fd <param>

Reads the content of an executed application file from a given file descriptor.

--use-binfmt_misc

Replaces execve() with binfmt_misc.

--force-binfmt_misc

Forcibly executes execve() through binfmt_misc.

Options related to memory ordering

--disable_smo_in_jit

Disables the strong memory ordering mode of the JIT code segment.

--smo-patterns=

Translates and executes dynamic library files with memory ordering problems identified, in strong ordering mode. The matching rule is obtaining the substring libmpi of libmpi.so. Multiple files are separated by commas (,).

--smo-mode (none/*fbase*/abase/all)

Support mechanism for strong memory ordering (default value: 'fbase').

--smo-severity (*smart*/full)

Support mechanism for strong memory ordering (default value: 'smart').

--smo-pre-addr-list

Provides addresses with memory ordering problems in abase mode of a strong memory ordering model.

Virtual File System (VFS) options

--path-prefix <param>

Path of the guest file system image.

--opaths-list <param>

Path of the rewritten file system element list.

--vpaths-list <param>

Path of the replaced file system element list. The path in the list is host path visible to the guest user. For more details, see Sharing Directories Between the Host and Guest Systems.

--utmp-paths-list <param>

Path of the utmp path list. The utmp file is a file that contains the C structure. In the guest and host architectures, the C structures may be different. These files are listed after special control.

--vfs-kind (*guest-first*/host-first)

Selects the first and second roots of the file system. The valid values are 'host-first' and 'guest-first'.

--fs-root <param>

Root path of the guest file system (chroot emulation).

--hifd-start <param>

Lowest file descriptor of the HiFd area (initial hard limit of RLIMIT_NOFILE). The default value is 8192.

--hifd-reserve <param>

Reserved size of the HiFd area. It is recommended that the value be greater than the number of threads. The default value is 8192.

--hifd-no-dynamic-check <param>

Disables protection of internal descriptors in the HiFd dynamic area on the guest system.

--rlimit-nofile-guest <param>

Comma-separated soft and hard guest nofile limits, used for inheritance of exec.

--tmp-dir <param>

Directory for storing temporary files.

--foreign-ubt-binary <param>

Path of the UBT of an external guest architecture.

--foreign-opt-binary <param>

Path of an optimizer of an external guest architecture.

--fast-math

Allows faster execution of mathematical calculations, but in some cases it may lead to inaccurate results.

--disable-native-ret-addr-opt

Disables the action of placing the returned address of the local host in the address space of the guest system.

--disable-thp-preallocation

Disables memory pre-allocation for blocks that are aligned with huge pages.

--use_opt <param>

Uses the region optimizer (with performance analysis enabled).

--opt_fd <param>

File descriptor of the optimizer region I/O.

--x86-precise-fp

Precise (x86-like) floating-point calculation. It is the same as the x86 bitwise identical precision option.

--x86-precise-80bit-fp

Precise (x86-like) 80-bit floating-point calculation. It is the same as the 80-bit x86 precision option.

--bolt-mode (none/*bg*/fg)

Bolt running mode.