External journals and NVRAM devices
Quoted 9 lines · JP Howard
Blocksize: 4096
<...>
Journal parameters:
<...>Size 8193 blocks (including 1 for journal header) (first block 18)----
So my journal is only 32k? With Ext3 I used 192MB journal in data=journal
That's 32M, not 32K.
Note that the required size of the journal file depends in part on the maximum amount of data in the journal that isn't stored to permanent locations yet. As a result, if the journal commit process uses a "small and often" scheme, you'll need less journal than one that makes large commits on a rare basis.
Signature · 3 lines
Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
Quoted 20 lines · JP Howard
Quoted 7 lines · Edward Shishkin
Yes. And the experience said that external logging brings a bit better effect for this journal mode then for other ones.
Quoted 1 line
Quoted 1 line
Is there a command to show the current journal size?
#debugreiserfs
main_deviceHmmm...
----
Blocksize: 4096
<...>
Journal parameters:
<...>
Size 8193 blocks (including 1 for journal header) (first block
18)
----
Quoted 1 line
So my journal is only 32k?
Yes. Standard journal can be only 32K.
With Ext3 I used 192MB journal in data=journal
Quoted 3 lines
mode. Should I be using a size around that when using data=journal with ReiserFS too? Why is the default so low?--is it because the data logging patches don't automatically change it?
Reiserfs journal size doesn't depend on journal mode.
Quoted 6 lines
Quoted 4 lines
The journal size remains the same unless you specify another one by reiserfstune utility.
And non-standard journal sizes don't work under 2.4, right? Or are there patches for this that are reasonably stable?
Yes they are. Let me specify it on next week unless Oleg will do it earlier. Edward.
Quoted 22 lines · Edward Shishkin
Quoted 20 lines · JP Howard
Quoted 7 lines · Edward Shishkin
Yes. And the experience said that external logging brings a bit better effect for this journal mode then for other ones.
Quoted 1 line
Quoted 1 line
Is there a command to show the current journal size?
#debugreiserfs
main_deviceHmmm...
----
Blocksize: 4096
<...>
Journal parameters:
<...>
Size 8193 blocks (including 1 for journal header) (first block
18)
----
Quoted 3 lines
Quoted 1 line
So my journal is only 32k?
Yes. Standard journal can be only 32K.
Sorry, 32M!
Quoted 17 lines
With Ext3 I used 192MB journal in data=journal
Quoted 3 lines
mode. Should I be using a size around that when using data=journal with ReiserFS too? Why is the default so low?--is it because the data logging patches don't automatically change it?
Reiserfs journal size doesn't depend on journal mode.
Quoted 6 lines
Quoted 4 lines
The journal size remains the same unless you specify another one by reiserfstune utility.
And non-standard journal sizes don't work under 2.4, right? Or are there patches for this that are reasonably stable?
Yes they are. Let me specify it on next week unless Oleg will do it earlier. Edward.