Skip to contentSkip to conversation

tons of logging patches

PATCH Dieter Nützel 4 participants 10 messages Jun 22, 2002 – Aug 2, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Chris

ftp.suse.com/pub/people/mason/patches/data-logging has a new beta-data-logging-10.diff.gz

This one:

compiles as a module (thanks Jeff Mahoney)

has a highmem bug fixed with data=journal (help from Andrea)

Hello Chris,

should I run this with -aa kernel?

Quoted 4 lines

Fixes a problem with relocated/different sized journal devices. This was a merge error on my part.

One tester reports a hang that I can't reproduce here, I'm still trying.

You do not mean me (page coloring)?

Regards,
Dieter

BTW I have my dual Athlon MP 1900+ up and "flying"...

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#1 lore raw
Quoted 7 lines · Dieter Nützel
Quoted 5 lines · Chris

ftp.suse.com/pub/people/mason/patches/data-logging has a new beta-data-logging-10.diff.gz

This one:

Quoted 7 lines
Quoted 3 lines

compiles as a module (thanks Jeff Mahoney)

has a highmem bug fixed with data=journal (help from Andrea)

Hello Chris,

should I run this with -aa kernel?

You can, the differences are minor, just interdiff from the last data logging patch and apply the incremental onto the aa data logging patch. I ran out of time before leaving for ottawa, so I didn't get the chance to make an aa patch.

Quoted 7 lines
Quoted 5 lines

Fixes a problem with relocated/different sized journal devices. This was a merge error on my part.

One tester reports a hang that I can't reproduce here, I'm still trying.

You do not mean me (page coloring)?

No, this was a large 8 way smp machine.

-chris

#2 lore raw
Quoted 7 lines · Chris Mason
Quoted 2 lines · Manuel Krause

So far the 13 prerelease works fine under rootflags boot and mount/remount option "data=ordered" on here.

I think I've got the bug, it was newly introduced in -13. New stuff will be uploaded today.

Where is your stuff?
It didn't appeared in your SuSE "home"
I'm during the preparation of 2.4.19-rc1-jam2-pc (2.4.19pre1aa2 + jam2 + page coloring).

Thanks,
Dieter

#3 lore raw
Quoted 6 lines · Dieter Nützel
Quoted 5 lines · Chris Mason
Quoted 2 lines · Manuel Krause

So far the 13 prerelease works fine under rootflags boot and mount/remount option "data=ordered" on here.

Quoted 7 lines
Quoted 2 lines

I think I've got the bug, it was newly introduced in -13. New stuff will be uploaded today.

Where is your stuff?
It didn't appeared in your SuSE "home"
I'm during the preparation of 2.4.19-rc1-jam2-pc (2.4.19pre1aa2 + jam2 + page coloring).

Sigh, further testing showed I'd only fixed half of the bug. The other half is somewhere deep writepage/truncate interaction. I'm still trying to find it.

-chris

#4 lore raw
Quoted 7 lines · Chris Mason
Quoted 6 lines · Dieter Nützel
Quoted 5 lines · Chris Mason
Quoted 2 lines · Manuel Krause

So far the 13 prerelease works fine under rootflags boot and mount/remount option "data=ordered" on here.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

I think I've got the bug, it was newly introduced in -13. New stuff will be uploaded today.

Sigh, further testing showed I'd only fixed half of the bug. The other half is somewhere deep writepage/truncate interaction. I'm still trying to find it.

Well, after a week of fixing minor things and adding debugging code, this bug still goes unsolved. The only good news is that I can also trigger it on pure 2.4.19-rc1 and ext2. The bug seems to either be in the VM or my ram, so I'm having a little memtest86 party overnight.

I've uploaded 03-beta-data-logging-16, it should be more stable and faster than -11 and -13 were, but includes more debugging checks to try and make sure I'm not screwing things up. You can grab the patches at:

ftp://ftp.suse.com/pub/people/mason/patches/data-logging

If anyone wants to try and reproduce my memory corruption bug (can and probably will lead to FS corruption), just let 10 fsx processes run in a loop for ~3 hours or so on an SMP machine.

