Raghavendra and Raghavendra,
Thanks, I will enable tracing and reply with logs. I will also rebuild my test bed to use simpler apache configs. I appreciate your efforts, it’s good to know we should expect things to “just work” as a starting point, that gives me hope we can fix this
here. To that end, you’ve already helped immeasurably.
From: Raghavendra Bhat <rabhat@xxxxxxxxxx>
Date: Wednesday, September 2, 2015 at 5:56 AM To: "gluster-users@xxxxxxxxxxx" <gluster-users@xxxxxxxxxxx>, Christian Rice <crice@xxxxxxxxxxx> Cc: Raghavendra Gowdappa <rgowdapp@xxxxxxxxxx> Subject: Re: Gluster 3.6.3 performance.cache-size not working as expected in some cases On 09/02/2015 12:45 PM, Raghavendra Bhat wrote:
Hi Christian, As per our tests (me and Raghavendra G in CC) we found that the data was being served from cache. In fact in our tests data was being served from the kernel cache itself. So we tried with dropping the data cache (i.e. echo 1 > /proc/sys/vm/drop_caches) to see if the read requests coming to glusterfs (since the data cache in the kernel is dropped) . We found that the read calls were coming to glusterfs and glusterfs is serving the requests from the cache (i.e. io-cache xlator). If the memory pressure on the system is huge and kernel is sending forgets to the glusterfs client, then there is a possibility that the inodes are forgotten along with the data cached within them. Can you please enable trace log level for the client and run your tests? (gluster volume set <volname> client-log-level TRACE) Once your tests are done please give the logs. NOTE: Enabling trace log level will increase the log file size faster due to more logging. Regards, Raghavendra Bhat
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users