Skip to contentSkip to conversation

how many MDS active daemons to run

DISCUSSION Matt Weil 2 participants 4 messages Dec 20, 2011 – Dec 21, 2011

lore
Share & tools
lore

Matt Weil

author
#0 lore raw

Hello all:

given six osd servers does it make any difference of each one also runs a mds or not?

How many mds's is to many. How does this effect metadata performance.

Thanks

Matt

#1 lore raw
Quoted 6 lines · Matt Weil

Hello all:

given six osd servers does it make any difference of each one also runs a mds or not?

How many mds's is to many.  How does this effect metadata performance.

Right now a single-MDS system is significantly more stable than a system with multiple active MDSes, so if possible you should use that configuration. Only add MDSes when you need more metadata throughput (probably you only need one).

Adding more MDSes should increase metadata throughput; it wouldn't surprise me if you could construct a set of operations that slow down but you're not going to run into one by mistake.

However, if you just start up a metadata server on each OSD node without changing the max_mds parameter, what you'll actually get is one active MDS and 5 standby daemons, which will be fine and give you lots of changes to fail over your MDS in the event of crashes. ;) -Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 11 lines · Gregory Farnum
Quoted 6 lines · Matt Weil

Hello all:

given six osd servers does it make any difference of each one also runs a mds or not?

How many mds's is to many. How does this effect metadata performance.

Right now a single-MDS system is significantly more stable than a system with multiple active MDSes, so if possible you should use that configuration. Only add MDSes when you need more metadata throughput (probably you only need one).

Thanks for the response.

these osd servers are also going run the client and serve out NFS.

Is it better to split the mds and mon out to a dedicated system? then run standby on the active osd's

Quoted 10 lines

Adding more MDSes should increase metadata throughput; it wouldn't surprise me if you could construct a set of operations that slow down but you're not going to run into one by mistake.

However, if you just start up a metadata server on each OSD node without changing the max_mds parameter, what you'll actually get is one active MDS and 5 standby daemons, which will be fine and give you lots of changes to fail over your MDS in the event of crashes. ;) -Greg

#3 lore raw
Quoted 17 lines · Matt Weil
Quoted 8 lines · Gregory Farnum
Quoted 6 lines · Matt Weil

Hello all:

given six osd servers does it make any difference of each one also runs a mds or not?

Quoted 6 lines
Quoted 1 line

How many mds's is to many.  How does this effect metadata performance.

Right now a single-MDS system is significantly more stable than a system with multiple active MDSes, so if possible you should use that configuration. Only add MDSes when you need more metadata throughput (probably you only need one).

Quoted 3 lines

Thanks for the response.

these osd servers are also going run the client and serve out NFS.

Make sure you carefully consider the deadlock risks associated with running filesystem clients and servers on the same machine... :) (See here:http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/4335 and the containing thread for more info if needed.)

Quoted 2 lines

Is it better to split the mds and mon out to a dedicated system?  then run standby on the active osd's

Depends on your hardware and performance requirements — the MDS will consume as much RAM as you allow it to, and up to a CPU or so. The OSDs don't use much memory, but the more that's available to page cache the less they need to hit disk to serve reads, etc.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html