All of lore.kernel.org
 help / color / mirror / Atom feed
* Journal size of each disk
@ 2012-06-11  6:47 Eric_YH_Chen
  2012-06-11  8:35 ` Wido den Hollander
  0 siblings, 1 reply; 2+ messages in thread
From: Eric_YH_Chen @ 2012-06-11  6:47 UTC (permalink / raw)
  To: ceph-devel; +Cc: Chris_YT_Huang, Victor_CY_Chang

Dear all:

    I would like to know if the journal size influence the performance
of disk.

    If the size of each of my disk is 1T, how much size should I prepare
for the journal?

    Thanks for any comment.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Journal size of each disk
  2012-06-11  6:47 Journal size of each disk Eric_YH_Chen
@ 2012-06-11  8:35 ` Wido den Hollander
  0 siblings, 0 replies; 2+ messages in thread
From: Wido den Hollander @ 2012-06-11  8:35 UTC (permalink / raw)
  To: Eric_YH_Chen; +Cc: ceph-devel, Chris_YT_Huang, Victor_CY_Chang

Hi,

On 06/11/2012 08:47 AM, Eric_YH_Chen@wiwynn.com wrote:
> Dear all:
>
>      I would like to know if the journal size influence the performance
> of disk.
>
>      If the size of each of my disk is 1T, how much size should I prepare
> for the journal?
>

You journal should be able to hold the writes for a short period of 
time, something like 10 ~ 20 seconds.

If your machine is on a 1Gbit line it will do something like 100MB/sec 
of writes.

100MB * 20 seconds = 2000MB

So a journal of something like 2GB should be enough.

You can always scale it bigger to 4GB, that won't hurt anything.

So it doesn't depend on the size of your data disk, but depends on how 
fast the writes are coming in.

Wido

>      Thanks for any comment.
>
> --
> 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] 2+ messages in thread

end of thread, other threads:[~2012-06-11  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11  6:47 Journal size of each disk Eric_YH_Chen
2012-06-11  8:35 ` Wido den Hollander

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.