linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Default size of journal?
@ 2010-01-10 19:12 Jeff Layton
  2010-01-11  6:41 ` Andreas Dilger
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2010-01-10 19:12 UTC (permalink / raw)
  To: linux-ext4

Good afternoon!

I'm sorry if this is a repeat, but I was wondering what the
default journal size is for ext4  when it's built on a single
partition? Or does it vary in size as needed?

TIA!

Jeff

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

* Re: Default size of journal?
  2010-01-10 19:12 Default size of journal? Jeff Layton
@ 2010-01-11  6:41 ` Andreas Dilger
  2010-01-11 11:37   ` Jeff Layton
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Dilger @ 2010-01-11  6:41 UTC (permalink / raw)
  To: Jeff Layton; +Cc: linux-ext4

On 2010-01-10, at 15:12, Jeff Layton wrote:
> I'm sorry if this is a repeat, but I was wondering what the
> default journal size is for ext4  when it's built on a single
> partition? Or does it vary in size as needed?


It varies with the size of the filesystem.  I believe the largest  
default size is 128MB, but I don't know offhand what the cutoff size is.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


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

* Re: Default size of journal?
  2010-01-11  6:41 ` Andreas Dilger
@ 2010-01-11 11:37   ` Jeff Layton
  2010-01-11 11:40     ` Jeff Layton
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2010-01-11 11:37 UTC (permalink / raw)
  To: Andreas Dilger; +Cc: linux-ext4

Andreas Dilger wrote:
> On 2010-01-10, at 15:12, Jeff Layton wrote:
>> I'm sorry if this is a repeat, but I was wondering what the
>> default journal size is for ext4  when it's built on a single
>> partition? Or does it vary in size as needed?
>
> It varies with the size of the filesystem.  I believe the largest 
> default size is 128MB, but I don't know offhand what the cutoff size is.

Is there a simple formula for how the journal size varies with the
file system size? Perhaps linear?

Thanks!

Jeff


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

* Re: Default size of journal?
  2010-01-11 11:37   ` Jeff Layton
@ 2010-01-11 11:40     ` Jeff Layton
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Layton @ 2010-01-11 11:40 UTC (permalink / raw)
  To: linux-ext4; +Cc: Andreas Dilger

Jeff Layton wrote:
> Andreas Dilger wrote:
>> On 2010-01-10, at 15:12, Jeff Layton wrote:
>>> I'm sorry if this is a repeat, but I was wondering what the
>>> default journal size is for ext4  when it's built on a single
>>> partition? Or does it vary in size as needed?
>>
>> It varies with the size of the filesystem.  I believe the largest 
>> default size is 128MB, but I don't know offhand what the cutoff size is.
>
> Is there a simple formula for how the journal size varies with the
> file system size? Perhaps linear?
Disregard - Eric answered it for me (didn't finish all my email before
responding). Apologies.

Jeff


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

end of thread, other threads:[~2010-01-11 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 19:12 Default size of journal? Jeff Layton
2010-01-11  6:41 ` Andreas Dilger
2010-01-11 11:37   ` Jeff Layton
2010-01-11 11:40     ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).