Hello, I am new to this discussion group and I apologize in advance if this question has already been discussed. My question is whether the size of the client-side cache can be set by the application. If not, is there a way to determine the cache size? Many thanks! --pmd
On Jul 07, 2007 15:38 -0400, Phil Dickens wrote:> I am new to this discussion group and I apologize in > advance if this question has already been discussed. > My question is whether the size of the client-side cache > can be set by the application. If not, is there a way > to determine the cache size?The size of the cache is per client, and cannot be set by a regular user. The amount of write cache is per OST - /proc/fs/lustre/osc/*/max_dirty_mb, and the total amount of cahced data (read or write) is per filesystem - /proc/fs/lustre/llite/*/max_cached_mb. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Many thanks Andreas! Phil Dickens On Sun, 8 Jul 2007, Andreas Dilger wrote:> On Jul 07, 2007 15:38 -0400, Phil Dickens wrote: >> I am new to this discussion group and I apologize in >> advance if this question has already been discussed. >> My question is whether the size of the client-side cache >> can be set by the application. If not, is there a way >> to determine the cache size? > > The size of the cache is per client, and cannot be set by a regular user. > The amount of write cache is per OST - /proc/fs/lustre/osc/*/max_dirty_mb, > and the total amount of cahced data (read or write) is per filesystem - > /proc/fs/lustre/llite/*/max_cached_mb. > > Cheers, Andreas > -- > Andreas Dilger > Principal Software Engineer > Cluster File Systems, Inc. >