From: Wido den Hollander <wido@widodh.nl>
To: Eric_YH_Chen@wiwynn.com
Cc: ceph-devel@vger.kernel.org, Chris_YT_Huang@wiwynn.com,
Victor_CY_Chang@wiwynn.com
Subject: Re: Journal size of each disk
Date: Mon, 11 Jun 2012 10:35:21 +0200 [thread overview]
Message-ID: <4FD5ADC9.3080208@widodh.nl> (raw)
In-Reply-To: <8512670932FB654F81AF0FEF1BE6D49D017E52FD@WHQBEMAIL1.whq.wistron>
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
prev parent reply other threads:[~2012-06-11 8:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-11 6:47 Journal size of each disk Eric_YH_Chen
2012-06-11 8:35 ` Wido den Hollander [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD5ADC9.3080208@widodh.nl \
--to=wido@widodh.nl \
--cc=Chris_YT_Huang@wiwynn.com \
--cc=Eric_YH_Chen@wiwynn.com \
--cc=Victor_CY_Chang@wiwynn.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.