Welcome! Log In Create A New Profile

Advanced

Re: question about tmpfs

Reinis Rozitis
April 28, 2016 04:00PM
> What happens when a add a new tmpfs partition e.g for squid?

tmpfs uses also swap.
So if you make the fs larger than actual ram and it starts to go beyond the
physical memory limit things will be swaped out to disk (harddrive) and
everything might become slow(er).

In general if you can't fit the data in ram it's not a good idea also linux
file cache should keep accessed files in ram so unless you suffer from write
speeds (even those if not specifically O_DIRECT will go to ram first and
later flushed) the reads will come as much as possible from ram anyways.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

question about tmpfs

basti April 28, 2016 05:48AM

Re: question about tmpfs

Styopa Semenukha April 28, 2016 12:36PM

Re: question about tmpfs

Reinis Rozitis April 28, 2016 04:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready