help posix_fallocate too slow on glusterfs client

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

 



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

-- 
???


[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