Thread: UFS 2: soft updates vs. gjournal (AKA: Choosing a filesystem 2.)

UFS 2: soft updates vs. gjournal (AKA: Choosing a filesystem 2.)

From
Laszlo Nagy
Date:
Hi again,

Should I use gjournal on FreeBSD 7? Or just soft updates?

Here is my opinion: I suspect that gjournal would be much slower than
soft updates. Also gjournal is relatively new code, not very well
tested. But gjournal is better when the system crashes. Although I have
heard that sometimes gjournal will crash the system itself. There are
more pros for soft updates I would pefer that. But please let me
know if I'm wrong.

Thanks,

   Laszlo






Re: UFS 2: soft updates vs. gjournal (AKA: Choosing a filesystem 2.)

From
"Claus Guttesen"
Date:
> Should I use gjournal on FreeBSD 7? Or just soft updates?
>
> Here is my opinion: I suspect that gjournal would be much slower than
> soft updates. Also gjournal is relatively new code, not very well
> tested. But gjournal is better when the system crashes. Although I have
> heard that sometimes gjournal will crash the system itself. There are
> more pros for soft updates I would pefer that. But please let me
> know if I'm wrong.

If softupdates suites your needs why not just use that? :-) Is
performance adequate with softupdates? I have a 103 GB db on FreeBSD
7.0 and softupdates and it has survived one unplanned stop when we had
a power-outage lasting some hours.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentler gamester is the soonest winner.

Shakespeare

Re: UFS 2: soft updates vs. gjournal (AKA: Choosing a filesystem 2.)

From
"Artis Caune"
Date:
On Wed, Sep 24, 2008 at 1:18 PM, Laszlo Nagy <gandalf@shopzeus.com> wrote:
> Here is my opinion: I suspect that gjournal would be much slower than
> soft updates. Also gjournal is relatively new code, not very well
> tested.

In some cases it's much faster than SU, in other a bit slower. :)
gjournal is quiet "old" code, it's already more than two years around,
and very stable. Haven't seen any gjournal related crash.





--
regards,
Artis Caune

<----. CCNA
<----|====================
<----' didii FreeBSD

Re: UFS 2: soft updates vs. gjournal (AKA: Choosing a filesystem 2.)

From
Axel Rau
Date:
Am 24.09.2008 um 12:18 schrieb Laszlo Nagy:

> Should I use gjournal on FreeBSD 7? Or just soft updates?
I'm using gjournal for 5 weeks now on my production server.
There are 4 journaled filesystems on a raid controller with
BBU. pg uses 23GB out of 1.6TB. I can't see any performance impact or
other issue.
Recovery from an unclean shutdown took less than a minute as compared
to half an hour with ufs2/softupdates/fsck.
However I'm still unsure if I should enable async mounts of rhe fs
with tablespaces/WAL.
Anybody giving me advice?

Axel
--- ar3