# How to take full advantage system memory?

**URL:** <https://www.ruby-forum.com/t/how-to-take-full-advantage-system-memory/211411>\
**Category:** NGINX\
**Created:** [September 3, 2011, 2:37am UTC](https://www.ruby-forum.com/t/how-to-take-full-advantage-system-memory/211411 "2011-09-03T02:37:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [September 3, 2011, 2:37am UTC](https://www.ruby-forum.com/t/how-to-take-full-advantage-system-memory/211411/1 "2011-09-03T02:37:17Z")

</div>

Hi,All:

```
My host have a very large physical memory, how to get nginx take

```

full advantage of memory as the file system cache?

Posted at Nginx Forum:

> **[How to take full advantage system memory?](https://forum.nginx.org/read.php?2,214666,214666#msg-214666)**
>
> Hi,All: My host have a very large physical memory, how to get nginx take full advantage of memory as the file system cache?

---

<div class="post-metadata">

**Author:** ![allegro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@allegro](https://www.ruby-forum.com/u/allegro)\
**Post date:** [September 3, 2011, 10:45am UTC](https://www.ruby-forum.com/t/how-to-take-full-advantage-system-memory/211411/2 "2011-09-03T10:45:14Z")

</div>

Hello!

On Fri, Sep 02, 2011 at 08:36:31PM -0400, allegro wrote:

> Hi,All:
> 
> ```
> My host have a very large physical memory, how to get nginx take
> 
> ```
> 
> full advantage of memory as the file system cache?

It’s up to your OS to use memory as file system cache. Depending  
on your OS you may need to tune something, see your OS tuning  
guides for details.

In nginx you may want to tune various buffer sizes if you have  
enough memory, e.g. output\_buffers, proxy\_buffers, fastcgi\_buffers  
and so on. This is not about file system cache, but may reduce  
disk load if properly tuned for your typical use pattern.

Maxim D.
