* mon disk access pattern
@ 2012-06-15 5:52 Stefan Priebe - Profihost AG
2012-06-15 9:51 ` Wido den Hollander
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-06-15 5:52 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Hello list,
i read somewhere that the mon has "special" disk access patterns - even
though it does not write much data.
I'm using a patched debian squeeze with syncfs support (thanks to amon).
Are there any recommandations where to put the mon data? (SSD? Raid?
Which FS?)
Greets,
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mon disk access pattern
2012-06-15 5:52 mon disk access pattern Stefan Priebe - Profihost AG
@ 2012-06-15 9:51 ` Wido den Hollander
2012-06-15 11:34 ` Mark Nelson
0 siblings, 1 reply; 6+ messages in thread
From: Wido den Hollander @ 2012-06-15 9:51 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG; +Cc: ceph-devel@vger.kernel.org
Hi,
On 15-06-12 07:52, Stefan Priebe - Profihost AG wrote:
> Hello list,
>
> i read somewhere that the mon has "special" disk access patterns - even
> though it does not write much data.
"special"? Where did you read that? The monitor has about 1 ~ 2GB of
storage.
So if your monitor has something like 4GB ~ 8GB of RAM, your kernel
should cache almost all your monitor data.
>
> I'm using a patched debian squeeze with syncfs support (thanks to amon).
> Are there any recommandations where to put the mon data? (SSD? Raid?
> Which FS?)
>
Something like a regular disk with ext4 should be fine, but you can
always put in an SSD if you want that.
Wido
> Greets,
> Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mon disk access pattern
2012-06-15 9:51 ` Wido den Hollander
@ 2012-06-15 11:34 ` Mark Nelson
2012-06-15 16:30 ` Sage Weil
2012-06-18 6:39 ` Stefan Priebe - Profihost AG
0 siblings, 2 replies; 6+ messages in thread
From: Mark Nelson @ 2012-06-15 11:34 UTC (permalink / raw)
To: Wido den Hollander
Cc: Stefan Priebe - Profihost AG, ceph-devel@vger.kernel.org
On 06/15/2012 04:51 AM, Wido den Hollander wrote:
> Hi,
>
> On 15-06-12 07:52, Stefan Priebe - Profihost AG wrote:
>> Hello list,
>>
>> i read somewhere that the mon has "special" disk access patterns - even
>> though it does not write much data.
>
> "special"? Where did you read that? The monitor has about 1 ~ 2GB of
> storage.
>
> So if your monitor has something like 4GB ~ 8GB of RAM, your kernel
> should cache almost all your monitor data.
>
I think at some point someone mentioned to me that the mon can cause a
lot of syncs, so running them on the OSDs without syncfs might be
detrimental. For the majority of our internal performance testing I've
kept them off the OSDs just to be sure.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mon disk access pattern
2012-06-15 11:34 ` Mark Nelson
@ 2012-06-15 16:30 ` Sage Weil
2012-06-15 20:31 ` Stefan Priebe
2012-06-18 6:39 ` Stefan Priebe - Profihost AG
1 sibling, 1 reply; 6+ messages in thread
From: Sage Weil @ 2012-06-15 16:30 UTC (permalink / raw)
To: Mark Nelson
Cc: Wido den Hollander, Stefan Priebe - Profihost AG,
ceph-devel@vger.kernel.org
On Fri, 15 Jun 2012, Mark Nelson wrote:
> On 06/15/2012 04:51 AM, Wido den Hollander wrote:
> > Hi,
> >
> > On 15-06-12 07:52, Stefan Priebe - Profihost AG wrote:
> > > Hello list,
> > >
> > > i read somewhere that the mon has "special" disk access patterns - even
> > > though it does not write much data.
> >
> > "special"? Where did you read that? The monitor has about 1 ~ 2GB of
> > storage.
> >
> > So if your monitor has something like 4GB ~ 8GB of RAM, your kernel
> > should cache almost all your monitor data.
> >
>
> I think at some point someone mentioned to me that the mon can cause a lot of
> syncs, so running them on the OSDs without syncfs might be detrimental. For
> the majority of our internal performance testing I've kept them off the OSDs
> just to be sure.
Right. The only thing interesting about the mon access pattern is that it
calls fsync() a lot when healthy, and will call syncfs() or sync() during
recovery.
sage
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mon disk access pattern
2012-06-15 16:30 ` Sage Weil
@ 2012-06-15 20:31 ` Stefan Priebe
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Priebe @ 2012-06-15 20:31 UTC (permalink / raw)
To: Sage Weil; +Cc: Mark Nelson, Wido den Hollander, ceph-devel@vger.kernel.org
Am 15.06.2012 18:30, schrieb Sage Weil:
> On Fri, 15 Jun 2012, Mark Nelson wrote:
>> On 06/15/2012 04:51 AM, Wido den Hollander wrote:
>> I think at some point someone mentioned to me that the mon can cause a lot of
>> syncs, so running them on the OSDs without syncfs might be detrimental. For
>> the majority of our internal performance testing I've kept them off the OSDs
>> just to be sure.
>
> Right. The only thing interesting about the mon access pattern is that it
> calls fsync() a lot when healthy, and will call syncfs() or sync() during
> recovery.
But if i have syncfs support does it still matter if they sit on an osd
with a seperate disk? Do you have any iops or bandwith knowledge for the
mon daemon?
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mon disk access pattern
2012-06-15 11:34 ` Mark Nelson
2012-06-15 16:30 ` Sage Weil
@ 2012-06-18 6:39 ` Stefan Priebe - Profihost AG
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-06-18 6:39 UTC (permalink / raw)
To: Mark Nelson; +Cc: Wido den Hollander, ceph-devel@vger.kernel.org
Am 15.06.2012 13:34, schrieb Mark Nelson:
> On 06/15/2012 04:51 AM, Wido den Hollander wrote:
>> Hi,
>>
>> On 15-06-12 07:52, Stefan Priebe - Profihost AG wrote:
>>> Hello list,
>>>
>>> i read somewhere that the mon has "special" disk access patterns - even
>>> though it does not write much data.
>>
>> "special"? Where did you read that? The monitor has about 1 ~ 2GB of
>> storage.
>>
>> So if your monitor has something like 4GB ~ 8GB of RAM, your kernel
>> should cache almost all your monitor data.
>>
>
> I think at some point someone mentioned to me that the mon can cause a
> lot of syncs, so running them on the OSDs without syncfs might be
> detrimental. For the majority of our internal performance testing I've
> kept them off the OSDs just to be sure.
My main idea behind that was what type of disk i need for a performant
mon system. SATA, SAS, SSD? Raid?
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-18 6:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15 5:52 mon disk access pattern Stefan Priebe - Profihost AG
2012-06-15 9:51 ` Wido den Hollander
2012-06-15 11:34 ` Mark Nelson
2012-06-15 16:30 ` Sage Weil
2012-06-15 20:31 ` Stefan Priebe
2012-06-18 6:39 ` Stefan Priebe - Profihost AG
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.