Tune FreeBSD with few common configurations.
Must be one of:
man 4 cc_chd
man 4 cc_cubic
man 4 cc_hd
man 4 cc_newreno
man 4 cc_vegas
man 4 cc_htcp
When set to
htcp, adaptive backoff and RTT scaling will be turned on by default.
Disable TSC calibration; this may be needed in some cloud services when clock become out of sync.
Enable user to run
mount (e.g. in case of FUSE or CDROM)
Adjust the size of the listen queue for accepting new TCP connections. To adjust this variable, run
netstat -Lan and take notice of
qlen is higher than
maxqlen then consider raising
tuning_soacceptqueue. Note that at certain point (e.g.
> 4096) it might make more sense to solve throughput on the application side instead of keep raising this value.