Scale memory utilization

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
This also sounds Luke setting max ARC size manually is a bad idea because there might be some memory fragmentation(sounds serious?).

Pretty clear that 50% is just some relatively safe number someone pulled out of an orifice. I expect the problem is that on a small memory system, there's a lot more stress and also a lot of relatively foolish users who will try to squeeze the hell out of it. There shouldn't be a problem on a larger memory system.

I would assume they intend ro fix memory allocation/fragmentation/reporting instead of just increasing max_arc. Because the latter of which may cause instability when unintentionally overcommiting memory.

That's going to be tricky without some cooperation from Linus. Most memory allocation is pretty complicated in modern systems, even Linux.
 
Joined
Oct 22, 2019
Messages
3,641
If I didn't know any better, I'd have thought that @jgreco got bullied by a bunch of penguins during an escapade in Antarctica. Ever since that traumatic experience, he's had this seething hatred and vendetta against all things related to penguins.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
If I didn't know any better, I'd have thought that @jgreco got bullied by a bunch of penguins during an escapade in Antarctica. Ever since that traumatic experience, he's had this seething hatred and vendetta against all things related to penguins.
Or he was brought up in a school run by nuns with the same result
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I suppose that's going to age terribly so I should probably make a note that Canadian wildfires have left the US eastern coast in orange.

images
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Gee, someone mentioned the B word, (BTRFS), and NOT that it was implemented first at Oracle;
Wikipedia - BTRFS - History

So, does this mean BTRFS is also contaminated?
Not according to Linux people!!!

The big differences:
  1. GPL license compared to CDDL
  2. Designed for Linux kernel only, (and kernel drivers are part of the Linux kernel source code)
Their are a few other OSes that have support for BTRFS, an open source version of the MS-Windows comes to mind, though I don't remember the details. But, for practical sake, BTRFS is a one OS file system. Unlike OpenZFS, which now exists on 6 OSes... I will leave it to the reader to get the list if desired.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You know, I'd forgotten about that part. Funny how major patches from Oracle are okay when protected by their Cope License.
Please spit your venom. Don't let it consume your from inside. :wink:
So as to not derail this, I'll just say: "Compose File Specification", more properly described as "Compose File Anarchy".
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
"For Linux, its the safe margin for ARC due to fragmentation on SLUB allocator.
We're treating it as a bug and plan to fix or mitigate it....
Planning to fix in Cobia."

This also sounds Luke setting max ARC size manually is a bad idea because there might be some memory fragmentation(sounds serious?). Thank you for the info!
Hope Morgan can tell what Cobia means.
Its complex and still under investigation. We have assigned a guy with strong Linux skills to review.

My current take is that users who make use of Apps and VMs are getting the benefits of their RAM. No major issues.
Users with a primary storage-only workload need a better configuration option.. 75-80% would be a major improvement.
We shouldn't let the desire to be perfect delay the need to be good.

Does that align with the views here?
 

asap2go

Patron
Joined
Jun 11, 2023
Messages
228
Its complex and still under investigation. We have assigned a guy with strong Linux skills to review.

My current take is that users who make use of Apps and VMs are getting the benefits of their RAM. No major issues.
Users with a primary storage-only workload need a better configuration option.. 75-80% would be a major improvement.
We shouldn't let the desire to be perfect delay the need to be good.

Does that align with the views here?
For me personally that would be alright as it is the ratio I am going to split memory anyway.
As long as its stable that'd be awesome.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
My current take is that users who make use of Apps and VMs are getting the benefits of their RAM.
I use (well, used, until they completely stopped working almost a week ago) lots of apps--over 20 of them--and my server was still sitting with over 40 GB of RAM free according to the TrueNAS dashboard. My ARC hit ratio was still well over 90%, so I guess it isn't that critical of a problem, but that's still about a third of my RAM being wasted.
 

Cytomax

Explorer
Joined
Nov 29, 2015
Messages
67
Is there a bug for this problem that i can follow to see when it gets fixed?
Is there a planned release date for Cobia?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Is there a bug for this problem that i can follow to see when it gets fixed?
Is there a planned release date for Cobia?

There are a coupl of bug IDs.

Cobia is planned for Q4.
 

Cytomax

Explorer
Joined
Nov 29, 2015
Messages
67
ty for the reply when i click on your link this is where it takes me
and when i search for NAS-117879
it doesnt find anything
2023-06-23_12-17.png
 
Top