🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Martin Burmester Fri, 10 Sep 2021 22:09
inn: unbuffered log
#88778
Author: Martin Burmester
Date: Fri, 10 Sep 2021 22:09
8 lines
1140 bytes
Hi,

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?

Cheers
Martin
Re: inn: unbuffered log
#88772
Author: Russ Allbery
Date: Fri, 10 Sep 2021 23:58
24 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads