fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

Set default network scheduler to fight bufferbloat. #158

Closed jabl closed 8 years ago

jabl commented 8 years ago

Set the default network scheduler to "fq". On routers (NAT gateways) it's recommended to override this and set network_scheduler="fq_codel".

martbhell commented 8 years ago

Can we use the system-limits instead?

jabl commented 8 years ago

I didn't use system-limits as I thought it would be nicer to have networking sysctl's together with other networking configs.

Also, as you say, system-limits doesn't use the sysctl module.

But I have no particularly huge feelings either way on this.

jabl commented 8 years ago

PING? Is this Ok to pull, or do you want me to do some further work?

(I'd like to have this in before we roll over our kernels, as this setting only takes effect after an interface is brought down + up again, so we'd like to doing it at the same time we're doing a rolling reboot)

martbhell commented 8 years ago

Sorry for the delay. We had some internal discussion.

Linking related issue. https://github.com/CSC-IT-Center-for-Science/fgci-ansible/issues/27