All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Manuel Krause <manuel.krause@mb.tu-ilmenau.de>
Cc: reiserfs-list <reiserfs-list@namesys.com>
Subject: Re: [PATCH CFT] tons of logging patches
Date: 04 Jun 2002 09:12:25 -0400	[thread overview]
Message-ID: <1023196345.31682.81.camel@tiny> (raw)
In-Reply-To: <3CFC33F2.7080009@mb.tu-ilmenau.de>

On Mon, 2002-06-03 at 23:28, Manuel Krause wrote:

> 
> So, VMware is stable with it, too, on my well known "heavy-private-test" 
> of it (running Norton SpeedDisk at least twice within a most recent 
> VMware Win98). It doesn't show greatly different timings than to my 
> setup before though having a different disk i/o pattern (due to the 
> missing aa patches)... and me having a reduced RAM from 512to256MB at 
> the moment. And I should be honest to say I can't give exact timings as 
> the important disk contents changed during last weeks. But the 
> disk-access-times/related-to-the-content are definitively _not_ higher 
> than before!

same speed on 1/2 the ram isn't bad ;-)

> 
> > 
> > Great to hear, thanks for trying things out.
> > 
> > data=logging will be the slowest mode for everything except mail servers
> > and write heavy databases (or other apps that hammer on O_SYNC/fsync). 
> > This is because all the data gets written twice, once to log and once to
> > the main disk.  It helps synchronous writes by writing to the log in
> > quick sequential bursts, and then writing back to the main disk in
> > larger chunks.
> 
> Yes, I assumed/learnt that from your very previous explanations. But I 
> don't see the point "slowest", so far, on here.

try dbench, or any streaming write.  It should be roughtly 1/2 as fast
as the default mode.  If it isn't data=journal probably isn't really
activated (it sends a printk on mount about using journaled data mode).

> 
> This is a home/single session ?non?-production system on here. 1 to 2 
> IDE disks, one processor... notebook, you'd remember this setup from my 
>   mails.
> 
> > 
> > data=ordered will usually be fastest for streaming appends to a file. 
> > The rest of the time it will be the same or slightly slower than the
> > default (data=writeback).
> 
> What would be my recommended mount option later then (mentionned in the 
> manpages or on the webpage?!) Mmmh: I see I test that at the moment...

data=ordered will work best for most people.  The performance hit is
very small, and you won't have any more garbage in files after a crash.

> 
> Why is no combo possible? Meant as: Could/would that bring advantages in 
> future?!!

Since there are no userspace transactions, data=journal is only useful
in a very limited set of cases.  The fact that everything is logged
allows me to cheat, and skip some of the steps to keep block allocations
and deallocations safe in the writeback data mode.

intermezzo is the only app that really needs data=journal with the rest
of the FS mounted with some other write mode (for speed).  The patch has
a way for them to enable data logging mode on a single file.

I think I'll forward the patch announcement to the intermezzo list...

-chris



  reply	other threads:[~2002-06-04 13:12 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03  3:51 [PATCH CFT] tons of logging patches Chris Mason
2002-06-03  4:04 ` Chris Mason
2002-06-03  8:46 ` Matthias Andree
2002-06-03 12:26   ` Chris Mason
2002-06-04  0:45 ` Manuel Krause
2002-06-04  1:49 ` Manuel Krause
2002-06-04  2:20   ` Chris Mason
2002-06-04  3:28     ` Manuel Krause
2002-06-04 13:12       ` Chris Mason [this message]
2002-06-05 21:13         ` Manuel Krause
2002-06-05 21:27           ` Manuel Krause
2002-06-05 21:32             ` Chris Mason
2002-06-06  0:09             ` Chris Mason
2002-06-06  4:59               ` Manuel Krause
2002-06-12 22:32               ` Manuel Krause
2002-06-17  0:47                 ` Chris Mason
2002-06-17  0:31                   ` Manuel Krause
2002-06-17 19:04                     ` Chris Mason
2002-06-21  0:25                       ` Chris Mason
2002-06-25  0:55                         ` Manuel Krause
2002-06-28 13:51                       ` Chris Mason
2002-07-02 18:16                         ` Chris Mason
2002-07-03 20:56                           ` Chris Mason
2002-07-04  0:28                             ` Manuel Krause
2002-07-08 13:51                               ` Chris Mason
2002-07-09  0:22                                 ` [PATCH CFT] tons of logging patches + addon Manuel Krause
2002-06-04  2:57   ` [PATCH CFT] tons of logging patches Chris Mason
2002-06-04  4:16     ` Manuel Krause
2002-06-04 13:34       ` Chris Mason
2002-06-04 21:20         ` Hans Reiser
2002-06-05  0:16           ` Robert Brockway
2002-06-05  8:43           ` Oleg Drokin
  -- strict thread matches above, loose matches on Subject: below --
2002-06-04 15:48 berthiaume_wayne
2002-06-04 16:55 ` Chris Mason
2002-06-22 20:02 Dieter Nützel
2002-06-24 19:05 ` Chris Mason
2002-07-09 13:52   ` Dieter Nützel
2002-07-09 14:00     ` Chris Mason
2002-07-14  0:52 Manuel Krause
2002-08-02 12:28 ` Chris Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1023196345.31682.81.camel@tiny \
    --to=mason@suse.com \
    --cc=manuel.krause@mb.tu-ilmenau.de \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.