External journals and NVRAM devices
Hi all,
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode. Is there a command to show the current journal size? Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
TIA,
Jeremy
Quoted 5 lines · Jeremy Howard
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
Quoted 8 lines
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode. Is there a command to show the current journal size? Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
When people were testing this with ext3 external journals, they just used a RAMDISK for getting the performance measurements. Obviously, (I hope ;-) this is not something you can do in real life, but for performance measurement it is OK.
Most people found that the ramdisk (and presumably the NVRAM device too) didn't perform much, if any, better than having a separate fast disk for the journal, because you are doing sequential I/O to the journal anyways. If it is on a separate disk/controller from the filesystem you don't have any seek or channel contention with the filesystem. Of course, using a regular disk for the journal is MUCH cheaper than an NVRAM card, so you probably want to test this out before you go ahead and buy the NVRAM card.
NVRAM devices are great for disks you are doing a lot of random I/O on (maybe database indexes or something), because there is zero seek latency, but for sequential I/O (like the journal) it really isn't anything special.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
Quoted 10 lines · Andreas Dilger
Quoted 8 lines · Jeremy Howard
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode.
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_device
Quoted 2 lines
Quoted 2 lines
Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
The journal size remains the same unless you specify another one by reiserfstune utility.
Thanks,
Edward.
Quoted 27 lines
Quoted 3 lines
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
When people were testing this with ext3 external journals, they just used a RAMDISK for getting the performance measurements. Obviously, (I hope ;-) this is not something you can do in real life, but for performance measurement it is OK.
Most people found that the ramdisk (and presumably the NVRAM device too) didn't perform much, if any, better than having a separate fast disk for the journal, because you are doing sequential I/O to the journal anyways. If it is on a separate disk/controller from the filesystem you don't have any seek or channel contention with the filesystem. Of course, using a regular disk for the journal is MUCH cheaper than an NVRAM card, so you probably want to test this out before you go ahead and buy the NVRAM card.
NVRAM devices are great for disks you are doing a lot of random I/O on (maybe database indexes or something), because there is zero seek latency, but for sequential I/O (like the journal) it really isn't anything special.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
Quoted 13 lines · Jeremy Howard
Hi all,
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode. Is there a command to show the current journal size? Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
Quoted 9 lines
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
TIA,
Jeremy
You might contact the umem folks. They are working with us.
Edward, I want those benchmarks produced in a readable form. Nikita, make sure that this happens, and that Edward produces a benchmark with an explanation of the significance of what was measured that is understandable to persons who aren't him.
Signature · 1 line
Hans
Quoted 25 lines · Hans Reiser
Quoted 13 lines · Jeremy Howard
Hi all,
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode. Is there a command to show the current journal size? Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
Quoted 9 lines
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
TIA,
Jeremy
Quoted 6 lines
You might contact the umem folks. They are working with us.
Edward, I want those benchmarks produced in a readable form. Nikita, make sure that this happens, and that Edward produces a benchmark with an explanation of the significance of what was measured that is understandable to persons who aren't him.
Ok, I'll try to make something on next week.
Edward.
Quoted 3 lines
--
Hans
Quoted 37 lines · Andreas Dilger
Quoted 5 lines · Jeremy Howard
I'm looking at buying solid state drives / NVRAM drives for our servers to hold an external ReiserFS journal.
We are using 2.4.20pre11, and Chris Mason's data logging patches.
Quoted 10 lines
I'm looking for any tips on how large the journal is when using data=journal, and whether the external log patches are stable and work OK in data=journal mode. Is there a command to show the current journal size? Does the size vary over time? We need to ensure we buy a card with enough memory so this is important information for us.
Is anyone currently using NVRAM for the journal? If so, how do you find the performance of this configuration?
When people were testing this with ext3 external journals, they just used a RAMDISK for getting the performance measurements. Obviously, (I hope ;-) this is not something you can do in real life, but for performance measurement it is OK.
Most people found that the ramdisk (and presumably the NVRAM device too) didn't perform much, if any, better than having a separate fast disk for the journal, because you are doing sequential I/O to the journal anyways. If it is on a separate disk/controller from the filesystem you don't have any seek or channel contention with the filesystem. Of course, using a regular disk for the journal is MUCH cheaper than an NVRAM card, so you probably want to test this out before you go ahead and buy the NVRAM card.
NVRAM devices are great for disks you are doing a lot of random I/O on (maybe database indexes or something), because there is zero seek latency, but for sequential I/O (like the journal) it really isn't anything special.
Quoted 10 lines
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
NVRAM devices are for fsync intensive operations.
Signature · 1 line
Hans
Quoted 1 line · Hans Reiser
NVRAM devices are for fsync intensive operations.
And for low commit latency.
Cheers,
Andrew