Does FreeNAS really need 8Gb of RAM? (2024)

  • Forums
  • Archives
  • FreeNAS Archive
  • Development [Archived]
  • Performance
  • Thread starterNeth
  • Start dateOct 16, 2015

Status
Not open for further replies.

Neth

Dabbler
Joined
Oct 8, 2015
Messages
20
  • Oct 16, 2015
  • #1

Hi!

What's your experience when it comes to RAM usage for FreeNAS?
I'm new to FreeNAS, but when reading different articles etc on the internet I've understood that FreeNAS "needs" 8Gb of RAM to funtion properly. However, now that I have FreeNAS installed and check the memory usage under Reporting it shows that it hardly uses 2Gb of RAM, even when streaming a FullHD movie.

I have 8 Gb of RAM in my server on which I am running FreeNAS. I decied to not run any virtualization or such since FreeNAS alone needed all my RAM. But now I'm not so sure....

So. what's the experience on the board - is 8Gb RAM really needed?

Edit: Adding Image

Does FreeNAS really need 8Gb of RAM? (3)

M

mav@

iXsystems

iXsystems

Joined
Sep 29, 2011
Messages
1,428
  • Oct 17, 2015
  • #2

All loads are different, and 8GB is average safe-side recommendation. There were rumors that somebody managed to run ZFS on 32-bit architecture with 256MB of RAM, but it does not mean you can run any serious server with that. FreeNAS itself uses not so much, depending on number of enabled services. But ZFS requires RAM for caching, that is critical for performance. If memory is not enough to store all required metadata, then data access becomes slower. On systems with less then 4GB ZFS by default completely disables prefetch, that significantly reduce performance. Sequential file read in your example is hardly a serious load that requires or can really use much RAM, but there are other much more complicated loads.

joeschmuck

Old Man

Moderator

Does FreeNAS really need 8Gb of RAM? (5)

Joined
May 28, 2011
Messages
10,975
  • Oct 17, 2015
  • #3

What period of time you are showing us is very small, 1 hour and you rebooted in that period of time it looks like. Change the period to 1 week or 1 month and lets see the results please.

As to the question you asked, FreeNAS will run fine on 6GB of RAM in my opinion however 8GB is the default safe lower limit to avoid RAM shortages when people start loading Plugins and extra jails. I'm not sure I understand what you mean by not running any visualization, if you mean not running jails or not running FreeNAS on a virtual OS.

F

Fuganater

Patron
Joined
Sep 28, 2015
Messages
477
  • Oct 17, 2015
  • #4

How much storage do you have? I have 10TB and I am using 7GB of my 8GB RAM.

C

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
  • Oct 17, 2015
  • #6

I've done several one-on-one scenarios with various people in the forums that had things not working right. Things as simple as zpool creation, updating the OS, and other things you'd expect to "work" don't work with 6GB of RAM (no RAM for the video card allocated). They upgraded to 8GB and it suddenly started working.

So yes, 8GB is the mininum.

Neth

Dabbler
Joined
Oct 8, 2015
Messages
20
  • Oct 18, 2015
  • #7

Thank you all for your replies.

I guess the answer stands clear, 8Gb is needed to ensure proper functionality. The main reason being ZFS.
That ensures me in my decision, I'll just keep going with running only FreeNAS and nothing else (ie. no virtualization) on my setup - which has just 8Gb of RAM.

Sidenotes:

joeschmuck said:

What period of time you are showing us is very small, 1 hour and you rebooted in that period of time it looks like. Change the period to 1 week or 1 month and lets see the results please.
...
I'm not sure I understand what you mean by not running any visualization, if you mean not running jails or not running FreeNAS on a virtual OS.

True, I have only been running FreeNAS for a couple of days and have had to reboot several times and even reinstall the OS due to problems with CIFS. I've got another thread for that issue, see link below:
https://forums.freenas.org/index.ph...for-usr-pw-although-guest-access-is-on.38630/

By virtualization i mean running for ex ESXi,

Fuganater said:

How much storage do you have? I have 10TB and I am using 7GB of my 8GB RAM.

I have 4x2TB disks which gives me 5TB available storage space in my RAID.

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
  • Oct 18, 2015
  • #8

Fuganater said:

How much storage do you have? I have 10TB and I am using 7GB of my 8GB RAM.

Just for the record, that's by design. In FreeNAS, generally speaking, it's set so that the ZFS MFU/MRU ARC will consume all of your RAM pool minus 1GB, just as a reserve.

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
  • Oct 19, 2015
  • #10

Give it a few days or even a week. ZFS takes some time to start utilizing all the RAM it needs.

Simultaneously transcode a few videos if you wanna see it spike up faster.

Neth

Dabbler
Joined
Oct 8, 2015
Messages
20
  • Oct 19, 2015
  • #11

Yep, you are correct. Checked the Reporting -> Memory today and all RAM is now being used. :)

joeschmuck

Old Man

Moderator

Does FreeNAS really need 8Gb of RAM? (13)

Joined
May 28, 2011
Messages
10,975
  • Oct 20, 2015
  • #12

I figured it would eventually jump up and if it didn't, then I'd want to know what you are doing to keep RAM utilization so low :)

wreedps

Patron
Joined
Jul 22, 2015
Messages
225
  • Oct 23, 2015
  • #13

I have 192GB and its "alright" Does FreeNAS really need 8Gb of RAM? (15)

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,681
  • Oct 24, 2015
  • #14

I originally boosted the minimum memory from 6GB to 8GB in response to repeated frequent issues people had here in the forums with really bad things happening on smaller memory configurations. It isn't clear that those same problems exist any longer, but on the other hand, 8GB of RAM is not particularly expensive any longer and there's still a lot of anecdotal evidence that smaller configurations are problematic.

Status
Not open for further replies.

Similar threads

W

  • Locked

Running ZFS with <8GB RAM on 9.2 Does Work Well

  • wiebsomean
  • Jan 4, 2014
  • Performance
Replies
2
Views
7K

Jan 4, 2014

wiebsomean

W

3

  • Locked

No Performance Increase after Ram Upgrade

  • 304290
  • Dec 12, 2012
  • Performance
Replies
8
Views
3K

Dec 12, 2012

304290

3

O

  • Locked

Freenas shows 4GB RAM , NAS4Free shows 8GB of ram ?

  • orconomix
  • Jun 16, 2015
  • Hardware
Replies
10
Views
3K

Jun 17, 2015

Robert Trevellyan

R

D

  • Locked

Upgraded from 2GB of RAM to 8GB Doesn't seem to be utilizing all 8GB

  • djlax152
  • Apr 11, 2012
  • Hardware
Replies
10
Views
5K

Apr 23, 2012

unholyeyebrows

U

M

  • Locked

FreeNAS on PC-Engines APU2c4

  • Makki
  • Nov 8, 2016
  • Performance
Replies
10
Views
7K

Nov 8, 2016

Stux

  • Forums
  • Archives
  • FreeNAS Archive
  • Development [Archived]
  • Performance
Does FreeNAS really need 8Gb of RAM? (2024)
Top Articles
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6630

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.