[Gluster-devel] Scaled down a bit.

Kevan Benson kbenson at a-1networks.com
Wed Nov 28 18:24:31 UTC 2007


Krishna Srinivas wrote:
> On Nov 28, 2007 11:11 PM, Chris Johnson <johnson at nmr.mgh.harvard.edu> wrote:
>> On Wed, 28 Nov 2007, Kevan Benson wrote:
>>> Chris Johnson wrote:
>>>>      I also tried the io-cache on the client side.  MAN does that
>>>> work.  I had a 256 MB cache defind.  A reread of my 24 MB file took 72
>>>> MS.  I don't think it even bothered with the server much.  I need to
>>>> try that on the server.  Might help if a bunch of computer nodes
>>>> hammer on the same file at the same time.
>>> Careful with io-cache and io-threads together, depending on where you define
>>> it (I think), the cache is per-thread.  so if you have 8 threads and a 256 MB
>>> cache defined, be prepared for 2 GB of cache use...
>>>
> 
> No, If you define one io-cache translator there is only one cache. All the
> threads will refer to the same io-cache translator with which it is associated

Ah.  Is this newer?  I thought I tried this a few months ago and saw a 
lot of memory usage.  Maybe I just ASSumed. ;)

-- 

-Kevan Benson
-A-1 Networks





More information about the Gluster-devel mailing list