Page 1 of 1

High memory utilization

Posted: 24 Apr 2023, 14:51
by XFNeo
Hi! I have high memory utilization after enabled Hyper Cache.
Before it was ~35% after it comes 80%
But when I check top or Process in TOS GUI utilization is still about 35%

Code: Select all

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3761        2885          79         108         796         700
Swap:          1951         366        1585
Setu up:
F2-423
TOS 5.1.31, check with 5.1.33 also
2 NVME in RAID 0
4 Gb RAM

Re: High memory utilization

Posted: 24 Apr 2023, 18:41
by TMzethar
This is a normal situation that enabling SSD cache will consume a certain amount of TNAS memory.
You can make it smaller according to your needs.

Re: High memory utilization

Posted: 24 Apr 2023, 20:35
by XFNeo
{L_BUTTON_AT}TMzethar
How I can adjust it and where can I see the current consumption for hyper cache?

Re: High memory utilization

Posted: 24 Apr 2023, 21:41
by XFNeo
Isn't 40% of RAM too much for Hyper cache?

Re: High memory utilization

Posted: 25 Apr 2023, 09:28
by TMzethar
After you disable and re-enable Hyper Cache, you can choose the capacity again.

Re: High memory utilization

Posted: 25 Apr 2023, 14:25
by XFNeo
{L_BUTTON_AT}TMzethar
Could you explane me how is cache size on nvme disk related to RAM consumption? And what are the recommendations for cache size?

Re: High memory utilization

Posted: 25 Apr 2023, 18:40
by TMtina
The cache size on the nvme disk is not directly related to the RAM consumption. Normally, the larger the cache size of the nvme disk, the better.

Re: High memory utilization

Posted: 25 Apr 2023, 20:03
by XFNeo
How I can figure out how many RAM utilized by cache?

Re: High memory utilization

Posted: 25 Apr 2023, 21:19
by TMtina
You can use the command free -h to view RAM usage, including cached information.

Re: High memory utilization

Posted: 26 Apr 2023, 16:15
by XFNeo
TMtina wrote: 25 Apr 2023, 21:19 You can use the command free -h to view RAM usage, including cached information.
This command does not show how many RAM exactly utilized by cache.