gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Setup recommendations - 2 (io-threads)


From: Thierry EXCOFFIER
Subject: Re: [Gluster-devel] Setup recommendations - 2 (io-threads)
Date: Fri, 16 May 2008 09:43:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.11~pre071022-0etch1)

Amar S. Tumballi wrote:
threads (as specified by the option). But, it doesn't make sense to have
more threads than number of CPUs available. It works good if the thread
count is same as number of CPUs you have in server.

With 2 CPU ==> 2 threads.

If the server receives 2 request for data not in its disc cache
the 2 threads will be blocked by the disc access.

And if a third request asks for data that is in the server cache
it will not answer even if it can do it quickly.

Am I wrong ?

With NFS servers, it seems to me that it was recommended to have
4 threads per processor.

Thierry.
--
Thierry.EXCOFFIER@@liris.univ-lyon1.fr//   GO: Oriental Strategy Game
LIRIS/UFR Informatique, bat710       //DYLAN: Programming Language
Universite Claude Bernard LYON 1  __// UNIX: Standard Operating System
43 Bd du 11 novembre 1918       //
69622 VILLEURBANNE, FRANCE     //WWW: http://www710.univ-lyon1.fr/~exco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]