Performance for operations like find

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Im testing performance on a small basic repplicated cluster 2 servers 8
clients.
The clients have an old solution with a regular NFS mount and the data from
it has been copied to the Gfs mount.

Doing simple comparison with a "time find /mnt/gfs/<datadir> -type f -mtime
-2" command
There are about 4000 files in the dir

The gluster mount:
time find /mnt/nfs/<datadir> -type f -mtime -2
real 2m0.067s <--
user 0m0.030s
sys 0m0.252s

The old nfs mount:
time find /mnt/gfs/<datadir> -type f -mtime -2
real 0m3.009s <--
user 0m0.037s
sys 0m0.368s

Both find 280 files which is correct

GFS mounted find take about 2 minutes and is waaay slower than the nfs
mount.

My question is if there are any modifications to the basic config that I
can do to speed up operations like find?


Best regards
---
Carl Boberg
Operations

Memnon Networks AB
Tegn?rgatan 34, SE-113 59 Stockholm

Mobile: +46(0)70 467 27 12
www.memnonnetworks.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20120302/6224184b/attachment.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux