[Gluster-users] help posix_fallocate too slow on glusterfs client

符永涛 yongtaofu at gmail.com
Fri Feb 22 10:30:46 UTC 2013


Dear gluster experts,

Recently I have encountered a problem about posix_fallocate
performance on glusterfs client.
I use posix_fallocate to allocate a file with specified size on
glusterfs client. For example if I create a file with size of
1907658896, it will take about 20 seconds on glusterfs but on local
xfs or ext4 it takes less than 1 second.
What's the problem? How can I improve posix_fallocate performance for glusterfs?

Thank you very much.

BTW
The volume info is as bellow:
sudo gluster volume info volume_e

Volume Name: volume_e
Type: Distributed-Replicate
Volume ID: 81702024-f327-4ae1-b06a-1f2b877d5ebb
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: glusterfs-test-dev001.qiyi.virtual:/mnt/xfsd/volume_e
Brick2: glusterfs-test-dev002.qiyi.virtual:/mnt/xfsd/volume_e
Brick3: glusterfs-test-dev003.qiyi.virtual:/mnt/xfsd/volume_e
Brick4: glusterfs-test-dev004.qiyi.virtual:/mnt/xfsd/volume_e

-- 
符永涛



More information about the Gluster-users mailing list