News for hackers. Stuff that matters.
Re:ZFS on Linux still has annoying issues with ARC size by m11r on Saturday July 20, 2019 @06:44PM (#20488798)
That’s a good point; I never looked at what the perf impact of disabling sendfile would be on even a moderately-loaded webserver.

It’d be really nice to see that fixed like the recent DIRECT_IO additions.

Re:ZFS on Linux still has annoying issues with ARC size by Quekid5 on Saturday July 20, 2019 @07:58PM (#20489062)
Of course the people around these parts tend to have very particular needs and use cases, but for anything resembling the "common case" the performance impact of not using sendfile should be negligible.

(I'll just point of that using sendfile means that traffic is unencrypted... which is probably fine on an internal network, but I've started adopting the stance that even internal network traffic should be encrypted unless there's a very good reason not to do that. An absolute requirement for performance might be a good reason.)

Re:ZFS on Linux still has annoying issues with ARC size by atomt on Saturday July 20, 2019 @08:46PM (#20489252)
If nginx decided to support ktls they could use sendfile for encrypted traffic as well. Unsure if it is worth it just to make sendfile work however.
Re:ZFS on Linux still has annoying issues with ARC size by m11r on Saturday July 20, 2019 @09:20PM (#20489363)
I was going to mention kernel TLS hopefully enabling sendfile for mostly-HTTPS workloads, as that’s the direction everything is heading anyway, and without it we don’t get zero-copy for those connections.

Now I’m more curious about the actual threshold where not having sendfile begins causing noticeable performance problems… at what point before you become Netflix?

Re:ZFS on Linux still has annoying issues with ARC size by namibj on Saturday July 20, 2019 @10:43PM (#20489673)
If your cache can face-tank a HTTP-DDoS, you don't need fragile fingerprinting techniques to distinguish bad from good, thus reducing the user impact (less accidentally-blocked users). The less cost you have for filling that 100 Gbit NIC with your TLS cache traffic, the more boxes you can afford. Internet exchanges are surprisingly cheap to connect to.

Of course sharing resources between a couple services would be good, as NICs and switch ports are sill a way from free.

Re:ZFS on Linux still has annoying issues with ARC size by shanemhansen on Saturday July 20, 2019 @11:34PM (#20489816)
What about http2?