Skip to contentSkip to conversation

Where to put the journal

DISCUSSION Xuân Baldauf 3 participants 5 messages Aug 1, 2004 – Aug 5, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I want to setup a Linux software RAID 5 over disks of different speed with reiserfs on top. I know that the journal has to be accessed frequently for comparably small accesses. That's why I'm considering to "offload" the journal onto an extra partition on a faster disk of the RAID set.

Thus, the journal would not be protected by the RAID, but this is not so important for me.

Is this kind of reasoning sane? Would there be any speedup by offloading the journal?

Thanks,

Xuân Baldauf.

#1 lore raw

Hello

Quoted 8 lines · Xuân Baldauf

Hello,

I want to setup a Linux software RAID 5 over disks of different speed with reiserfs on top. I know that the journal has to be accessed frequently for comparably small accesses. That's why I'm considering to "offload" the journal onto an extra partition on a faster disk of the RAID set.

Thus, the journal would not be protected by the RAID, but this is not so important for me.

Is this kind of reasoning sane? Would there be any speedup by offloading the journal?

Person who did some tests on non standard journal is on vacation. He is expected to come back today. Maybe he remembers benchmark results,

#2 lore raw
Quoted 13 lines · Vladimir V. Saveliev

Hello

Quoted 8 lines · Xuân Baldauf

Hello,

I want to setup a Linux software RAID 5 over disks of different speed with reiserfs on top. I know that the journal has to be accessed frequently for comparably small accesses. That's why I'm considering to "offload" the journal onto an extra partition on a faster disk of the RAID set.

Thus, the journal would not be protected by the RAID, but this is not so important for me.

Is this kind of reasoning sane? Would there be any speedup by offloading the journal?

Hello.
Unfortunately comprehensive results of journal relocation are obsolete as it was done at the beginning of mongo evolution. As I remember there were no any essential speedups. The only result of journal relocation that was created by new mongo benchmark can be found here:
http://thebsh.namesys.com/benchmarks/journal_relocation_to_NVRAM.html

Edward.

Quoted 4 lines

Person who did some tests on non standard journal is on vacation. He is expected to come back today. Maybe he remembers benchmark results,

#3 lore raw
Quoted 16 lines · Edward Shishkin
Quoted 13 lines · Vladimir V. Saveliev

Hello

Quoted 8 lines · Xuân Baldauf

Hello,

I want to setup a Linux software RAID 5 over disks of different speed with reiserfs on top. I know that the journal has to be accessed frequently for comparably small accesses. That's why I'm considering to "offload" the journal onto an extra partition on a faster disk of the RAID set.

Thus, the journal would not be protected by the RAID, but this is not so important for me.

Is this kind of reasoning sane? Would there be any speedup by offloading the journal?

Quoted 6 lines

Hello.
Unfortunately comprehensive results of journal relocation are obsolete as it was done at the beginning of mongo evolution. As I remember there were no any essential speedups. The only result of journal relocation that was created by new mongo benchmark can be found here:
http://thebsh.namesys.com/benchmarks/journal_relocation_to_NVRAM.html

Thank you,

essentially, these numbers say that relocation provided a speedup of about 10% for write. This surprises me a bit, because I expected a significantly smaller seek count for a write operation. Nevertheless, maybe I should run benchmarks with many small files for myself. :-)

Quoted 2 lines

Edward.

ciao,

Xuân Baldauf.

Quoted 3 lines
Quoted 2 lines

Person who did some tests on non standard journal is on vacation. He is expected to come back today. Maybe he remembers benchmark results,

#4 lore raw
Quoted 26 lines · Xuân Baldauf
Quoted 16 lines · Edward Shishkin
Quoted 13 lines · Vladimir V. Saveliev

Hello

Quoted 8 lines · Xuân Baldauf

Hello,

I want to setup a Linux software RAID 5 over disks of different speed with reiserfs on top. I know that the journal has to be accessed frequently for comparably small accesses. That's why I'm considering to "offload" the journal onto an extra partition on a faster disk of the RAID set.

Thus, the journal would not be protected by the RAID, but this is not so important for me.

Is this kind of reasoning sane? Would there be any speedup by offloading the journal?

Quoted 6 lines

Hello.
Unfortunately comprehensive results of journal relocation are obsolete as it was done at the beginning of mongo evolution. As I remember there were no any essential speedups. The only result of journal relocation that was created by new mongo benchmark can be found here:
http://thebsh.namesys.com/benchmarks/journal_relocation_to_NVRAM.html

Quoted 3 lines

Thank you,

essentially, these numbers say that relocation provided a speedup of about 10% for write.

Note this is for data logging journal mode (mount option "data=journal") Edward.

Quoted 18 lines

This surprises me a bit, because I expected a significantly smaller seek count for a write operation. Nevertheless, maybe I should run benchmarks with many small files for myself. :-)

Quoted 2 lines

Edward.

ciao,

Xuân Baldauf.

Quoted 4 lines
Quoted 2 lines

Person who did some tests on non standard journal is on vacation. He is expected to come back today. Maybe he remembers benchmark results,