Skip to contentSkip to conversation

ceph from poc to production

DISCUSSION Stefan Priebe 3 participants 6 messages Jan 16, 2013 – Jan 17, 2013

lore
Share & tools
lore
#0 lore raw

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Greets,
Stefan
--
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

#1 lore raw

Hi Stephan,

Quoted 1 line

- Increase the osdmax value

Well actually this doesn't seem to be necessary because when you issue a "ceph osd create" the osdmax value is automatically incremented. It just that a while ago I saw on the ML or IRC that it was a good practice to do this. And this documentation
http://ceph.com/docs/master/rados/operations/control/ says:

"Set the max_osd parameter in the osd map. This is necessary when expanding the storage cluster."

Maybe the doc is outdated on this option, I don't know.

Quoted 1 line

- Set “filestore flusher” option to false, in your [osd] section

During my benchmarks sessions I noticed that disabling this option brought way better performance, at least for old hardware. Fo recent hardware I haven't seen any difference, but I kept the habit to disable it. There are some discussions about this option on the ML. As far as I can remember, it's harmless to disable it.
From the doc here
http://ceph.com/docs/master/rados/configuration/filestore-config-ref/:

"The filestore flusher forces data from large writes to be written out using sync file range before the sync in order to (hopefully) reduce the cost of the eventual sync. In practice, disabling ‘filestore flusher’ seems to improve performance in some cases."

Cheers,

--
Regards,
Sébastien Han.

Quoted 12 lines · Stefan Priebe

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Quoted 6 lines

Greets,
Stefan
--
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

--
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

#2 lore raw
Quoted 17 lines · Sébastien Han

Hi Stephan,

Quoted 1 line

- Increase the osdmax value

Well actually this doesn't seem to be necessary because when you issue a "ceph osd create" the osdmax value is automatically incremented. It just that a while ago I saw on the ML or IRC that it was a good practice to do this. And this documentation
http://ceph.com/docs/master/rados/operations/control/ says:

"Set the max_osd parameter in the osd map. This is necessary when expanding the storage cluster."

Maybe the doc is outdated on this option, I don't know.

Quoted 1 line

- Set “filestore flusher” option to false, in your [osd] section

Quoted 7 lines

During my benchmarks sessions I noticed that disabling this option brought way better performance, at least for old hardware. Fo recent hardware I haven't seen any difference, but I kept the habit to disable it. There are some discussions about this option on the ML. As far as I can remember, it's harmless to disable it.
From the doc here
http://ceph.com/docs/master/rados/configuration/filestore-config-ref/:

I actually have been doing parametric sweeps over the various ceph tunables to try to see what affects performance. I'll have an article coming out soonish documenting some of the findings. Typically disabling the flusher seems to be beneficial on XFS and BTRFS, but it seems to be the opposite on EXT4.

Quoted 32 lines

"The filestore flusher forces data from large writes to be written out using sync file range before the sync in order to (hopefully) reduce the cost of the eventual sync. In practice, disabling ‘filestore flusher’ seems to improve performance in some cases."

Cheers,

--
Regards,
Sébastien Han.

Quoted 12 lines · Stefan Priebe

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Quoted 6 lines

Greets,
Stefan
--
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

Quoted 5 lines

--
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

--
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

#3 lore raw

Cool, I look forward to reading it!
--
Regards,
Sébastien Han.

Quoted 30 lines · Mark Nelson
Quoted 20 lines · Sébastien Han

Hi Stephan,

Quoted 1 line

- Increase the osdmax value

Well actually this doesn't seem to be necessary because when you issue a "ceph osd create" the osdmax value is automatically incremented. It just that a while ago I saw on the ML or IRC that it was a good practice to do this. And this documentation
http://ceph.com/docs/master/rados/operations/control/ says:

"Set the max_osd parameter in the osd map. This is necessary when expanding the storage cluster."

Maybe the doc is outdated on this option, I don't know.

Quoted 1 line

- Set “filestore flusher” option to false, in your [osd] section

Quoted 7 lines

During my benchmarks sessions I noticed that disabling this option brought way better performance, at least for old hardware. Fo recent hardware I haven't seen any difference, but I kept the habit to disable it. There are some discussions about this option on the ML. As far as I can remember, it's harmless to disable it.
From the doc here
http://ceph.com/docs/master/rados/configuration/filestore-config-ref/:

