October 22, 201015 yr Good Morning. I have an unRaid box with two 2tb data drives , two 1tb data, 2tb parity and 500gb cache. I am running sabnzb, couch potato, sick beard and unmenu on it. I have 2gb of ram in the server and I noticed that when I telnet to the box and use top, that the memory is almost all being used, leaving 50mb only unused. Anyone with a similar setup that has memory usage issues? How much memory would my setup require if I did not run the extra programs, just a base unraid server? Thanks in advance for any input, Ezbox
October 22, 201015 yr Good Morning. I have an unRaid box with two 2tb data drives , two 1tb data, 2tb parity and 500gb cache. I am running sabnzb, couch potato, sick beard and unmenu on it. I have 2gb of ram in the server and I noticed that when I telnet to the box and use top, that the memory is almost all being used, leaving 50mb only unused. Anyone with a similar setup that has memory usage issues? How much memory would my setup require if I did not run the extra programs, just a base unraid server? Thanks in advance for any input, Ezbox The disk cache will ALWAYS use up as much memory as you give it. The issue is if it will free up some if a program needs it instead. To see the actual free memory type: free As an example on my older server with 512 Meg of RAM...[pre]root@Tower:/boot/packages# free total used free shared buffers cached Mem: 497804 466544 31260 0 96932 253108 -/+ buffers/cache: 116504 381300 Swap: 0 0 0 [/pre]This line in the resulting output shows I have 381 Meg potentially free if I don't count that in the buffer cache. -/+ buffers/cache: 116504 381300 You might want to set the cache pressure to a higher value than unRAID normally uses to allow that. (Normally it sets it to 60, a value of 200 is much better for your usage profile) To see the current setting type: sysctl vm.vfs_cache_pressure To set it type: sysctl -w vm.vfs_cache_pressure=200 Joe L.
October 23, 201015 yr Hey Joe, How would one determine a "correct" cache pressure value for their own usage profile? I have 4GB of ram and have currently set my pressure value to 50 (passed in as a parameter to the cache_dirs script)... thx! -alex
October 23, 201015 yr Hey Joe, How would one determine a "correct" cache pressure value for their own usage profile? I have 4GB of ram and have currently set my pressure value to 50 (passed in as a parameter to the cache_dirs script)... thx! -alex Are you running any add-ons that use a lot of RAM??? If so, use a value greater than 100. If you use a value less than 100 the disk buffer cache is NOT freed to make space for running processes, but the data recently accessed is kept instead and programs that have been idle for a while are killed off in an attempt to free memory. I personally would rather not have a process killed to free memory. (usually emhttp is killed first, then the samba processes) Joe L.
October 24, 201015 yr I currently run unmenu, PS3 Media Server, Air Video Server, SABNzbd, and a few other misc packages. Should I too switch to a setting of around 200?
October 24, 201015 yr I currently run unmenu, PS3 Media Server, Air Video Server, SABNzbd, and a few other misc packages. Should I too switch to a setting of around 200? yes
October 26, 201015 yr I have the following ouputs: root@Tower:~# free total used free shared buffers cached Mem: 2074384 2018644 55740 0 293320 1616248 -/+ buffers/cache: 109076 1965308 Swap: 0 0 0 and root@Tower:~# sysctl vm.vfs_cache_pressure vm.vfs_cache_pressure = 10 This is the default - never changed it. I am usually running ruTorrent and Hamachi and once a day I run YAMJ. according to "top" rutorrent and YAMJ (java) consume about 3% of MEM each (2GB system memory) What do you think I should set cache_pressure to?
Archived
This topic is now archived and is closed to further replies.