Open bueryg opened 5 years ago
There are two ways to use HME: using HME (hybird memory emulator) with AHME (hybrid memory allocator based on Glibc) and using HME without AHME(with libnuma or numa policy).
Check which way you want to use HME and make sure that HME( or AHME) has been compiled successfully.
We already have an example about how to use HME:
[root @node1 scripts]# sh runenv.sh runspec --config=Example-linux64-amd64-gcc43.cfg --noreportable --iteration=1 433.milc
In this example, sh runenv.sh
is the HME start shell script and runspec --config=Example-linux64-amd64-gcc43.cfg --noreportable --iteration=1 433.milc
is the application which you want emulated.
For another easy example, sh runenv.sh ls
.
If you want see more the detail about how HME starts, check the code in runenv.sh.
In the compiling part of this tutorial, it simply says using runenv.sh to run your command. So I don't quite understand how to use it. Could you please explain it more accurately?