MEMHOG - Online Linux Manual PageSection : 8
Updated : 2003,2004
Source : SuSE Labs
Note : Linux Administrator's Manual
NAMEmemhog − Allocates memory with policy for testing
SYNOPSISmemhog [ −r<NUM> ] [ size kmg ] [ policy nodeset ] [ −f<filename> ]
DESCRIPTIONmemhog mmaps a memory region for a given size and sets the numa policy (if specified). It then updates the memory region for the given number of iterations using memset. -r<num>Repeat memset NUM times -f<file>Open file for mmap backing -HDisable transparent hugepages -sizeAllocation size in bytes, may have case-insensitive order suffix (G=gigabyte, M=megabyte, K=kilobyte) Supported numa-policies: interleave Memory will be allocated using round robin on nodes. When memory cannot be allocated on the current interleave, target fall back to other nodes. Multiple nodes may be specified. membind Only allocate memory from nodes. Allocation will fail when there is not enough memory available on these nodes. Multiple nodes may be specified. preferred Preferably allocate memory on node, but if memory cannot be allocated there fall back to other nodes. This option takes only a single node number. default Memory will be allocated on the local node (the node the thread is running on)
EXAMPLES# Allocate a 1G region, mmap backed by memhog.mmap file, membind to node 0, repeat test 6 times memhog -r6 1G --membind 0 -fmemhog.mmap # Allocate a 1G region, iterleave across nodes 0,1,2,3, repeat test 4 times memhog -r4 1G --interleave 0-3 # Allocate a 1G region, (implicit) default policy, repeat test 8 times memhog -r8 1G
AUTHORSAndi Kleen (ak@suse.de)
LICENSEGPL v2
SEE ALSOmmap(2), memset(3), numactl(8), numastat(8) 0
Johanes Gumabo
Data Size : 7,109 byte
man-memhog.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 236,361
Visitor ID : :
Visitor IP : 3.139.104.140 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.