diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-09-26 01:27:34 +0900 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-06-08 21:15:23 -0700 |
commit | bee83f8d7edb48a1d8b8f2333a1b259854c44b95 (patch) | |
tree | 4b32117a26b25295f155ac185b3eca0ec26396c2 /clatd.conf | |
parent | 4f99df509e1e6626967aa8bb394045932e75576b (diff) | |
download | android_external_android-clat-replicant-6.0-0002.tar.gz android_external_android-clat-replicant-6.0-0002.tar.bz2 android_external_android-clat-replicant-6.0-0002.zip |
Process packets in bursts.HEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001stable/cm-13.0-ZNH5Ycm-13.0
Add a "packet_burst" config option that will cause clatd to read
(and write) in bursts of up to that number of packets, instead of
always only reading one packet at a time. This reduces poll
overhead and improves performance.
The variable is initially set to 10.
Bug: 24113287
Change-Id: I7feba4127538c5a89f92e0ebea1fb75971d6b901
Diffstat (limited to 'clatd.conf')
-rw-r--r-- | clatd.conf | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,3 +20,6 @@ plat_from_dns64_hostname ipv4only.arpa # plat subnet to send ipv4 traffic to. This is a /96 subnet. # This setting only makes sense with: plat_from_dns64 no #plat_subnet 2001:db8:1:2:3:4:: + +# how many packets to process at a time. +packet_burst 10 |