[Gluster-users] very bad performance on small files
Rafiq Maniar
rafiq.maniar at gmail.com
Fri Jan 14 18:03:00 UTC 2011
Hi,
This can be offset by using a PHP bytecode caching system like Xcache or
APC. Just make
sure you have enough memory allocated.
In this way you can have the benefit of a distributed filesystem for your
application
files while also having them accessed quickly (except for the 1st access).
Having said that, I only went this way because we have 80GB worth of PHP
files, if
it were the standard few MBs then I'd keep them locally on the application
server!
Rafiq
On Fri, Jan 14, 2011 at 5:58 PM, Jacob Shucart <jacob at gluster.com> wrote:
> For web hosting it is best to put user generated content(images, etc) on
> Gluster but to leave application files like PHP files on the local disk.
> This is because a single application file request could result in 20 other
> file requests since applications like PHP use includes/inherits, etc.
> This kind of thing is fine on local disks, but when you're talking about a
> distributed filesystem the network latency starts to add up since 1
> request to the web server results in a bunch of file requests.
>
> -----Original Message-----
> From: gluster-users-bounces at gluster.org
> [mailto:gluster-users-bounces at gluster.org] On Behalf Of Max Ivanov
> Sent: Friday, January 14, 2011 6:09 AM
> To: Burnash, James
> Cc: gluster-users at gluster.org
> Subject: Re: [Gluster-users] very bad performance on small files
>
> > Gluster - and in fact most (all?) parallel filesystems are optimized for
> very large files. That being the case, small files are not retrieved as
> efficiently, and result in a larger number of file operations in total
> because there are a fixed number for each file accessed.
>
>
> Which makes glusterfs perfomance unacceptable for web hosting purposes =(
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
More information about the Gluster-users
mailing list