Quoted 48 lines

I actually have been doing parametric sweeps over the various ceph tunables to try to see what affects performance. I'll have an article coming out soonish documenting some of the findings. Typically disabling the flusher seems to be beneficial on XFS and BTRFS, but it seems to be the opposite on EXT4.

Quoted 40 lines

"The filestore flusher forces data from large writes to be written out using sync file range before the sync in order to (hopefully) reduce the cost of the eventual sync. In practice, disabling ‘filestore flusher’ seems to improve performance in some cases."

Cheers,

--
Regards,
Sébastien Han.

Quoted 13 lines · Stefan Priebe

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Quoted 6 lines

Greets,
Stefan
--
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

--
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

--
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

#4 lore raw
In reply to Mark Nelson

Great! Any ETA?

Am 17.01.2013 um 17:29 schrieb Mark Nelson <[email protected]>:

Quoted 65 lines · Sébastien Han
Quoted 17 lines

Hi Stephan,

Quoted 1 line

- Increase the osdmax value

Well actually this doesn't seem to be necessary because when you issue a "ceph osd create" the osdmax value is automatically incremented. It just that a while ago I saw on the ML or IRC that it was a good practice to do this. And this documentation
http://ceph.com/docs/master/rados/operations/control/ says:

"Set the max_osd parameter in the osd map. This is necessary when expanding the storage cluster."

Maybe the doc is outdated on this option, I don't know.

Quoted 1 line

- Set “filestore flusher” option to false, in your [osd] section

Quoted 7 lines

During my benchmarks sessions I noticed that disabling this option brought way better performance, at least for old hardware. Fo recent hardware I haven't seen any difference, but I kept the habit to disable it. There are some discussions about this option on the ML. As far as I can remember, it's harmless to disable it.
From the doc here
http://ceph.com/docs/master/rados/configuration/filestore-config-ref/:

I actually have been doing parametric sweeps over the various ceph tunables to try to see what affects performance. I'll have an article coming out soonish documenting some of the findings. Typically disabling the flusher seems to be beneficial on XFS and BTRFS, but it seems to be the opposite on EXT4.

Quoted 32 lines

"The filestore flusher forces data from large writes to be written out using sync file range before the sync in order to (hopefully) reduce the cost of the eventual sync. In practice, disabling ‘filestore flusher’ seems to improve performance in some cases."

Cheers,

--
Regards,
Sébastien Han.

Quoted 12 lines · Stefan Priebe

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Quoted 6 lines

Greets,
Stefan
--
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

Quoted 4 lines

--
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

Quoted 4 lines

--
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

--
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

#5 lore raw
In reply to Sébastien Han

Thx!

Am 17.01.2013 um 17:24 schrieb Sébastien Han <[email protected]>:

Quoted 30 lines

Hi Stephan,

Quoted 1 line

- Increase the osdmax value

Well actually this doesn't seem to be necessary because when you issue a "ceph osd create" the osdmax value is automatically incremented. It just that a while ago I saw on the ML or IRC that it was a good practice to do this. And this documentation
http://ceph.com/docs/master/rados/operations/control/ says:

"Set the max_osd parameter in the osd map. This is necessary when expanding the storage cluster."

Maybe the doc is outdated on this option, I don't know.

Quoted 1 line

- Set “filestore flusher” option to false, in your [osd] section

During my benchmarks sessions I noticed that disabling this option brought way better performance, at least for old hardware. Fo recent hardware I haven't seen any difference, but I kept the habit to disable it. There are some discussions about this option on the ML. As far as I can remember, it's harmless to disable it.
From the doc here
http://ceph.com/docs/master/rados/configuration/filestore-config-ref/:

"The filestore flusher forces data from large writes to be written out using sync file range before the sync in order to (hopefully) reduce the cost of the eventual sync. In practice, disabling ‘filestore flusher’ seems to improve performance in some cases."

Quoted 26 lines

Cheers,

--
Regards,
Sébastien Han.

Quoted 18 lines · Stefan Priebe

Hello Sebastien,
hello list,

first nice article sebastien ;-) thanks for contributing.

I've two question regarding the tips:

Can somebody explain me why i should do this?:
- Increase the osdmax value
- Set “filestore flusher” option to false, in your [osd] section

Greets,
Stefan
--
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

--
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