• inn: unbuffered log

    From Martin Burmester@21:1/5 to All on Sat Sep 11 00:09:14 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to Martin Burmester on Fri Sep 10 16:58:52 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)