Better HN
topnewbestaskshowjobs
Log inSign up

atomt

46 karma · joined Dec 9, 2014 (11y ago) · 18 submissions

Submissions

comment 1y ago · link · parent

I've seen concurrency in excess of 500 from Metas crawlers to a single site. That site had just moved all their images so all the requests hit the "pretty url" rewrite into a slow dynamic request handler. It did not go very well.

comment 3y ago · link · parent

I was hoping they would extend it for a bit longer, not because I want to be running old versions but because 3.0/3.1 have some massive performance regressions that are yet to be fixed.

Have a look at HAProxys latest release announcement for some openssl 3.x commentary.

With some luck they will get a handle on this before 1.1.1 expires.

comment 3y ago · link · parent

Direct hit to the heart *cries in BGP and big enterprise switches*

comment 5y ago · link · parent

Norway. Most of the FTTH plans seems to be symmetrical, anything from 100Mbps to 1Gbps. Some GPON based networks will hold back upstream at 500Mbps max (but they are fairly rare. Most is active ethernet anyway, not GPON)

FTTH is quickly taking over with over 70% coverage in homes passed. Pretty sure I saw less dense areas (rural?) had hit 60% last year according to some goverment report.

DSL is practically dead and "Fiber to the Cabinet" never really happened here. Coax is shrinking. Those still using these technologies are of course getting asymmetrical down/up. Some "Fiber to the Building" exists but mostly with copper ethernet to the housing unit, so its practically full FTTH.

Things that could be better is: - pricing, it's not exactly great most places, although smart HoAs can usually get decent pricing if they actually try. - the networks are very rarely open access, local monopolies are rife.

I've been on 1Gbps/1Gbps open access FTTH since ~2014, coming from 300/20 cable.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

I have no idea about the economics in this area, but it kind of baffles me that they add these propietary, closed source and buggy "accelerators" instead of improving the cores a bit. A bit more L1 cache would go a long way for networking.

Many switched from MIPS to ARM in the past 10? years, but the cores remain mostly just as anaemic as they were.

comment 7y ago · link · parent

The problem I have with THP is that while it initially looks great on our workload (yay! a core saved per server!), it often starts to degrade badly after several days or even many weeks depending on memory fragmentation and pressure.

It keeps getting better, maybe one day..

comment 9y ago · link · parent

It was declared ready for "experimentation" about a year ago or so, so not very mature. If you are on current upstream versions it is not too bad, I'm using it here and there on not very important things.

It is a bit hit and miss with kernel/nftables versions on release distributions. I probably would not use it with any kernels older than 4.10 for example. So any current LTS kernel is out.

comment 9y ago · link · parent

That example is made needlessly complicated to compress down to a one-liner and show off maps.

It does look nicer when properly formatted as part of a rule file, however.

The docs needs some work.

comment 9y ago · link · parent

That is good to know. I just deployed BBR on some pilot virtio backed VMs yesterday and I missed this.

As far as I can tell the Actual Hardware I'm running my other BBR pilots on are doing the right thing.

File under: BBR - still a gotcha or two ;-)

comment 9y ago · link · parent

Just loading the sysctl values will not switch the packet scheduler on already existing network interfaces, but it will start using BBR on new sockets.

Switching the scheduler at runtime using tc qdisc replace is possible, but then you need to take extra care if the device is multi queue or not. Instead of explaining it all here just rebooting is probably simpler.

comment 9y ago · link · parent

To try it out, make sure that your Linux kernel has:

CONFIG_TCP_CONG_BBR

CONFIG_NET_SCH_FQ (not to be confused with FQ_CODEL)

Put these into /etc/sysctl.conf:

net.core.default_qdisc=fq

net.ipv4.tcp_congestion_control=bbr

Reboot.

comment 9y ago · link · parent

A warning if you want to try out BBR yourself:

Due to how BBR relies on pacing in the network stack make sure you do not combine BBR with any other qdisc ("packet scheduler") than FQ. You will get very bad performance, lots of retransmits and in general not very neighbourly behaviour if you use it with any of the other schedulers.

This requirement is going away in Linux 4.13, but until then blindly selecting BBR can be quite damaging.

Easiest way to ensure fq is used: set the net.core.default_qdisc sysctl parameter to "fq" using /etc/sysctl.d/ or /etc/sysctl.conf, then reboot. Check by running "tc qdisc show"

Source: bottom note of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

comment 9y ago · link · parent

Another way to trigger a bounce would be to have the evil domain purposefully having strict SPF and DMARC policy set.

comment 9y ago · link · parent

For Intel processors, on Linux, the "turbostat" utility provides much of the same information using the -d switch.

comment 11y ago · link · parent

And AT&T with their huge 6rd deployment for DSL.

comment 11y ago · link · parent

That is their usual excuse. But its just a bogus answer to shut people up - its not only THEIR customers you want to communicate with.

comment 11y ago · link · parent

At work (a larger enterprise in Europe) we already see quite a bit of pain with IPv4. B2B connections are increasingly not using globally unique addressing anymore, so we often need to use prefix NAT and application level proxies to bridge clashing address space. This in turn is a support nightmare and is hurting reliability.

Our network guys seems to love the extra complexity, though.