[Gluster-users] very bad performance on small files

공용준(yongjoon kong)/Cloud Computing 사업담당 andrew.kong at sk.com
Fri Jan 14 04:53:47 UTC 2011

Maybe it's related with make the Metadata. And I have the same issue here. 

When I untar the kernel source( which has 34000 files) it took over 15 minute on replicated gluster but not more than
1 minute on local filesystem.

Maybe this is because when gluster create metadata using DHT,it should contact  brick to find the leftover space using 'du'

Maybe it is to be a problem. 

But I don't know how to improve the performance  

Best Regards, 

Cloud Computing Business Team
Andrew Kong  Manager | andrew.kong at sk.com | T : +82-2-6400-4328  | M : +82-010-8776-5025
SK u-Tower, 25-1, Jeongja-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-844, Korea

-----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 7:32 AM
To: gluster-users
Subject: [Gluster-users] very bad performance on small files

Hi! I've deployed glusterfs on 2 nodes using replication mode and done
some tests.

Peroformance drop was significant and I've no idea if its possible to
improve it or not. Volume was mounted on one of nodes using both FUSE
and NFS glusterfs clients.

 1.1G of small files are stored on volume. To make command shorter M
symbol is used as mountpoint label. Native performance is performance
of command issued over native FS on one of the bricks. No other
activities on both node happened.

Here is the results per command:
dd if=/dev/zero of=M/tmp bs=1M count=16384 69.2 MB/se (Native) 69.2
MB/sec(FUSE) 52 MB/sec (NFS)
dd if=/dev/zero of=M/tmp bs=1K count=163840000  88.1 MB/sec  (Native)
1.1MB/sec (FUSE) 52.4 MB/sec (NFS)
time tar cf - M | pv > /dev/null 15.8 MB/sec (native) 3.48MB/sec
(FUSE) 254 Kb/sec (NFS)

I use default configuration, no adjustments to /etc/gluster* where
made. I use ext4 on bricks.
Gluster-users mailing list
Gluster-users at gluster.org

More information about the Gluster-users mailing list