Jump to content

How to distribute ECC RAM between two servers?

Gerr

I have the following sticks of ECC RAM...

 

Four 8GB Crucial Unbuffered ECC DDR3-1600 CL11

Four 4GB Hynix Unbuffered ECC DDR3-1600 CL11

 

I have the following two servers...

 

Freenas

Xeon E3-1231v3 on an Asus C222 mobo.

Plex - media on 3x3TB HGST NAS HDD's in Raidz1(ZFS), jail & metadata on a 250GB Crucial MX200 SSD

 

Windows Server 2016 Essentials

Xeon E3-1226v3 on an Asus C226 mobo

NAS - is my personal NAS using two mirrored 3TB WD Red drives.  Backed up to an external USB 6TB HDD.

NAS - is my wife's primary NAS using two mirrored 1TB WD Red drives.  Backed up to an external USB 2TB HDD.

NVR - Running Blue Iris NVR app saving data to a single 3TB WD Purple.

Client backups - running automated client backups to a single 4TB HGST NAS HDD.

Domain Controller(future) - at some point will promote this server to a domain controller, just not ready yet.

Blu-Ray Ripping & Transcoding - I will infrequently use this system to rip new Blu-Rays via MakeMKV and then transcode them using Handbrake.

 

 

I would prefer not to mix brands, so one system will get 32GB of Crucial RAM and the other will get 16GB of Hynix RAM.  

 

My initial thoughts would be to give the FreeNAS system the 32GB as it will use the extra RAM as an ARC cache.  Plus 16GB would be just under the recommended RAM for a ZFS system, that being 8GB + 1GB per TB of drive space, so 8GB(ZFS system) + 9GB(9TB of drives) = 17GB.  Plus as my media collection grows, I might upgrade the drives to a higher capacity, which would require more RAM.  While still too expensive, would love to replace the 3TB drives with 8TB drives, which would give me 16TB of usable storage and the 32GB RAM would be the exact amount of required RAM for that...8GB + 24GB.  However, I don't expect to be able to afford that for 1-2 years.

 

The type of work done by the Windows Server isn't RAM intensive, so I think 16GB would be fine there.  Not sure about if I would need a RAM upgrade when I promote it to a domain controller or if 16GB would still be fine then.

 

Thoughts/Opinions?

Link to comment
Share on other sites

Link to post
Share on other sites

I think in this use case, prioritise the ZFS demands so I agree with your thinking.

Gaming system: R7 7800X3D, Asus ROG Strix B650E-F Gaming Wifi, Thermalright Phantom Spirit 120 SE ARGB, Corsair Vengeance 2x 32GB 6000C30, RTX 4070, MSI MPG A850G, Fractal Design North, Samsung 990 Pro 2TB, Acer Predator XB241YU 24" 1440p 144Hz G-Sync + HP LP2475w 24" 1200p 60Hz wide gamut
Productivity system: i9-7980XE, Asus X299 TUF mark 2, Noctua D15, 64GB ram (mixed), RTX 3070, NZXT E850, GameMax Abyss, Samsung 980 Pro 2TB, random 1080p + 720p displays.
Gaming laptop: Lenovo Legion 5, 5800H, RTX 3070, Kingston DDR4 3200C22 2x16GB 2Rx8, Kingston Fury Renegade 1TB + Crucial P1 1TB SSD, 165 Hz IPS 1080p G-Sync Compatible

Link to comment
Share on other sites

Link to post
Share on other sites

Neither will utilise all that memory anyway, so whatever floats your boat.

I

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Gerr said:

Plus 16GB would be just under the recommended RAM for a ZFS system, that being 8GB + 1GB per TB of drive space, so 8GB(ZFS system) + 9GB(9TB of drives) = 17GB.  Plus as my media collection grows, I might upgrade the drives to a higher capacity, which would require more RAM.

This is actually just a myth.  The mysterious memory demands of ZFS have been long dismissed by actual ZFS devs.  Though it persists quite strongly among a lot of NAS forums because people just reinforce myths into other people and so on.

Link to comment
Share on other sites

Link to post
Share on other sites

Myth or not, doesn't FreeNAS/ZFS use unused RAM as an ARC cache?

 

Plus I thought the myth was that was REQUIRED and they dispelled that down to just recommended?

Link to comment
Share on other sites

Link to post
Share on other sites

ARC will do very little unless you're on a 10Gbit network and you're only accelerating the most used ~20GB.

If you want to accelerate your array, then it'd be more beneficial using SSD's to setup L2ARC - you'll have a much larger cache. Not that it matters in the slightest for a zpool of media storage - your 3 disks in a RAIDZ1 will already give you plenty of throughput. Then only time you'll see ARC performance is when you're copying between high speed storage/arrays on the local host or via a high speed link.

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Gerr said:

Myth or not, doesn't FreeNAS/ZFS use unused RAM as an ARC cache?

 

Plus I thought the myth was that was REQUIRED and they dispelled that down to just recommended?

Unless you're using Deduplication, the additional RAM will have negligible performance differences.

For Sale: Meraki Bundle

 

iPhone Xr 128 GB Product Red - HP Spectre x360 13" (i5 - 8 GB RAM - 256 GB SSD) - HP ZBook 15v G5 15" (i7-8850H - 16 GB RAM - 512 GB SSD - NVIDIA Quadro P600)

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 8/3/2017 at 7:45 PM, Jarsky said:

ARC will do very little unless you're on a 10Gbit network and you're only accelerating the most used ~20GB.

If you want to accelerate your array, then it'd be more beneficial using SSD's to setup L2ARC - you'll have a much larger cache. Not that it matters in the slightest for a zpool of media storage - your 3 disks in a RAIDZ1 will already give you plenty of throughput. Then only time you'll see ARC performance is when you're copying between high speed storage/arrays on the local host or via a high speed link.

 

Make sure you max out your arc (ram) before you add l2arc (ssd).  l2arc is indexed in ram so it could theoretically hurt performance if you don't have enough ram first.

 

Source(s):

https://doc.freenas.org/11/zfsprimer.html

http://docs.huihoo.com/freenas/9.3/zfsprimer.html

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×