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

Reply via email to