Re: GlusterFS Client doesn't cache the dentry??

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

 




----- Original Message -----
> From: "Keiviw" <keiviw@xxxxxxx>
> To: gluster-devel@xxxxxxxxxxx
> Sent: Monday, June 27, 2016 6:58:36 AM
> Subject:  GlusterFS Client doesn't cache the dentry??
> 
> hi,
> I have installed GlusterFS in node A,B,C.The node A and B were GlusterFS
> servers(brick1-4),meanwhile,they were GlusterFS clients for creating
> files.And the node C didn't exist bricks,it was just a GlusterFS client to
> mount by "mount -t glusterfs nodeA:/XXX /mnt/glusterfs".
> Here is the question:
> 1.In node C, I excuted "time ls /mnt/glusterfs",first time was 10s,the second
> was 0.3s,it got the dentry from the cache.By "free -m" in node C,it didn't
> changed at all.So I excuted "free -m" in node A and B, the memory in used
> has grown.
> 2.In other words, the dentry was cached in the server,the client didn't cache
> the dentry.

Client does indeed cache dentries/inodes. Can you try the same experiment with higher entry-timeout and attribute-timeout values to mount?

> 3,How to explain this phenomenon?
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



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

  Powered by Linux