How to test RAM in a QNAP NAS with MemHound
A RAM test running on an active NAS can check only the memory that the operating system can allocate to the diagnostic program. It cannot test areas still occupied by QTS or QuTS hero, applications, virtual machines and containers.
Some RAM used as cache can be reclaimed and made available for testing. This also applies to the ZFS ARC cache in QuTS hero. Test coverage therefore depends not just on how much memory is currently labelled “free”, but primarily on how much RAM the program actually allocates and tests.1, 2
This guide explains how to prepare your NAS, when testing in the running system is sufficient as an initial
step, and when to use a USB boot drive, Rescue mode or LiveCD. It also explains how to read the report and why a
PASS result does not mean that all installed memory has been tested.
Where to find MemHound
MemHound is part of StorageDiag Workbench & Utilities. Switch the desktop to Utilities, then select Start menu → Benchmarks → memhound.
The tool requires a StorageDiag administrator or operator account; writing the USB drive and the boot entry need an administrator. The MEMHOUND MEMORY DOCTOR window offers four test types: Quick, Standard, Deep and Hammer. Its title bar holds Benchmark and Quality and Create bootable USB; below the test types is the experimental Memory test at next reboot.
What a memory test actually checks
MemHound allocates memory for the test, writes specific data patterns, then reads them back and compares them with the expected values. A mismatch means the data was not read back correctly. The allocated blocks remain reserved for the duration of the pass, while the program leaves some memory available for the operating system.
The program cannot use this method to overwrite areas still in use by other applications or the kernel. Stopping unnecessary services can therefore increase potential test coverage. It does not eliminate all memory overhead from the running operating system.
Memory coverage and the set of test patterns are two different things. Running outside the NAS's normal operating environment may allow a larger proportion of RAM to be tested. Additional patterns and passes increase the variety of checks performed. A short test of a large memory area does not replace a longer test using more patterns.
| Test | Purpose | Points to consider |
|---|---|---|
| Quick | An initial check of available memory using a shorter test sequence. | The operating system remains running. Memory still occupied by other processes is not included. |
| Standard | A more thorough check of the allocated area, with additional patterns and moving inversions. | Takes longer and may reduce service performance. |
| Deep | Increases coverage by stopping services and applications and attempting to reclaim cached memory. Quick and Standard tests then run. | The NAS stays powered on, but the stopped services are unavailable. |
| Hammer | Deep with a heavier second pass: after the same service stop and Quick pre-check, the Standard patterns run on every CPU core at once. | Stops services like Deep. It is not a row-hammer vulnerability test. |
| Bootable USB drive | Diagnostics that run after booting the NAS from a USB drive prepared in the MemHound window, outside its normal QTS or QuTS hero environment. | Requires a restart and compatible hardware. The default test sequence depends on the image used. |
These are different uses, not successive levels of guaranteed effectiveness. Every result must be considered alongside the memory area checked, the patterns used and the way the test ended.3
Before you begin
Schedule diagnostics for a time when reduced performance or service downtime will not disrupt users. Complete active write operations, coordinate backup jobs and shut down virtual machines gracefully before stopping the applications that host them.
Keep an up-to-date backup of important data and settings. Testing allocated memory does not format disks, but unstable hardware, a restart or interrupted services can disrupt ongoing tasks.
Important: “The NAS stays powered on” does not mean “all services remain available”. Deep mode involves downtime for applications, virtual machines and network services. Booting from USB or LiveCD also interrupts normal NAS operation.
Public result lists: a Quick or Standard test started from the window that finds a hard (HARD) fault
sends the memory module and NAS details to the public RAM fault list. A completed benchmark with a
PASS, PASS-UNQUALIFIED or MARGINAL result goes to the public RAM ranking
(details in section 04). The window has no switch to turn this off. Deep, Hammer and the USB drive test report
nothing.
01Quick test on QTS — basic diagnostics
QTS uses RAM for the operating system, applications and caching. The absence of ZFS ARC does not mean that almost all memory will be available for testing. Coverage depends on current resource usage.1
Preparation and starting the test
- Reduce activity on the NAS. Once user operations have finished, temporarily disable the file-sharing services in use, such as SMB/Samba, NFS or AFP.
- Stop unnecessary applications in App Center. Pay particular attention to virtual machines, containers and applications running through HDMI. Keep StorageDiag and the components needed to manage the device running. Close unnecessary administrative sessions.
- Open the Quick tab. Check the indicated amount of memory that can be tested. The DAILY label is an interface recommendation, not a diagnostic result or confirmation that the RAM is healthy.
- Set the number of passes. Start with one pass in the Passes field. The interface version described here allows between 1 and 16 passes.
- Click Start memory test. Afterwards, read the result, the amount of memory tested and the information confirming whether the scheduled test completed.
On a device with limited RAM, the operating system may occupy a substantial proportion of the available resources. If the interface recommends Rescue mode or the report shows low coverage, continue to section 03. Finding no errors in a small portion of memory does not establish the condition of the rest.
When to choose Standard
Quick performs an address check and a shorter sequence of two patterns. It skips some operations performed by Standard, allowing a faster initial assessment.
If Quick finds no errors but instability continues, run Standard. This mode uses moving inversions, among other checks: sequences that write, read and invert bit patterns. The operating system remains running, although it may respond more slowly.
The Extended patterns option adds seven comparison tests (XOR, SUB, MUL, DIV, OR, AND and sequential increment) to Standard and to the second pass of Deep and Hammer. It has no effect on Quick and makes the test take longer.
What PASS means: no errors were detected in the tested area during the sequence performed. It does not mean that all memory was checked or that faults requiring other patterns, temperatures or longer periods of load have been ruled out.
02Deep test on QuTS hero — greater coverage with service downtime
QuTS hero uses the ZFS file system and its ARC — Adaptive Replacement Cache. ARC stores data and metadata in RAM, reducing the need to read them from disk again. High ARC memory usage is not, by itself, a sign of a fault.
Some of this memory can be reclaimed for other processes. That does not mean the entire ARC will be released immediately, or that all reclaimed memory will be available to the diagnostic program.2
Deep mode reduces RAM usage by services and applications, then tests the memory made available for diagnostics. It also works on QTS, where the system's other caches, rather than ARC, are relevant.
How long services remain unavailable
Downtime starts when the services are stopped. Before the start, the confirmation shows how long the test may take (“up to about”), worked out from the installed RAM. After the first, quick pass the window shows the time left, measured on this NAS, and the time limit. The limit is at least two hours from the start and grows with the amount of RAM tested: on the test units the second pass took 40 to 85 seconds per gigabyte, so on a NAS with 512 GB it can take 6 to 12 hours, and the limit allows for that. If the test is still running at the limit, StorageDiag stops it and starts the services again; the window says that the time limit was reached. If stopping the services takes longer than 30 minutes, the test is abandoned. Keep the StorageDiag window open until the test ends: closing it stops the test and starts the services.
MemHound includes mechanisms for restarting stopped services after a test finishes or is interrupted, together with safeguards for execution problems. Do not treat these as a guarantee that every application and virtual machine will return to its previous state without an administrator checking. After testing, confirm that shares and applications are accessible and that the required virtual machines are running.
Deep still runs under an active operating system. Even after services have stopped, some RAM remains outside the scope of the test.
Starting the test
- Select Deep and click Suspend services & test….
- Read the list of services and applications to be stopped. Confirm only after preparing the NAS for downtime: tick the confirmation box and click Stop services & test. When Virtualization Station is installed, two more confirmations follow: the test stops every virtual machine until it ends.
- MemHound stops the listed services and applications. The administration interface remains available. The tool attempts to reduce ARC usage and reclaim cached memory where possible.
- Quick runs first. If this stage does not return
PASS, the remaining Deep sequence does not start. After Quick passes, Standard begins. - When diagnostics finish, check the report and the state of services, applications and virtual machines.
03Diagnostics using USB, Rescue mode and LiveCD
If a test in the running system finds no errors but the device remains unstable, consider reducing the memory used by the NAS's normal operating environment. This is particularly useful when the previous test covered only a small proportion of RAM.
Unexpected process exits, segfaults, call traces and Machine Check messages need investigation, but they are not automatic proof of a faulty RAM module. Machine Check events can involve different hardware subsystems; the meaning of a particular entry depends on its details and the platform.4
There are three ways to reduce memory usage by the NAS's normal services:
| Method | Environment | Requirements and main limitations |
|---|---|---|
| A. USB drive prepared in Workbench | A separate diagnostic system booted from the drive. | A supported x86 NAS with USB boot capability. When correctly configured, the test runs without a monitor or keyboard. |
| B. Rescue over SSH | A reduced NAS system environment that does not load the normal disk configuration, services and applications. | Access to Console Management, SSH and the network. An operating system still runs and occupies some RAM. |
| C. LiveCD | A separate environment booted from an ISO image. | A compatible PC, or an x86 QNAP with video output, a monitor and a keyboard. |
These procedures are not equivalent. In the version described here, an automatic USB drive prepared by Workbench runs one Quick pass, whereas the full CLI and LiveCD sequences also include Extended passes. A separate environment usually allows a larger memory area to be tested, but still needs resources of its own.
Option A. A bootable USB drive prepared in Workbench
This method runs the test automatically without local console interaction, provided the NAS can boot from the prepared drive. The wizard writes the diagnostic image and prepares a boot entry; this needs an administrator account.
Warning — data will be erased: writing the image deletes all existing contents of the selected USB drive. Check the device name and capacity before confirming. Do not select a disk containing NAS data or a backup drive.
- In the MemHound window, click Create bootable USB.
- Connect a USB flash drive that meets the wizard's requirements. The image described in this procedure requires a drive larger than 192 MB. The wizard's requirement for the downloaded image takes precedence over this figure.
- On first use, select Download the image. When an update is available, use Update the image.
- Follow the wizard: Continue, confirm the device name, select Erase and write, then Add the boot entry.
- Select Restart now and test and confirm the restart with Restart and test. Testing begins automatically once the diagnostic environment starts.
The USB image described here is intended for compatible x86 devices. It cannot boot an ARM-based NAS. An x86 processor alone does not guarantee that the boot method is compatible with a particular firmware version.
Progress and results
Progress is available at the diagnostic environment's network address. This may be the NAS's previous address or a new address assigned by DHCP if the previous settings could not be applied.
When Workbench is opened over HTTP, the MemHound window can retrieve progress directly. Over HTTPS, it provides an address to open in a separate tab.
After PASS, the automatic USB environment initiates a restart into the NAS's normal operating
system. Once the NAS is back, open RAM check to read the report. If the result triggered a
protective shutdown, the device remains powered off.
The NAS does not start the USB test
In the mechanism described here, the wizard adds grub/custom.cfg to the NAS's boot partition. The
GRUB bootloader looks for a drive labelled MEMHOUND and uses the firmware's USB support.
If the NAS boots its normal operating system instead, check whether the USB drive is detected, whether USB boot is supported and whether the boot entry is compatible. Trying another flash drive or USB port may help. A failed boot alone is not evidence that the drive is poor-quality or defective.
If the wizard reports This firmware cannot be given a boot entry, the automatic method is unavailable for that configuration. If the model supports manual boot-device selection, use its boot menu and the appropriate key, such as F11. This may require a monitor and keyboard.
The message The boot entry here is an old one means that you need to use Replace the boot entry. After a test, a drive prepared by this wizard must be prepared again before the next automatic test. Do not apply this requirement to every LiveCD image.
The NAS powered off after the test
The automatic USB environment powers the NAS off after any result other than PASS, including
transient errors only and an aborted test. It saves the report first. On devices with a buzzer, four long tones
repeat for two minutes before the shutdown.
A powered-off NAS does not, by itself, prove that MemHound detected a RAM error. Read the report first. Without it, issues such as a power fault, overheating or a failure of the diagnostic environment cannot be ruled out.
Reports are stored on the USB drive, in the memhound directory of the FAT partition labelled
MEMHOUND:
/memhound/report-<timestamp>.txt /memhound/map-<timestamp>.json
Read them on another computer, or connect the drive to a working NAS with StorageDiag Workbench and open RAM check. If the report confirms memory errors, do not resume the normal production workload until the cause has been investigated.
Option B. Rescue mode over SSH
Rescue mode reduces the number of running components without requiring an additional boot drive. The test still runs under an operating system; it does not gain access to every physical area of RAM.
Prepare an SSH client, Qfinder Pro and a network connection with DHCP available. Internet access is needed to download the program using the method below.
Do not initialise the NAS. Do not launch a browser-based installation, formatting or reset wizard. The purpose is to test memory in Rescue mode, not to create a new disk configuration. This procedure does not require removing the disks.
- Log in to the NAS over SSH and open QTS Console Management.
- Select Reboot in Rescue mode (without configured disks) and confirm the restart. Choose the function by name; its menu number may vary between system versions.
- After the restart, locate the device in Qfinder Pro. An “uninitialised” status is expected in this scenario.
- Enable SSH through Qfinder Pro and log in to the Rescue environment.
- Download MemHound, then run the version appropriate for the device.5
Account and password
In an environment using the default credentials for the admin account, the password depends on
the system version. From QTS 5.2.0 and QuTS hero h5.2.0, it is the device's Cloud Key, in
uppercase and without special characters. QTS 4.4.2–5.1.x uses the first interface's MAC address, in uppercase
without separators; older releases used admin.6, 7
This is not an instruction to change the password on a normally running NAS. Updating the system does not replace an existing administrator password with the Cloud Key. Do not reset the device simply to access the test.6
Downloading the program
Run the commands in order, in the same SSH session and in a writable directory. The download and subsequent
operations are linked with && so that extraction does not continue after a reported download
failure.
# Detect the device architecture. arch=$(uname -m) [ "$arch" = "armv7l" ] && arch=armhf # Download and extract the archive, then make only the binary # matching the detected architecture executable. wget -O memhound.tar.gz https://www.qnaputilities.com/pub/memhound/bin/memhound.tar.gz && tar -xzvf memhound.tar.gz && chmod +x "./memhound-$arch"
If downloading or extraction fails, or there is no file for the detected architecture, stop the procedure. Do not run an arbitrary binary intended for another processor.
Start the test only after the previous block has completed successfully:
"./memhound-$arch"
Without additional options, MemHound opens its text interface and runs Quick, followed, if successful, by Extended passes: Standard with extended patterns. The program attempts to reclaim cached memory and leaves some RAM available for the operating system.
Allow at least one complete Extended pass to finish. You can then press q to stop further
repetition and read the summary. In the version described here, --passes 2 limits this part of the
sequence to two Extended passes:
"./memhound-$arch" --passes 2
This is an alternative to the previous command, not a command to run alongside an existing test.
Reading the summary
Pay attention to four lines:
Verdict Result : Tested X MB of Y MB (Z%) Passes End reason
Verdict gives the diagnostic result. Tested gives the most memory one pass verified (X)
against the RAM the kernel reports (MemTotal, Y); MB here means MiB. Passes shows what actually
finished, for example Quick done, Extended 1 done. End reason explains how the program
ended.
In the CLI mode described here, no errors and coverage of at least 80% produce PASS; insufficient
coverage produces INCONCLUSIVE. The 80% threshold is a program rule, not proof that the remaining memory is
healthy; the Workbench window and the Workbench USB drive do not use it. Pressing Enter dismisses an insufficient-coverage warning; it does not increase the amount of
RAM being tested.
An End reason of stopped by user is expected when you press q to stop
further repetitions after a complete pass. Interrupting a pass does not replace completing it,
even if no errors have been found so far. The verdict counts the best coverage of any pass, even one cut short with
q, so check the Passes line. Save the summary before ending the session. Then restart the
NAS; it starts normally from its configured disks. Do not use the initialisation wizard to restore normal NAS
operation.
Option C. MemHound LiveCD — a PC or compatible x86 QNAP
LiveCD starts a separate diagnostic environment and a sequence of Quick and Extended tests. By avoiding the NAS's normal operating system and applications, it can test a larger proportion of RAM.
The image described here is intended for compatible x86 platforms. The NAS procedure shown requires HDMI output, a monitor and a USB keyboard. This image is not intended for ARM devices.
Preparing the boot media
- Download memhound-livecd-0.6.9.iso.
Compare the downloaded file's checksum with its published
.sha256file. - Write the image to a USB flash drive using balenaEtcher, Rufus in DD or ISO mode, or
dd. The 0.6.9 image is about 59 MB, so it fits on a 128 MB drive. - Connect the monitor, keyboard and drive. Open the boot menu for your NAS model and select USB.
- The image does not start with Secure Boot on: switch Secure Boot off in the firmware settings for the test. Record the previous configuration so it can be restored afterwards.
For Linux users: run the following command with administrator privileges only after checking
the device identifier. /dev/sdX is a placeholder for the entire intended USB drive, not a partition or
a data disk.
Warning: dd overwrites the selected device without asking for further confirmation.
Selecting the wrong device can destroy data on another disk.
dd if=memhound-livecd-0.6.9.iso of=/dev/sdX bs=4M conv=fsync
You can also burn the image to a CD. In that case, do not expect the report to be written to the disc; preserve the result displayed on screen.
Manual and automatic testing
To start manually, select 1 (Start the test) in the menu. The program runs Quick followed by Extended
passes. After at least one Extended pass has completed, press q to stop repetition and read the
result. Press Enter to return to the menu.
In the release described here, leaving the menu untouched for 15 seconds starts an automatic test: one Quick
pass and one Extended pass. After PASS or INCONCLUSIVE, a 60-second restart countdown
begins. A key pressed during the 15-second countdown also counts as the
menu choice (1 starts the test, 4 powers off, any other key shows the menu). A key pressed during the 60-second
countdown cancels the restart and keeps the result on screen.
The LiveCD does not mark a used drive. If the firmware boots USB first, the LiveCD starts again after the automatic restart and begins another test 15 seconds later. Remove the drive when you want the normal system back.
An automatic restart after INCONCLUSIVE does not mean the test passed. It is a behaviour of the boot environment, not confirmation that the memory is healthy.
What to do if an error is found
When a memory error is detected, the LiveCD environment described here ends the current pass, displays the result and error addresses, then deliberately halts the system. The keyboard no longer works on this screen.
Photograph the result and check the report-save message. Switch off the device by holding the power button only once the screen confirms that the test has ended and the environment has halted. Do not use this procedure to interrupt a NAS operating normally.
On a USB drive with a partition labelled MHDATA, reports are stored in the memhound
directory:
memhound/report-<timestamp>.txt memhound/map-<timestamp>.json
When the drive is prepared using Rufus in a supported ISO mode, the folder may be directly on the drive. After a successfully completed test, you can select 4 (Power off), shut down the device and remove the USB drive before the next boot.
04How to read the results
Read the verdict, memory coverage and end reason together. A green label or the word
PASS alone is not enough to assess the entire configuration.
Memory-test results
| Result | Meaning | What to do next |
|---|---|---|
PASS | No errors were detected within the area and sequence covered by the result, and the mode's pass criteria were met. | Check coverage, completed passes and hardware logs. |
PASS_WITH_TRANSIENTS | The program recorded errors classified as transient. | Do not treat this as an error-free result. Save the report and investigate further. |
FAIL | The memory test detected errors meeting its failure criteria. | Limit the NAS's normal workload and investigate the cause. The result alone does not identify a particular module for replacement. |
SUSPECT | The program reported a problem during address checking. On the Workbench USB drive, SUSPECT in the saved result means transient errors only. | Examine the report details and repeat the test in an appropriate environment. |
INCONCLUSIVE | The result is inconclusive, for example because coverage was too low in a mode that checks it. | Change the test conditions or boot method. Do not interpret this as PASS. |
Different modes and interfaces may not display every status in the same way. Benchmark rules are explained separately below.
Transient and repeatable errors
MemHound distinguishes between transient and HARD errors. In the
configuration described here, a single incorrect read is classified as transient. Another error at the same tested
address may meet the threshold for HARD classification; by default, --hard-threshold 2 requires two
such detections.
This is the program's classification scheme. It does not guarantee that a transient error is harmless or that a HARD error originates in a particular module. Operating conditions or other components in the memory path may also be responsible. A single incorrect read should not be ignored.
An address displayed by the program may be a virtual address within its process. A physical address is marked
p= when it has been resolved. An address alone does not reliably identify a DIMM or slot.
For a transient-only run, the Workbench window's status line reads FAIL — 0 hard fault(s), N
transient, while the text summary reports PASS_WITH_TRANSIENTS. Read the counters and event descriptions, not just the status
label.
ECC, EDAC and the kernel log
On platforms exposing the relevant data, also check ECC error counters and the kernel log. CE means a corrected error; UE means an uncorrected error. Repeated events need investigation even if the pattern test itself completed without errors. Unavailable counters are not evidence that no hardware problems occurred.8
In the memory tests described here, changes to ECC counters are reported separately and do not necessarily
change the Verdict field. The summary may include:
<== HARDWARE ECC ERRORS DURING TEST
A PASS in the pattern test does not invalidate hardware errors recorded during the same run.
How the test ended
End reason may show:
completed— the scheduled sequence was executed;stopped by user— the user stopped the test;aborted: …— the test was aborted for the stated reason.
In the window, a stopped Quick or Standard run shows Stopped by user.; for Deep and Hammer,
check that both pass lines show a verdict, not terminated or not run. In a repeating CLI or LiveCD test, pressing
q after a full pass is a normal way to end the session. Always check what actually finished.
Benchmark and Quality — a different question, different criteria
Benchmark and Quality measures memory bandwidth, latency and stability under load. It also checks for errors within the allocated area, but does not replace diagnostics covering as much RAM as possible.
A memory test primarily asks: “Were any incorrect writes or reads detected in the tested area?” The benchmark also asks: “Does this configuration deliver the expected performance and meet the defined criteria?”3
Before clicking: the button starts the benchmark without a confirmation. It may first wait up to five
minutes for free memory; the stop button works while it waits. The first benchmark in a browser cannot be stopped
from the window once it measures. A finished PASS, PASS-UNQUALIFIED or
MARGINAL result from a matched kit on a quiet NAS goes to the public RAM ranking with the NAS model and
module data; the window has no switch to turn this off. A benchmark that finds a bit error or an uncorrected ECC
error reports the module to the public RAM fault list.3
| Benchmark result | Interpretation |
|---|---|
PASS | Performance and stability criteria were met, with no errors counted by the test. |
PASS-UNQUALIFIED | No errors were detected and the applicable stability criteria were met, but bandwidth cannot be reliably assessed against a reference value for the configuration. |
MARGINAL | At least one parameter did not meet the full pass criterion, or a corrected ECC error occurred during measurement. The report provides the specific reason. |
FAIL | At least one criterion was not met. The cause may be a memory error, a hardware event, performance or rejection of the module configuration. |
INCONCLUSIVE | Measurement conditions do not allow a conclusive assessment of the relevant parameters. |
In the benchmark, a single bit error, an uncorrected ECC error or a specified critical kernel event produces
FAIL. A corrected ECC error limits the best possible result to MARGINAL. Events such as
segfaults, call traces, Oops messages and processes killed by OOM are displayed but, under the rules described,
do not change the verdict on their own.3
Module configuration and FAIL
The benchmark applies its own matching criteria to the installed modules. According to its description, it rejects configurations including mismatched modules, three modules, an odd number of modules above four and unequal channel capacities. Assessment relies on information supplied by the firmware; some checks may be skipped if the necessary data is unavailable.
Rejection under these rules does not prove the memory is faulty. It means the configuration does not meet MemHound's qualification criteria. These rules should not be applied to every computer architecture or NAS model. According to the feature description, a result rejected on this basis is neither saved nor published.
NAS workload and an inconclusive result
A busy CPU, insufficient available RAM and thermal throttling can affect measurements. When a performance
criterion is missed under these conditions, the program may report INCONCLUSIVE. A stop triggered by
a memory safeguard may produce the same result. A manually interrupted benchmark is labelled
ABORTED, without a verdict.
This does not mean that actual bit errors, UE events or other conditions that require FAIL are
ignored. Detailed thresholds and rules are covered in the RAM benchmark
guide.3
05RAM in a NAS — compatibility, capacity and stability
Choosing RAM for a NAS involves more than capacity and the speed printed on a module's label. Compatibility with the specific model, slot population and the stability of the entire configuration also matter. A successful boot confirms that the device started; it does not replace testing under load.
“It boots” does not mean “it is officially supported”
Distinguish three things: the capabilities of the processor's memory controller, the configurations specified by the NAS manufacturer and the results of your own tests. They are related, but not interchangeable.
For example, QNAP lists a maximum of 16 GB in a 2 × 8 GB configuration for the TS-464. A particular unit booting with more memory does not change that official specification. Nor does it automatically prove instability: stability must be assessed, while compliance with the specification remains a separate question.9
Keep the original modules. Comparing the device's behaviour with a configuration specified for the model helps distinguish RAM-upgrade issues from other causes. Follow QNAP's hardware instructions when installing or replacing memory.10
Selecting and mixing modules
Do not judge compatibility by brand alone. Module type, memory generation, capacity, voltage, operating profiles, chip organisation and platform requirements all matter. The same brand does not guarantee the same design.
The safest starting point is a configuration specified for the exact model, using modules with the required matching specifications and installing them in the slots indicated by the manual. QNAP requires identical modules for two-module configurations in many models.10, 11
| Configuration | Points to consider | Recommendation |
|---|---|---|
| Different module models or modules from different kits | Operating characteristics and chip organisation may differ, even at the same capacity. | Check full part numbers and compatibility with the NAS model. |
| Different rated speeds | Actual operating speed depends on settings supported by both the modules and the platform. | Do not assume the system will run at the faster module's advertised speed. |
| Different capacities | Channel operation depends on the controller and slot population; a partially symmetric configuration may be possible. | Follow the model's manual rather than relying on total gigabytes alone. |
| Three modules instead of two | Module count alone does not determine how each portion of memory operates. Topology and capacity per channel matter. | Check supported slot population and distinguish it from benchmark rules. |
| ECC and non-ECC, or different buffering types | Compatibility must be established by the platform specification. | Do not mix these types in a configuration the manufacturer has not specified. |
There is no single set of memory frequencies, or universal rule that “three modules are always slower”, that applies to every Intel and AMD processor. More capacity may help a workload constrained by insufficient RAM, but does not remove hardware compatibility requirements.12
Dual-channel: channel configuration matters
In a typical DDR4 dual-channel configuration, the controller can use two 64-bit data channels. In supported asymmetric configurations, part of the memory may operate in dual-channel mode while the excess on one channel operates in single-channel mode. Module placement and channel capacity matter as well as module count.12
More available bandwidth does not automatically produce the same proportional improvement in application speed. File sharing may be limited by the network or storage. Other tasks may be constrained by the processor, an accelerator or available RAM capacity. No fixed percentage improvement should be promised for every NAS and service.
ECC: additional protection, not a replacement for testing
ECC detects and corrects certain memory errors. The scope of protection depends on the implementation. Both the hardware platform and the modules must support it; installing memory labelled ECC does not, by itself, confirm that error correction is active.8
ECC is also valuable with ZFS, but it is not exclusive to QuTS hero. A file-system checksum does not replace RAM protection: data changed in memory before its checksum is calculated may be written as a block with a valid checksum. This issue is not unique to ZFS. OpenZFS recommends ECC particularly where a high level of data integrity is required.13
Configuration examples documented by QNAP
| Model | Memory type and ECC information | What to check before upgrading |
|---|---|---|
| TS-464 | DDR4 SO-DIMM; do not treat it as an ECC platform. The published specification lists a 16 GB maximum. | Hardware revision, available slots and the configuration supported by the model. |
| TS-473A | DDR4 SO-DIMM; QNAP states that ECC memory is supported. | Whether the installed modules are ECC and meet the model's requirements. |
| TVS-h1688X | DDR4 ECC UDIMM. | The correct module type and slot-population arrangement. |
| TS-h1290FX | DDR4 ECC RDIMM. | Modules and configurations specified for this multi-channel platform. |
The table covers these models, not every device with a similarly named processor. ECC support does not mean every unit already has ECC modules installed.9, 14, 11, 15, 16
SO-DIMM identifies a module form factor, while UDIMM and RDIMM distinguish, among other things, how signals are buffered. Do not treat these as interchangeable simply because they share a DDR generation and capacity. The NAS specification must determine the choice.
Symptoms that justify checking RAM
Memory diagnostics are appropriate when, for example, a NAS fails to boot correctly after a RAM change, detects a different capacity than expected, freezes or restarts unpredictably, or reports memory-subsystem errors.
These are reasons to investigate, not a diagnosis in themselves. Some of the difference between installed RAM and memory available to the operating system may be due to hardware reservations. An entirely missing module is different from the normal gap between installed capacity and system-usable memory.1
A Machine Check entry needs to be examined in detail. Repeated errors attributed to the same module or channel help narrow the investigation, but the slot, controller and operating conditions must also be considered. A single corrected error should not automatically be treated as permanent module damage; record it and watch for further events.4, 8
OOM: failure to allocate memory is not proof of faulty RAM
OOM — out of memory — concerns an inability to provide the memory required for operation. The kernel may terminate a process to reclaim resources. Excessive demand, a memory leak or a container limit may be responsible, rather than a faulty module.
A container can reach its limit even when RAM is still available elsewhere on the NAS. Conversely, failure to allocate a larger contiguous area is not automatically an OOM-killer event: not every failed allocation triggers that mechanism.17
During investigation, check which process was terminated, whether a container limit was involved, the state of memory and swap, and the preceding log messages. MemAvailable is more useful than MemFree alone for estimating overall memory headroom, but it remains an estimate, not a guarantee that every allocation will succeed.1
A RAM test may be a useful next step when other signs of instability are present. OOM alone is not sufficient grounds for replacing memory. StorageDiag may flag OOM events, mismatched module configurations and hardware memory errors in a diagnostic package; these warnings have different meanings and must be interpreted separately.
Where capacity and bandwidth matter
| Workload | What to monitor |
|---|---|
| Virtualization Station | Combined memory requirements of the virtual machines and host, remaining headroom and swap usage. Do not allocate all device memory to VMs. |
| Container Station | Actual usage and limits for each container. Requirements depend on the applications and the scale of the data. |
| QuTS hero and ZFS | ARC usage, memory available to applications and the requirements of enabled features. A large ARC allocation is not a problem by itself. |
| QuMagie and Qsirch | Changes in memory and CPU usage during indexing and data analysis. |
| Multimedia and transcoding | CPU or accelerator utilisation, memory usage and other resource constraints. Dual-channel alone does not guarantee a specific performance improvement. |
There is no single figure such as “16 GB is enough for containers” that describes every environment. Choose capacity based on service requirements and observed workload, not the application name alone.
Good practices
- Choose memory for the specific model. Check module type, capacity, ECC requirements and slot population in the hardware documentation.
- Check the configuration and run diagnostics after an upgrade. Confirm that the expected modules are detected, run an initial test, then perform a test with appropriate coverage and a more extensive pattern set.
- Keep reports and the original modules. They make configuration comparisons and further investigation easier.
- Read the result together with coverage and logs. PASS says nothing about memory the program did not test. ECC errors and interrupted passes need separate assessment.
- Restore and check services after testing. Confirm access to shares, check applications and virtual machines, and restore any boot settings changed for diagnostics.
The important question is not simply whether the screen says PASS. It is which memory area was tested, with which patterns, under what conditions, and whether the entire scheduled sequence completed.
Documentation and related guides
- Linux kernel documentation:
/proc/meminfo,MemTotal,MemFreeandMemAvailable. - OpenZFS documentation: ARC parameters and management.
- StorageDiag RAM benchmark guide.
- Linux kernel documentation: Machine Check.
- QNAP, rebooting into Rescue mode.
- QNAP, changing the default password to the Cloud Key from version 5.2.0.
- QNAP, the default administrator account.
- Linux kernel documentation: EDAC.
- QNAP TS-464, hardware specifications.
- QNAP, selecting and installing memory modules.
- QNAP TS-473A, hardware specifications.
- Intel, channel organisation and Flex Memory: documentation for a specific platform, not a universal specification for every NAS.
- OpenZFS FAQ, ECC memory and data integrity.
- Intel Celeron N5095, memory support and lack of ECC support.
- QNAP TVS-h1688X, hardware specifications.
- QNAP TS-h1290FX, hardware specifications.
- Linux kernel documentation: memory limits and OOM in cgroups.