-chris

#5 lore raw
Quoted 25 lines · Chris Mason
Quoted 9 lines · Chris Mason
Quoted 7 lines · Dieter Nützel
Quoted 5 lines · Chris Mason
Quoted 1 line · Manuel Krause

So far the 13 prerelease works fine under rootflags boot and mount/remount option "data=ordered" on here.

Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

I think I've got the bug, it was newly introduced in -13. New stuff will be uploaded today.

Sigh, further testing showed I'd only fixed half of the bug. The other half is somewhere deep writepage/truncate interaction. I'm still trying to find it.

Well, after a week of fixing minor things and adding debugging code, this bug still goes unsolved. The only good news is that I can also trigger it on pure 2.4.19-rc1 and ext2. The bug seems to either be in the VM or my ram, so I'm having a little memtest86 party overnight.

Quoted 6 lines

I've uploaded 03-beta-data-logging-16, it should be more stable and faster than -11 and -13 were, but includes more debugging checks to try and make sure I'm not screwing things up. You can grab the patches at:

ftp://ftp.suse.com/pub/people/mason/patches/data-logging

Thank you, Chris!

It's working fine under rootflags set and mount/remount options "noatime,notail,data=ordered". Nothing got wrong on here due to data-logging-13.

Netscape7 dropped its load time again by 3secs of (previously 14+1), OpenOffice1 increased by 1sec (of average 17secs previously). To explain the previous state: I've only changed -pre9 to -rc1 and data-logging from -10(-pre9)..13(-rc1)..11(-rc1)..16(-rc1, now!) from the old patchset.

Quoted 6 lines

If anyone wants to try and reproduce my memory corruption bug (can and probably will lead to FS corruption), just let 10 fsx processes run in a loop for ~3 hours or so on an SMP machine.

-chris

Is this possible to be reproduced on uniprocessor machines, too ?

Best regards,

Manuel

#6 lore raw

Hello everyone,

I've uploaded 03-data-logging-24.diff, which fixes a tail packing oops in data=journal mode, and fixes the data=ordered slow down (5-10%) introduced in -23.

-23 flushed all the ordered buffer heads with the journal lock held, which meant no new transactions could start while the ordered buffers were being flushed. This was safe but slower.

-24 flushes them right before the commit blocks (like -19 did), and only flushes the tail conversion targets with the journal lock held. Doing the tail conversion targets later risks losing the tail data after a crash.

Thanks to [email protected] who reported the ordered write bug in -19 and the data=journal oops in -23.

-chris

#7 lore raw
Quoted 5 lines · Chris Mason

Hello everyone,

I've uploaded 03-data-logging-24.diff, which fixes a tail packing oops in data=journal mode, and fixes the data=ordered slow down (5-10%) introduced in -23.

Whoops, I neglected to mention that data=ordered is now the default in the patch. You can mount with -o data=writeback if you don't want ordered data writes.

-chris

#8 lore raw
Quoted 11 lines · Chris Mason
Quoted 7 lines · Chris Mason

Hello everyone,

I've uploaded 03-data-logging-24.diff, which fixes a tail packing oops in data=journal mode, and fixes the data=ordered slow down (5-10%) introduced in -23.

Quoted 11 lines

Whoops, I neglected to mention that data=ordered is now the default in the patch. You can mount with -o data=writeback if you don't want ordered data writes.

-chris

we just saw a benchmark in which data=ordered caused a major slowdown. Does this patch fix this?

Edward and Elena, I want thorough benchmarking of this.

Signature · 1 line
Hans
#9 lore raw
Quoted 6 lines · Hans Reiser
Quoted 1 line

we just saw a benchmark in which data=ordered caused a major slowdown.
Does this patch fix this?

Edward and Elena, I want thorough benchmarking of this.

The last fract_tree benchmarks were on older patches, Manual Krause's benchmark was more showing the difference between a used and a fresh filesystem, and he was using -23 which had data=ordered performance issues fixed in -24.

More benchmarking does need to be done, the patch isn't set in stone yet ;-)

-chris