* [RFC] Sane defaults for tmgr.atom_max_size
@ 2016-12-24 18:19 Dušan Čolić
2016-12-26 16:21 ` Edward Shishkin
0 siblings, 1 reply; 2+ messages in thread
From: Dušan Čolić @ 2016-12-24 18:19 UTC (permalink / raw)
To: reiserfs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] Sane defaults for tmgr.atom_max_size
2016-12-24 18:19 [RFC] Sane defaults for tmgr.atom_max_size Dušan Čolić
@ 2016-12-26 16:21 ` Edward Shishkin
0 siblings, 0 replies; 2+ messages in thread
From: Edward Shishkin @ 2016-12-26 16:21 UTC (permalink / raw)
To: Dušan Čolić, reiserfs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-26 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-24 18:19 [RFC] Sane defaults for tmgr.atom_max_size Dušan Čolić
2016-12-26 16:21 ` Edward Shishkin
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.