Page 2
The contents of this manual may be revised without prior notice. The contents of this manual shall not be copied or altered without the prior written permission of NEC Corporation. Trademarks Linux is a trademark or registered trademark of Linux Torvalds in Japan and other countries.
Contents Introduction ..........................1 What is necmemras? ......................1 What is address based memory mirroring ................. 1 Operating Environment ...................... 1 Terminology ........................2 Access Limitation ....................... 2 Setting memory mirroring and address based memory mirroring ........3 How to setup memory mirroring ..................3 How to setup address based memory mirroring ..............
Address based memory mirroring is enabled by using necmemras. See “2.2 How to setup address based memory mirroring” for details. Operating Environment necmemras operating environment as shown below: Table 1-1 Operating Environment Express5800/A2040d Express5800/A2020d Express5800/A2010d Hardware (Server) Express5800/A1040d Note: Express5800/A1040d is unsupported model for Address Based Memory Mirroring.
Indicates a group consisting of a set of processors that can perform memory access to a specific memory area by the same method (cost) and of that memory area. With Express5800/A2040d, A2020d, A2010d, and A1040d, all the logical processors in CPU socket and memory connected under CPU socket build one NUMA node.
Setting memory mirroring and address based memory mirroring This section describes how to set memory mirroring and address based memory mirroring with necmemras. How to setup memory mirroring necmemras allows enabling memory mirroring of each NUMA node the OS recognizes. Setting memory mirroring as follows: Installing necmemras Install necmemras according to "3.1 Installing necmemras”.
Page 7
Confirm the memory size the OS recognized before setup of memory mirroring. You can get the memory size of each NUMA node by using the following numactl -H. Execution resultEx # numactl -H available: 4 nodes (0-3) node 0 cpus: 0 4 node 0 size: 16208 MB node 0 free: 15600 MB node 1 cpus: 1 5...
- No space left on device Solution Disk space is insufficient. Increase free space, and install it again. necmemras is installed in /opt/nec/necmemras. Uninstalling necmemras Login the machine to uninstall necmemras with the user having administrative privilege (Administrator) and perform the following.
Uninstall necmemras package by running rpm command. #rpm -e mcl-necmemras Run the following command to check if necmemras package is uninstalled correctly. #rpm -qa | grep necmemras Uninstallation is completed successfully if no response is displayed against the command. Upgrading necmemras Login to the target machine as a root user.
necmemras is unsupported for Cluster On Die Enabled Mode. If you use necmemras commnd, Cluster On Die setting needs to be Important disabled using BIOS SETUP. (Cluster On Die is disabled for default setting.) Table 3-1 necmemras options Option Use case Reboot --mode Use this option to set memory RAS mode.
Necmemras Command Reference This section describes details of necmemras command used to view or configure information related to necmemras. For how to install necmemras, see “3.1 Installing necmemras”. necmemras command line format necmemras subcommand [<options>] subcommand: … See [4.2]. --show …...
Description Table 4-1 Shown items of necmemras Item Value Meaning Independent Independent + Rank Sparing Independent + Mirroring Memory RAS The current setting of the memory RAS Independent + Addr Mirroring Mode mode is shown. Lockstep Lockstep + Rank Sparing Lockstep + Mirroring Lockstep + Addr Mirroring x is the decimal number of NUMA node.
Page 16
When execute necmemras with “--mode” option, it is possible to enable or disable address based memory mirroring with BIOS SETUP Tips after the next boot. Refer to "Express5800/A1040d, A2040d, A2020d, A2010d User’s Guide" for how to use BIOS SETUP utility. Suboption ...
Case 2. Commnad is failed for a typo. # ./necmemras --mirrornode=0 usage : necmemras --show necmemras --mode=independent(I) necmemras --mode=independent-rankspare(IR) necmemras --mode=independent-mirror(IM) [--mirrornode=NODEID] necmemras --mode=independent-addrmirror(IAM) necmemras --mode=lockstep(L) necmemras --mode=lockstep-rankspare(LR) necmemras --mode=lockstep-mirror(LM) [--mirrornode=NODEID] necmemras --mode=lockstep-addrmirror(LAM) necmemras --version NODEID is a comma delimited list of NUMA node id. (0 - 3) example) necmemras --mode=independent-mirror --mirrornode=0,1 Memory Mirroring is Enabled in NUMA node 0.
Page 18
Case 1. Command is successful. # ./necmemras --mode=independent-mirror --mirrornode=0,2 Memory RAS Mode: Independent + Mirroring Node:0 MR#1-2 Mirrored (Base Memory) Node:1 MR#3-4 Not-Mirrored Node:2 MR#5-6 Mirrored Node:3 MR#7-8 Not-Mirrored The configuration changes have not been applied yet. You must reboot the system to apply them. Case 2.
--version option Shows version information of necmemras. Suboption None Execution result The version information is displayed by the following format: # ./necmemras --version necmemras Version 1.0...