Full use of 3 GB RAM
-
- New here
- Posts: 5
- Joined: Fri Jan 31, 2014 5:07 pm
Full use of 3 GB RAM
I'm a happy owner of a TS-569L since approximately a year back. My main use for it is the HD-station and xbmc. Since the rendering of the images in xbmc is rather slow and movies many times has a lag I thought it would be a good idea to upgrade from 1 GB to 3 GB RAM, so a few months ago I did just that.
So, now to my issue: In the NAS system and hardware information I can see that I now have 3 GB successfully installed RAM. However, the usage of RAM still never goes above 1 GB. Experience wise everything is as before the upgrade. So simply, so far, the upgrade of RAM has been a waste of money. Nowhere about upgrading the RAM I have found that I should change any settings and according to some posts the latest versions of firmware should recognize upgraded RAM automatically, so all posts about upgrading the RAM has been dead ends in regards to find out what I should do to get full use of my 3 GB.
Any idea what to do to get any use for the last 2 GB of RAM?
So, now to my issue: In the NAS system and hardware information I can see that I now have 3 GB successfully installed RAM. However, the usage of RAM still never goes above 1 GB. Experience wise everything is as before the upgrade. So simply, so far, the upgrade of RAM has been a waste of money. Nowhere about upgrading the RAM I have found that I should change any settings and according to some posts the latest versions of firmware should recognize upgraded RAM automatically, so all posts about upgrading the RAM has been dead ends in regards to find out what I should do to get full use of my 3 GB.
Any idea what to do to get any use for the last 2 GB of RAM?
-
- Easy as a breeze
- Posts: 251
- Joined: Wed Oct 29, 2014 1:14 am
Re: Full use of 3 GB RAM
AFAICT, the main benefit of more RAM on a QNAP is to allow running more virtualized guests. If you're not doing that, there may be little/no benefit.
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Full use of 3 GB RAM
Your NAS will use all the RAM you can throw at it. (3GB Max on your model).sahlad wrote:I'm a happy owner of a TS-569L since approximately a year back. My main use for it is the HD-station and xbmc. Since the rendering of the images in xbmc is rather slow and movies many times has a lag I thought it would be a good idea to upgrade from 1 GB to 3 GB RAM, so a few months ago I did just that.
So, now to my issue: In the NAS system and hardware information I can see that I now have 3 GB successfully installed RAM. However, the usage of RAM still never goes above 1 GB. Experience wise everything is as before the upgrade. So simply, so far, the upgrade of RAM has been a waste of money. Nowhere about upgrading the RAM I have found that I should change any settings and according to some posts the latest versions of firmware should recognize upgraded RAM automatically, so all posts about upgrading the RAM has been dead ends in regards to find out what I should do to get full use of my 3 GB.
Any idea what to do to get any use for the last 2 GB of RAM?
Please provide the output of:
Code: Select all
free | grep -v cache:
Code: Select all
free | grep -v cache:
total used free shared buffers cached
Mem: 8069752 7074748 995004 0 783916 3789784
Swap: 1060216 0 1060216
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
- forkless
- Experience counts
- Posts: 1907
- Joined: Mon Nov 23, 2009 6:52 am
- Location: The Netherlands
Re: Full use of 3 GB RAM
Linux can be configured to reduce swapping, which in some instances can cause unwanted disk thrashing for real-time processing. You can try and improve the memory behavior by lowering the 'swappiness' which default is set at 60.
To check the current value
To set the swappiness
Caveat: This value will reset to the default 60 rebooting the NAS. To 'permanently' set it (if it helps improve the performance) you could add it to an autorun script. Plenty of examples to be found using the search and/or on the QNAP Wiki.
For some more background on how certain values affect the kernel behavior I recommend reading http://en.wikipedia.org/wiki/Swappiness
PS. Don't expect massive miracles.
To check the current value
Code: Select all
cat /proc/sys/vm/swappiness
Code: Select all
echo 10 > /proc/sys/vm/swappiness
For some more background on how certain values affect the kernel behavior I recommend reading http://en.wikipedia.org/wiki/Swappiness
PS. Don't expect massive miracles.
-
- Easy as a breeze
- Posts: 251
- Joined: Wed Oct 29, 2014 1:14 am
-
- New here
- Posts: 5
- Joined: Fri Jan 31, 2014 5:07 pm
Re: Full use of 3 GB RAM
That is quite odd... That command shows that there is barely no free memory:
free | grep -v cache:
total used free shared buffers
Mem: 3072684 3019640 53044 0 166236
Swap: 530108 4 530104
Total: 3602792 3019644 583148
But when I check the hardware information in the GUI it says that there is 2.5 GB RAM free....
free | grep -v cache:
total used free shared buffers
Mem: 3072684 3019640 53044 0 166236
Swap: 530108 4 530104
Total: 3602792 3019644 583148
But when I check the hardware information in the GUI it says that there is 2.5 GB RAM free....
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Full use of 3 GB RAM
Welcome to why almost all my replies in this Forum start with:sahlad wrote:That is quite odd... That command shows that there is barely no free memory:
free | grep -v cache:
total used free shared buffers
Mem: 3072684 3019640 53044 0 166236
Swap: 530108 4 530104
Total: 3602792 3019644 583148
But when I check the hardware information in the GUI it says that there is 2.5 GB RAM free....
The command line gives you access to tools, that simply aren't available in the WebUI. A WebUI is a great way of configuring things if the WebUI is built properly, but typically WebUI's are less than useful for troubleshooting.pwilson wrote:Please access your NAS via SSH, login as "admin", and run: ......
I hope that output proves to you that your investment in additional RAM was not a waste of money.
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- New here
- Posts: 5
- Joined: Fri Jan 31, 2014 5:07 pm
Re: Full use of 3 GB RAM
Well, at least it proved that the RAM is used, even though I haven't noticed much difference in user experience though
And I agree, a WebUI may not be the best way to fault search anything, but I think one should be able to expect that the figures that are exposed in the webui are still correct. Since that is not the case I have to say that part is a dissapointment.
Since the added RAM didn't do much difference to response times and handling movies in xbmc, are there anything else one can do to improve that? Would, for instance, dividing large movie folders into smaller subfolders make it easier for xbmc to handle a large amount of movies?
And I agree, a WebUI may not be the best way to fault search anything, but I think one should be able to expect that the figures that are exposed in the webui are still correct. Since that is not the case I have to say that part is a dissapointment.
Since the added RAM didn't do much difference to response times and handling movies in xbmc, are there anything else one can do to improve that? Would, for instance, dividing large movie folders into smaller subfolders make it easier for xbmc to handle a large amount of movies?
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: Full use of 3 GB RAM
Not really, I'm afraid your Intel Atom, is a slow 32bit dual-core processor, that can not be upgraded. (It is soldered to the motherboard). I fair far better with my TS-470 Pro, as it uses a nice generic socketted Ivy-bridge Intel i3-3220, which is a multicore 64bit processor. XBMC is very CPU/RAM intensive, you have upgraded the RAM, but upgrading the CPU isn't possible.sahlad wrote:Well, at least it proved that the RAM is used, even though I haven't noticed much difference in user experience though
And I agree, a WebUI may not be the best way to fault search anything, but I think one should be able to expect that the figures that are exposed in the webui are still correct. Since that is not the case I have to say that part is a dissapointment.
Since the added RAM didn't do much difference to response times and handling movies in xbmc, are there anything else one can do to improve that? Would, for instance, dividing large movie folders into smaller subfolders make it easier for xbmc to handle a large amount of movies?
Adding RAM will have improved the performance, but the improvement will be minimal.
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- Guru
- Posts: 13192
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: Full use of 3 GB RAM
Yes, simply throwing the one hardware (RAM) that you can add to a system for a reasonable price is a classic way to try and solve performance problems.sahlad wrote:Since the rendering of the images in xbmc is rather slow and movies many times has a lag I thought it would be a good idea to upgrade from 1 GB to 3 GB RAM, so a few months ago I did just that.
Sometimes (when well researched) it can be successful, but often it will be a disappointment (when expectations are wrong).
If you interpret the gui text like this, maybe you will feel better:So, now to my issue: In the NAS system and hardware information I can see that I now have 3 GB successfully installed RAM. However, the usage of RAM still never goes above 1 GB.
Free memory = Memory not requested by active applications, so instead used for caching
Despite not being literally correct I do have sympathy for the choice of the shorter description "Free momory" by Qnap in the gui (they could however have added an explanation similar to mine somewhere, maybe in the help text).
If they had shown the actual free memory, it would be a very low number that's more or less static and much, much less useful than the number they show now.
Since the applications you run only use about 1 GB of memory, the system didn't need to swap (at least not significantly) to disk prior to your memory upgrade either. For that reason the added RAM is "only" used for caching.Experience wise everything is as before the upgrade. So simply, so far, the upgrade of RAM has been a waste of money.
It is already being used. It is used for caching, which improves the overall performance slightly.Any idea what to do to get any use for the last 2 GB of RAM?
Only when a system is doing much swapping of memory to disk will a RAM upgrade give great improvements in performance.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
-
- New here
- Posts: 5
- Joined: Fri Jan 31, 2014 5:07 pm
Re: Full use of 3 GB RAM
Thanks for all the help and replies!
-
- Getting the hang of things
- Posts: 63
- Joined: Thu Jul 13, 2017 8:55 am
Re: Full use of 3 GB RAM
Thanks.
TVS-672XT
QTS 5.0.1.2145
TVS-672XT
QTS 5.0.1.2145