Article View: news.software.nntp
Article #88772Re: inn: unbuffered log
From: Russ Allbery
Date: Fri, 10 Sep 2021 23:58
Date: Fri, 10 Sep 2021 23:58
24 lines
1793 bytes
1793 bytes
Martin Burmester <martin@burmester.org> writes:
> what is the cost of setting the inn flag -u and having the news log
> unbuffered in this day and age (modern cpu, fast ssd storage, etc.)?
> Does it really make a difference?
It doesn't matter much to CPU; it's all about the relatively high cost of
persisting small amounts of data to storage instead of writing larger
blocks of data at a time.
A fast SSD will mitigate any performance problems but I'm not sure it will
remove them. That said, I haven't tested.
Personally, I would also not want to increase the number of write cycles
to an SSD unless there's some compelling reason, but this may just be
superstition on my part. (As recently as 2019 I was still seeing
excessive write traffic cause server-grade SSDs to fail significantly
before their expected lifetime.)
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<8735qcnfsz.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<shgl2a$t21$1@blackbox.home.burmester.org>Show Full Headers
Complete Article Headers
Message-ID: <8735qcnfsz.fsf@hope.eyrie.org> Subject: Re: inn: unbuffered log Date: Fri, 10 Sep 2021 16:58:52 -0700 From: Russ Allbery <eagle@eyrie.org> References: <shgl2a$t21$1@blackbox.home.burmester.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="24104"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:NXt4xkds0ToKN6+iPUsvvwCM1hI=