From: Edward Shishkin <edward.shishkin@gmail.com>
To: "Dušan Čolić" <dusanc@gmail.com>,
reiserfs-devel <reiserfs-devel@vger.kernel.org>
Subject: Re: [RFC] Sane defaults for tmgr.atom_max_size
Date: Mon, 26 Dec 2016 18:21:24 +0200 [thread overview]
Message-ID: <58614384.8020507@gmail.com> (raw)
In-Reply-To: <CADW=+3=QyRKxCGmDjBnLNKF=NQTTq1XbM2DrNUAd7qYeN5N=Rg@mail.gmail.com>
Hi Dushan,
I think it won't affect the responsiveness.
That mount option is for txnmgrd daemon, which just wakes up
once in (10 minutes?) and checks if transactions are too large or
too old.
Actually, this is the process spawning a transaction (->write(),
->truncate(), etc) who is responsible for active suppression of
that transaction. If someone spawns a 4G transaction, then it is
incorrect, so feel free to make _him_ check the transaction size
in accordance with your thoughts about RAM/disk sizes in modern
machines.
Thanks,
Edward.
On 12/24/2016 08:19 PM, Dušan Čolić wrote:
> Currently tmgr.atom_max_size defaults to 1/4 of RAM.
> Historically RAM size increased faster than disk write speeds so
> machines today usually ship with 4-16GB of RAM that means that we can
> get to situation where we have to flush 1-4GB of data and while doing
> so system would be unresponsive for minutes for apps that wait on
> sync.
>
> If we presume an optimistic scenario of 100MB/s write speed and 10sec
> wait time for 16GB RAM we come to the 1/16 ratio.
>
> Your thoughts?
>
> Dushan
> --
> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2016-12-26 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-24 18:19 [RFC] Sane defaults for tmgr.atom_max_size Dušan Čolić
2016-12-26 16:21 ` Edward Shishkin [this message]
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=58614384.8020507@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=dusanc@gmail.com \
--cc=reiserfs-devel@vger.kernel.org \
/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.