summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_cc_functions.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-03-21 15:42:41 +0000
committermav <mav@FreeBSD.org>2013-03-21 15:42:41 +0000
commit6f03afeee9811c0cd237e7bd65e8223f72570db7 (patch)
tree08e8ed7e446d46dadfb3956463c3f3ffa76f9f66 /sys/netinet/sctp_cc_functions.c
parent1b6f4e466c45e64ecf16c2a0e2e931f5861b11bd (diff)
downloadFreeBSD-src-6f03afeee9811c0cd237e7bd65e8223f72570db7.zip
FreeBSD-src-6f03afeee9811c0cd237e7bd65e8223f72570db7.tar.gz
Minimal timer period of 100us introduced in r244758 is overkill. While
original 2us are indeed not enough, 3us are working quite well on my tests. To be more safe set minimal period to 5us and to be even more safe replicate here from HPET mechanism of rereading counter after programming comparator. This change allows to handle 30K of short nanosleep() calls per second on Raspberry Pi instead of just 8K before. Discussed with: gonzo
Diffstat (limited to 'sys/netinet/sctp_cc_functions.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud