Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache ramdisk

Igor Sysoev
February 01, 2010 12:36PM
On Tue, Feb 02, 2010 at 01:19:16AM +0800, quan nexthop wrote:

> HI Igor Sysoev:
>
> Could you please give us an explaination for these ?
>
> > Caching in ramdisk is usually not good idea, since there is OS VM cache.
> You just waste memory and CPU time.
> [nexthop] If we want to get a high performace, can we cache using RAMdisk ?
> According to your comments, it seems that cache in ramdisk have a lower
> performace.
>
> I do a google search with ramdisk cache, it seems that Cache in RamDisk will
> get a high performance.
> http://lowendmac.com/tech/diskcache.shtml
>
> I am confusing it.
> Could you please give us more information about it ?

RAMdisk has no lower performace. It just wastes memory: OS stores two copies
of an object: one in OS cache and second in RAMdisk. Some tmpfs
implementations may eliminate this double copy.

> On Tue, Feb 2, 2010 at 12:33 AM, Igor Sysoev <igor@sysoev.ru> wrote:
>
> > On Fri, Jan 29, 2010 at 10:44:46AM -0600, AMP Admin wrote:
> >
> > > So I was thinking of creating a ramdisk and then pointing proxy_cache at
> > the
> > > ramdisk. do you think that will be a good combo?
> > >
> > > If so, to the people that use proxy_cache, how much space is it using on
> > > average so I can make it the right size?
> >
> > Caching in ramdisk is usually not good idea, since there is OS VM cache.
> > You just waste memory and CPU time.
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> >

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


--
Igor Sysoev
http://sysoev.ru/en/

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

proxy_cache ramdisk

testbot January 29, 2010 11:48AM

RE: proxy_cache ramdisk

testbot January 30, 2010 01:50PM

RE: proxy_cache ramdisk

testbot January 31, 2010 05:30PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 11:40AM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:54AM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:10PM

RE: proxy_cache ramdisk

testbot February 01, 2010 12:30PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:40PM

Re: proxy_cache ramdisk

Ryan Malayter February 02, 2010 09:48AM

RE: proxy_cache ramdisk

testbot February 02, 2010 12:58PM

Re: proxy_cache ramdisk

Ryan Malayter January 31, 2010 10:08PM

Re: proxy_cache ramdisk

nexthop January 31, 2010 10:14PM

Re: proxy_cache ramdisk

Ryan Malayter February 01, 2010 09:20AM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:04AM

Re: proxy_cache ramdisk

Ryan Malayter February 01, 2010 05:50PM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:10AM

RE: proxy_cache ramdisk

danny February 01, 2010 11:22AM

Re: proxy_cache ramdisk

Akins, Brian February 01, 2010 08:04AM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 11:42AM

Re: proxy_cache ramdisk

nexthop February 01, 2010 12:24PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:36PM

Re: proxy_cache ramdisk

nexthop February 01, 2010 08:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
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