[Gluster-users] Does brick fs play a large role on listing files client side?
Kushnir, Michael (NIH/NLM/LHC) [C]
michael.kushnir at nih.gov
Tue Dec 4 22:30:06 UTC 2012
Thanks for the reply,
> Are you just using a single brick? Gluster is a scale-out NAS file system so is usually used when you want to want to aggregate the disk performance and disk space of many machines into a singe Global Name Space.
I currently have one server with 8 bricks. Once I get through evaluation, we will expand to multiple servers with 24 bricks each. We are looking to have a replica count of 2 for each brick eventually.
On my gluster server, I can run an ls against /export/*/imgs and get file listings from each brick in seconds. However, on my client, I run ls against the /imgs/ directory on the gluster volume and wait days. Even if I mount the gluster volume on the storage server itself, ls takes a long long time.
So, what are my options for improving the speed of directory listing on gluster clients? Would changing brick FS to ext4 make a difference in the time it takes to list on the client? Should I try mounting the volume over NFS? Something else?
From: Andrew Holway [mailto:a.holway at syseleven.de]
Sent: Tuesday, December 04, 2012 4:47 PM
To: Kushnir, Michael (NIH/NLM/LHC) [C]
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] Does brick fs play a large role on listing files client side?
On Dec 4, 2012, at 5:30 PM, Kushnir, Michael (NIH/NLM/LHC) [C] wrote:
> My GlusterFS deployment right now is 8 x 512GB OCZ Vertex 4 (no RAID) connected to Dell PERC H710, formatted as XFS and put together into a distributed volume.
Are you just using a single brick? Gluster is a scale-out NAS file system so is usually used when you want to want to aggregate the disk performance and disk space of many machines into a singe Global Name Space.
ocfs (cluster filesystem) is more for when you have a single disk volume attached via SCSI to many machines. More than one machine cannot for instance access the same ext4 filesystem concurrently. ocfs provides a locking mechanism allowing many systems to access the same SCSI device at the same time.
Gluster is to NFS as OCFS is to EXT4 (kinda).
The lag your getting might be due to FUSE (Filesystem in Userspace). FUSE allows weird and wonderful filesystems to be mounted in userspace meaning kernel support is not required. This is typically much slower than kernel enabled filesystems.
More information about the Gluster-users