]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
5 years agosysrepo-lua: benchmarking scripts sysrepo-bench
Vasek Sraier [Mon, 27 Apr 2020 17:00:10 +0000 (19:00 +0200)] 
sysrepo-lua: benchmarking scripts

5 years agosysrepo-lua: benchmark prep code and structural binding support
Vasek Sraier [Sat, 25 Apr 2020 17:32:59 +0000 (19:32 +0200)] 
sysrepo-lua: benchmark prep code and structural binding support

5 years agosysrepo-lua: fixed schema traversal
Vasek Sraier [Fri, 24 Apr 2020 13:26:01 +0000 (15:26 +0200)] 
sysrepo-lua: fixed schema traversal

5 years agosysrepo-lua: dumping schema before module initialization for debugging
Vasek Sraier [Sun, 12 Apr 2020 10:05:48 +0000 (12:05 +0200)] 
sysrepo-lua: dumping schema before module initialization for debugging

5 years agosysrepo-lua: proper generic list support in model
Vasek Sraier [Mon, 6 Apr 2020 13:38:11 +0000 (15:38 +0200)] 
sysrepo-lua: proper generic list support in model

5 years agosysrepo-lua: helpers and TLS binding implementation (not tested)
Vasek Sraier [Sun, 5 Apr 2020 15:05:00 +0000 (17:05 +0200)] 
sysrepo-lua: helpers and TLS binding implementation (not tested)

5 years agosysrepo-lua: added listen interfaces binding
Vasek Sraier [Sat, 4 Apr 2020 09:48:07 +0000 (11:48 +0200)] 
sysrepo-lua: added listen interfaces binding

5 years agosysrepo-lua: fixed a bug so that our model does not have to mirror the real model...
Vasek Sraier [Wed, 25 Mar 2020 13:11:50 +0000 (14:11 +0100)] 
sysrepo-lua: fixed a bug so that our model does not have to mirror the real model as a whole

5 years agosysrepo-lua: model correction
Aleš [Tue, 24 Mar 2020 23:25:08 +0000 (00:25 +0100)] 
sysrepo-lua:  model correction

5 years agomeson.build: required libyang and sysrepo version
Aleš [Mon, 23 Mar 2020 15:24:51 +0000 (16:24 +0100)] 
meson.build: required libyang and sysrepo version

5 years agosysrepo-lua: improved code documentation, added few more bindings
Vasek Sraier [Thu, 12 Mar 2020 10:27:49 +0000 (11:27 +0100)] 
sysrepo-lua: improved code documentation, added few more bindings

5 years agosysrepo-lua: bind node simplification
Vasek Sraier [Wed, 11 Mar 2020 17:08:05 +0000 (18:08 +0100)] 
sysrepo-lua: bind node simplification

5 years agosysrepo-lua: implemented bidirectional binding
Vasek Sraier [Wed, 11 Mar 2020 15:08:46 +0000 (16:08 +0100)] 
sysrepo-lua: implemented bidirectional binding

5 years agosysrepo-lua: fixed validation
Vasek Sraier [Wed, 11 Mar 2020 14:15:11 +0000 (15:15 +0100)] 
sysrepo-lua: fixed validation

5 years agokres_cache_gc: upgrade to sysrepo 1.4
Vasek Sraier [Wed, 11 Mar 2020 14:10:56 +0000 (15:10 +0100)] 
kres_cache_gc: upgrade to sysrepo 1.4

5 years agosysrepo: update of libsysrepo dependency to 1.4
Vasek Sraier [Wed, 11 Mar 2020 14:00:59 +0000 (15:00 +0100)] 
sysrepo: update of libsysrepo dependency to 1.4

5 years agosysrepo-lua: validating results of operational data serialization
Vasek Sraier [Wed, 11 Mar 2020 12:38:23 +0000 (13:38 +0100)] 
sysrepo-lua: validating results of operational data serialization

5 years agosysrepo-lua: initial work on reporting to operational datastore
Vasek Sraier [Thu, 5 Mar 2020 15:04:36 +0000 (16:04 +0100)] 
sysrepo-lua: initial work on reporting to operational datastore

5 years agosysrepo-lua: created abstraction for reading and writing configuration to sysrepo
Vasek Sraier [Sat, 1 Feb 2020 13:45:24 +0000 (14:45 +0100)] 
sysrepo-lua: created abstraction for reading and writing configuration to sysrepo

5 years agosysrepo-lua: fixed absolute path shared object loading from within Lua
Vasek Sraier [Mon, 27 Jan 2020 13:42:15 +0000 (14:42 +0100)] 
sysrepo-lua: fixed absolute path shared object loading from within Lua

5 years agosysrepo-lua: migrated module code from sysrepo-module-lua branch
Vasek Sraier [Sun, 26 Jan 2020 14:48:08 +0000 (15:48 +0100)] 
sysrepo-lua: migrated module code from sysrepo-module-lua branch

Because this is not a merge commit, line history was lost. But
it does not matter that much, because pretty much all the commited
code was written by me and it's mainly a proof of concept. Nothing
important should have been lost.

5 years agosysrepo: C module integration to just print xpath of changed nodes
Aleš [Thu, 23 Jan 2020 13:07:25 +0000 (14:07 +0100)] 
sysrepo: C module integration to just print xpath of changed nodes

5 years agoMerge branch 'sysrepo-cache-gc' into 'sysrepo'
Aleš Mrázek [Fri, 17 Jan 2020 12:33:20 +0000 (13:33 +0100)] 
Merge branch 'sysrepo-cache-gc' into 'sysrepo'

sysrepo: integration to cache-gc

See merge request knot/knot-resolver!924

5 years agosysrepo: integration to cache-gc
Aleš Mrázek [Fri, 17 Jan 2020 12:33:20 +0000 (13:33 +0100)] 
sysrepo: integration to cache-gc

5 years agosysrepo: meson corrections
Aleš [Wed, 15 Jan 2020 15:42:48 +0000 (16:42 +0100)] 
sysrepo: meson corrections

5 years agosysrepo: meson build for each part
Aleš [Wed, 15 Jan 2020 14:23:00 +0000 (15:23 +0100)] 
sysrepo: meson build for each part

5 years agosysrepo: module: added common files directory
Aleš [Wed, 15 Jan 2020 14:15:09 +0000 (15:15 +0100)] 
sysrepo: module: added  common files directory

5 years agosysrepo: update meson.build
Ales Mrazek [Wed, 15 Jan 2020 12:00:59 +0000 (13:00 +0100)] 
sysrepo: update meson.build

5 years agosysrepo: meson configuration
Ales Mrazek [Wed, 8 Jan 2020 11:43:47 +0000 (12:43 +0100)] 
sysrepo: meson configuration

5 years agoMerge !911: daemon/main: decrease suggested nofile hard limit to 512k obs-knot-dns-deve-jq0xxt/deployments/503 obs-knot-resolver-es11k1/deployments/504
Vladimír Čunát [Tue, 7 Jan 2020 13:45:09 +0000 (14:45 +0100)] 
Merge !911: daemon/main: decrease suggested nofile hard limit to 512k

Closes #476

5 years agodaemon/main: decrease suggested nofile hard limit to 512k
Tomas Krizek [Mon, 16 Dec 2019 13:15:09 +0000 (14:15 +0100)] 
daemon/main: decrease suggested nofile hard limit to 512k

512k (or more) seems to be hard limit valued used by multiple distros
(fedora, arch, ubuntu, debian).

Closes #476

5 years agoMerge branch 'https_client_improvemens' into 'master'
Lukas Jezek [Tue, 7 Jan 2020 12:53:42 +0000 (13:53 +0100)] 
Merge branch 'https_client_improvemens' into 'master'

HTTPS client improvemens

See merge request knot/knot-resolver!913

5 years agoutils: add human-readable text to HTTP client library errors
Petr Špaček [Mon, 30 Dec 2019 15:56:11 +0000 (16:56 +0100)] 
utils: add human-readable text to HTTP client library errors

5 years agoprefill: retry download immendiatelly if cached data cannot be imported
Petr Špaček [Mon, 30 Dec 2019 13:31:00 +0000 (14:31 +0100)] 
prefill: retry download immendiatelly if cached data cannot be imported

Retry will typically happen if data on disk are corrupted, and in that
case it does not make sense to wait full retry interval.

5 years agoprefill: remove zone file from disk on failure
Petr Špaček [Mon, 30 Dec 2019 13:06:37 +0000 (14:06 +0100)] 
prefill: remove zone file from disk on failure

Empty zone file was causing errors after restart and user had to wait to
retry interval before re-download. Let's not polute filesystem with
incomplete files.

5 years agoprefill: allow to use system-wide CA store
Petr Špaček [Mon, 30 Dec 2019 11:16:52 +0000 (12:16 +0100)] 
prefill: allow to use system-wide CA store

It also improves error reporting from store:add() call.
Sometimes the error message from lua-ossl is incomplete. This is fixed
by https://github.com/wahern/luaossl/pull/176.

5 years agoutils: log errors from HTTPS client library
Petr Špaček [Mon, 30 Dec 2019 10:43:03 +0000 (11:43 +0100)] 
utils: log errors from HTTPS client library

Previous code inconsistently thrown some errors and returned as string
other ones, so we now return all errors as strings in classic Lua-style.

5 years agoMerge branch 'ta-test-update-cert' into 'master'
Petr Špaček [Tue, 7 Jan 2020 10:00:28 +0000 (11:00 +0100)] 
Merge branch 'ta-test-update-cert' into 'master'

daemon/trust_anchors.test: Turn off expiration date in certificates

See merge request knot/knot-resolver!916

5 years agodaemon/trust_anchors.test: Turn off expiration date in certificates
Lukáš Ježek [Tue, 7 Jan 2020 09:47:24 +0000 (10:47 +0100)] 
daemon/trust_anchors.test: Turn off expiration date in certificates

5 years agoMerge branch 'doc-quickstart' into 'master' obs-knot-dns-deve-jq0xxt/deployments/473 obs-knot-dns-deve-jq0xxt/deployments/475 obs-knot-dns-deve-jq0xxt/deployments/477 obs-knot-dns-deve-jq0xxt/deployments/479 obs-knot-dns-deve-jq0xxt/deployments/481 obs-knot-dns-deve-jq0xxt/deployments/483 obs-knot-dns-deve-jq0xxt/deployments/485 obs-knot-dns-deve-jq0xxt/deployments/487 obs-knot-dns-deve-jq0xxt/deployments/489 obs-knot-dns-deve-jq0xxt/deployments/491 obs-knot-dns-deve-jq0xxt/deployments/493 obs-knot-dns-deve-jq0xxt/deployments/495 obs-knot-dns-deve-jq0xxt/deployments/497 obs-knot-dns-deve-jq0xxt/deployments/499 obs-knot-dns-deve-jq0xxt/deployments/501 obs-knot-resolver-es11k1/deployments/474 obs-knot-resolver-es11k1/deployments/476 obs-knot-resolver-es11k1/deployments/478 obs-knot-resolver-es11k1/deployments/480 obs-knot-resolver-es11k1/deployments/482 obs-knot-resolver-es11k1/deployments/484 obs-knot-resolver-es11k1/deployments/486 obs-knot-resolver-es11k1/deployments/488 obs-knot-resolver-es11k1/deployments/490 obs-knot-resolver-es11k1/deployments/492 obs-knot-resolver-es11k1/deployments/494 obs-knot-resolver-es11k1/deployments/496 obs-knot-resolver-es11k1/deployments/498 obs-knot-resolver-es11k1/deployments/500 obs-knot-resolver-es11k1/deployments/502
Petr Špaček [Mon, 23 Dec 2019 19:08:34 +0000 (20:08 +0100)] 
Merge branch 'doc-quickstart' into 'master'

Quick start documentation

Closes #500, #499, and #498

See merge request knot/knot-resolver!867

5 years agodocs: quick start guide: final polish
Petr Špaček [Mon, 23 Dec 2019 17:30:51 +0000 (18:30 +0100)] 
docs: quick start guide: final polish

5 years agodocs: quick start documentation third draft corrections
Ales Mrazek [Thu, 17 Oct 2019 11:52:17 +0000 (13:52 +0200)] 
docs: quick start documentation third draft corrections

5 years agodocs: quick start documentation third draft
Ales Mrazek [Mon, 7 Oct 2019 11:37:30 +0000 (13:37 +0200)] 
docs: quick start documentation third draft

5 years agodocs: apply suggestion to doc/startguide.rst
Ales Mrazek [Thu, 3 Oct 2019 08:02:52 +0000 (08:02 +0000)] 
docs: apply suggestion to doc/startguide.rst

5 years agodocs: quick start documentation second draft
Ales Mrazek [Mon, 30 Sep 2019 12:11:35 +0000 (14:11 +0200)] 
docs: quick start documentation second draft

5 years agodocs: quick start documentation first draft
Ales Mrazek [Wed, 11 Sep 2019 12:34:25 +0000 (14:34 +0200)] 
docs: quick start documentation first draft

5 years agoMerge branch 'freebind' into 'master' obs-knot-dns-deve-jq0xxt/deployments/467 obs-knot-dns-deve-jq0xxt/deployments/469 obs-knot-dns-deve-jq0xxt/deployments/471 obs-knot-resolver-es11k1/deployments/468 obs-knot-resolver-es11k1/deployments/470 obs-knot-resolver-es11k1/deployments/472
Petr Špaček [Fri, 20 Dec 2019 15:11:26 +0000 (16:11 +0100)] 
Merge branch 'freebind' into 'master'

daemon/network: add freebind support

See merge request knot/knot-resolver!898

5 years agotests: sanity check for net.listen() and net.list()
Petr Špaček [Fri, 20 Dec 2019 14:18:00 +0000 (15:18 +0100)] 
tests: sanity check for net.listen() and net.list()

5 years agomodules/http: fix net.listen in config tests
Tomas Krizek [Fri, 13 Dec 2019 14:32:29 +0000 (15:32 +0100)] 
modules/http: fix net.listen in config tests

5 years agotests/config: add freebind test
Tomas Krizek [Wed, 11 Dec 2019 17:09:46 +0000 (18:09 +0100)] 
tests/config: add freebind test

5 years agobindings/net: throw lua error ofr net.listen() failures
Tomas Krizek [Wed, 11 Dec 2019 17:07:01 +0000 (18:07 +0100)] 
bindings/net: throw lua error ofr net.listen() failures

To avoid configuration errors, throw a lua error and crash
if it's not possible to bind as specified in net.listen().

For special use-cases, freebind=true should be used instead.

5 years agodaemon/io: rename to family_to_freebind_option()
Tomas Krizek [Wed, 11 Dec 2019 15:30:06 +0000 (16:30 +0100)] 
daemon/io: rename to family_to_freebind_option()

5 years agodoc: document freebind option for net.listen()
Tomas Krizek [Fri, 29 Nov 2019 15:19:10 +0000 (16:19 +0100)] 
doc: document freebind option for net.listen()

5 years agodaemon/bindings: add freebind option to net.list()
Tomas Krizek [Fri, 29 Nov 2019 15:04:10 +0000 (16:04 +0100)] 
daemon/bindings: add freebind option to net.list()

5 years agodaemon/network: add freebind support
Tomas Krizek [Fri, 29 Nov 2019 14:24:17 +0000 (15:24 +0100)] 
daemon/network: add freebind support

5 years agoMerge branch '521-replace-lua-socket-depedency-with-lua-http' into 'master'
Petr Špaček [Fri, 20 Dec 2019 13:32:33 +0000 (14:32 +0100)] 
Merge branch '521-replace-lua-socket-depedency-with-lua-http' into 'master'

replace lua-socket depedency with lua-http

Closes #512 and #521

See merge request knot/knot-resolver!894

5 years agoprefill: fix timer restart
Petr Špaček [Thu, 19 Dec 2019 18:10:02 +0000 (19:10 +0100)] 
prefill: fix timer restart

event.reschedule() is not a good idea for long-running downloads and in
general I have a bad feeling that it did not work as intended even for
retries after errors.

5 years agodaemon/lua/kluautil.lua: remove from global namespace
Lukáš Ježek [Thu, 19 Dec 2019 13:15:56 +0000 (14:15 +0100)] 
daemon/lua/kluautil.lua: remove from global namespace

5 years agomodules/prefill and TA: Move https_fetch to daemon/lua/kluautil.lua
Lukáš Ježek [Thu, 19 Dec 2019 10:28:02 +0000 (11:28 +0100)] 
modules/prefill and TA: Move https_fetch to daemon/lua/kluautil.lua

5 years agopackages: fix dependencies
Lukáš Ježek [Tue, 17 Dec 2019 07:59:06 +0000 (08:59 +0100)] 
packages: fix dependencies

5 years agoCI ASAN: switch from gcc to clang
Vladimír Čunát [Mon, 16 Dec 2019 09:43:12 +0000 (10:43 +0100)] 
CI ASAN: switch from gcc to clang

Trying to avoid https://github.com/google/sanitizers/issues/1010

5 years agoUpdate NEWS and doc
Lukáš Ježek [Fri, 13 Dec 2019 12:06:57 +0000 (13:06 +0100)] 
Update NEWS and doc

5 years agopackages: remove lua-socket
Lukáš Ježek [Fri, 13 Dec 2019 12:00:37 +0000 (13:00 +0100)] 
packages: remove lua-socket

5 years agomodules/graphite: Use module 'cqueues.socket' instead 'socket'
Lukáš Ježek [Fri, 13 Dec 2019 11:24:36 +0000 (12:24 +0100)] 
modules/graphite: Use module 'cqueues.socket' instead 'socket'

5 years agomodules/policy: Use module 'cqueues.socket' instead 'socket'
Lukáš Ježek [Fri, 13 Dec 2019 11:07:15 +0000 (12:07 +0100)] 
modules/policy: Use module 'cqueues.socket' instead 'socket'

5 years agodaemon/lua: add kluautil.lua file for helpers functions
Lukáš Ježek [Fri, 13 Dec 2019 10:21:11 +0000 (11:21 +0100)] 
daemon/lua: add kluautil.lua file for helpers functions

5 years agopackages: remove lua-sec and add lua-http
Lukáš Ježek [Fri, 6 Dec 2019 13:19:44 +0000 (14:19 +0100)] 
packages: remove lua-sec and add lua-http

5 years agodaemon/lua/trust_anchors: Use module 'http.request' instead 'ssl.https'
Lukáš Ježek [Thu, 5 Dec 2019 14:42:34 +0000 (15:42 +0100)] 
daemon/lua/trust_anchors: Use module 'http.request' instead 'ssl.https'

5 years agomodules/prefill: support large zone file
Lukáš Ježek [Thu, 5 Dec 2019 09:35:16 +0000 (10:35 +0100)] 
modules/prefill: support large zone file

5 years agomodules/prefill: Add the functionality to specify a custom CA file
Lukáš Ježek [Tue, 3 Dec 2019 13:34:00 +0000 (14:34 +0100)] 
modules/prefill: Add the functionality to specify a custom CA file

5 years agomodules/prefill: Remove unused ltn12
Lukáš Ježek [Fri, 22 Nov 2019 15:18:51 +0000 (16:18 +0100)] 
modules/prefill: Remove unused ltn12

5 years agomodules/prefill: Fetch root zone file asynchronously
Lukáš Ježek [Fri, 22 Nov 2019 14:33:04 +0000 (15:33 +0100)] 
modules/prefill: Fetch root zone file asynchronously

5 years agomodules/prefill: Use module 'http.request' instead 'ssl.https'
Lukáš Ježek [Fri, 22 Nov 2019 14:27:04 +0000 (15:27 +0100)] 
modules/prefill: Use module 'http.request' instead 'ssl.https'

5 years agoMerge branch 'multiple-config-files' into 'master' obs-knot-dns-deve-jq0xxt/deployments/465 obs-knot-resolver-es11k1/deployments/466
Petr Špaček [Thu, 19 Dec 2019 09:06:29 +0000 (10:06 +0100)] 
Merge branch 'multiple-config-files' into 'master'

daemon/main: support multiple config files

See merge request knot/knot-resolver!909

5 years agoclarify errors from luaL_dofile while loading configs
Petr Špaček [Thu, 19 Dec 2019 08:51:44 +0000 (09:51 +0100)] 
clarify errors from luaL_dofile while loading configs

5 years agodaemon/main: remove "-" from config array
Tomas Krizek [Fri, 13 Dec 2019 15:40:35 +0000 (16:40 +0100)] 
daemon/main: remove "-" from config array

5 years agodaemon/main: log config path and workdir
Tomas Krizek [Wed, 11 Dec 2019 15:05:12 +0000 (16:05 +0100)] 
daemon/main: log config path and workdir

5 years agolib/utils: create get_workdir() utility function
Tomas Krizek [Wed, 11 Dec 2019 14:24:31 +0000 (15:24 +0100)] 
lib/utils: create get_workdir() utility function

5 years agodaemon/main: use engine_loadconf() for default config
Tomas Krizek [Wed, 11 Dec 2019 12:09:35 +0000 (13:09 +0100)] 
daemon/main: use engine_loadconf() for default config

5 years agodaemon/main: remove useless l_dosandboxfile macro
Tomas Krizek [Tue, 10 Dec 2019 18:22:16 +0000 (19:22 +0100)] 
daemon/main: remove useless l_dosandboxfile macro

The exact same function is implemented as luaL_dofile() in Lua 5.1,
there seems to be no reason to use our project-specific macro for it.

https://www.lua.org/manual/5.1/manual.html#luaL_dofile

5 years agodaemon/main: support multiple config files
Tomas Krizek [Tue, 10 Dec 2019 17:58:56 +0000 (18:58 +0100)] 
daemon/main: support multiple config files

5 years agoMerge branch '520-prefill-remove-depedency-on-lua-filesystem-lfs' into 'master' obs-knot-dns-deve-jq0xxt/deployments/463 obs-knot-resolver-es11k1/deployments/464
Petr Špaček [Wed, 18 Dec 2019 15:20:42 +0000 (16:20 +0100)] 
Merge branch '520-prefill-remove-depedency-on-lua-filesystem-lfs' into 'master'

prefill: remove depedency on lua-filesystem (lfs)

Closes #520

See merge request knot/knot-resolver!912

5 years agoprefill: remove depedency on lua-filesystem (lfs)
Lukáš Ježek [Wed, 18 Dec 2019 14:13:56 +0000 (15:13 +0100)] 
prefill: remove depedency on lua-filesystem (lfs)

5 years agoMerge branch 'ci-obs-buildall' into 'master' obs-knot-dns-deve-jq0xxt/deployments/448 obs-knot-dns-deve-jq0xxt/deployments/450 obs-knot-dns-deve-jq0xxt/deployments/452 obs-knot-dns-deve-jq0xxt/deployments/454 obs-knot-dns-deve-jq0xxt/deployments/457 obs-knot-dns-deve-jq0xxt/deployments/461 obs-knot-resolver-es11k1/deployments/449 obs-knot-resolver-es11k1/deployments/451 obs-knot-resolver-es11k1/deployments/453 obs-knot-resolver-es11k1/deployments/455 obs-knot-resolver-es11k1/deployments/458 obs-knot-resolver-es11k1/deployments/462
Tomas Krizek [Thu, 12 Dec 2019 16:27:46 +0000 (17:27 +0100)] 
Merge branch 'ci-obs-buildall' into 'master'

ci: allow failure of obs:build:all

See merge request knot/knot-resolver!910

5 years agoci: allow failure of obs:build:all
Tomas Krizek [Thu, 12 Dec 2019 16:20:40 +0000 (17:20 +0100)] 
ci: allow failure of obs:build:all

This job tends to fail very often, but very frequently due to issues
with OBS itself - outside of our control. The output of the job can
still be useful to check manually, e.g. before releases.

5 years agoci: document confusing allow_failure: false
Tomas Krizek [Thu, 12 Dec 2019 16:19:29 +0000 (17:19 +0100)] 
ci: document confusing allow_failure: false

This value seems to be the default, but it is important to have
it set explicitly, otherwise when: manual actions could be skipped

https://docs.gitlab.com/ee/ci/yaml/#whenmanual

5 years agoMerge branch 'lua_gc' into 'master'
Petr Špaček [Thu, 12 Dec 2019 14:27:37 +0000 (15:27 +0100)] 
Merge branch 'lua_gc' into 'master'

lua: stop trying to tweak lua's GC

See merge request knot/knot-resolver!201

5 years agolua: stop trying to tweak lua's GC
Tomas Krizek [Wed, 9 Oct 2019 12:29:28 +0000 (14:29 +0200)] 
lua: stop trying to tweak lua's GC

cherry-picked from f0ca89ac, original author Vlada Cunat

TL;DR: I believe all lua_gc() calls stemmed from misunderstanding lua
documentation, and the current settings seem potentially dangerous.

First, let me rely on lua 5.1 docs, as luajit 2 is documented to have
done only minor changes in the GC.
http://www.lua.org/manual/5.1/manual.html#lua_gc
http://wiki.luajit.org/New-Garbage-Collector#rationale

Commit 5a709411 claims to have increased the speed of GC to 400 % of
speed of allocation, but LUA_GCSETSTEPMUL is the parameter that
controls that, and that one was lowered to 99 % and later in
0ee2d1d7 even to 50 %.  Documentation explicitly says that setting
the value under 100 % may cause problems.

The default values seem perfectly sane to me and currently I can't see
any particular reason to change them.  It's 200 % relative GC speed,
and waiting for allocated size to double before starting another cycle.

I assume the resulting possibility of GC being too slow caused the need
to explicitly force a non-incremental GC cycle once in a while, but
that seems not useful anymore and not good for latency.

5 years agoMerge branch 'reuseport-freebsd' into 'master' obs-knot-dns-deve-jq0xxt/deployments/445 obs-knot-resolver-8xyvhu/deployments/447 obs-knot-resolver-es11k1/deployments/446
Petr Špaček [Wed, 11 Dec 2019 10:02:59 +0000 (11:02 +0100)] 
Merge branch 'reuseport-freebsd' into 'master'

daemon/io: use SO_REUSEPORT_LB if available (FreeBSD 12.0+)

See merge request knot/knot-resolver!907

5 years agodaemon/io: use SO_REUSEPORT_LB if available (FreeBSD 12.0+)
Vladimír Čunát [Tue, 10 Dec 2019 16:08:30 +0000 (17:08 +0100)] 
daemon/io: use SO_REUSEPORT_LB if available (FreeBSD 12.0+)

and don't use SO_REUSEPORT on non-Linux.  (Free)BSD has a different
meaning for it, which only brings confusion - only the last instance
would be getting packets.

5 years agoMerge branch 'tty-logging' into 'master'
Petr Špaček [Wed, 11 Dec 2019 09:48:22 +0000 (10:48 +0100)] 
Merge branch 'tty-logging' into 'master'

daemon/ tty commands: don't log unless --verbose

Closes #528

See merge request knot/knot-resolver!908

5 years agodaemon/ tty commands: don't log unless --verbose
Vladimír Čunát [Tue, 10 Dec 2019 17:04:15 +0000 (18:04 +0100)] 
daemon/ tty commands: don't log unless --verbose

It's minimalistic: no change if in interactive or --verbose mode.

5 years agoMerge branch 'systemd-instance' into 'master' obs-knot-dns-deve-jq0xxt/deployments/440 obs-knot-dns-deve-jq0xxt/deployments/442 obs-knot-resolver-es11k1/deployments/441 obs-knot-resolver-es11k1/deployments/443
Petr Špaček [Mon, 9 Dec 2019 15:44:02 +0000 (16:44 +0100)] 
Merge branch 'systemd-instance' into 'master'

systemd: add env variable SYSTEMD_INSTANCE

See merge request knot/knot-resolver!906

5 years agosystemd: add env variable SYSTEMD_INSTANCE
Tomas Krizek [Fri, 6 Dec 2019 15:20:12 +0000 (16:20 +0100)] 
systemd: add env variable SYSTEMD_INSTANCE

5 years agoMerge branch 'ci-update' into 'master' obs-knot-dns-deve-jq0xxt/deployments/433 obs-knot-dns-deve-jq0xxt/deployments/435 obs-knot-dns-deve-jq0xxt/deployments/437 obs-knot-resolver-es11k1/deployments/434 obs-knot-resolver-es11k1/deployments/436 obs-knot-resolver-es11k1/deployments/438
Tomas Krizek [Fri, 6 Dec 2019 15:00:50 +0000 (16:00 +0100)] 
Merge branch 'ci-update' into 'master'

ci: updates

See merge request knot/knot-resolver!905

5 years agoci: update respdiff jobs
Tomas Krizek [Fri, 6 Dec 2019 12:34:39 +0000 (13:34 +0100)] 
ci: update respdiff jobs

5 years agoci: allow odvr release in tag pipelines
Tomas Krizek [Fri, 6 Dec 2019 11:48:55 +0000 (12:48 +0100)] 
ci: allow odvr release in tag pipelines

5 years agoMerge branch 'release-4-3-0' into 'master' obs-knot-dns-deve-jq0xxt/deployments/428 obs-knot-dns-deve-jq0xxt/deployments/430 obs-knot-resolver-8xyvhu/deployments/427 obs-knot-resolver-es11k1/deployments/429 obs-knot-resolver-es11k1/deployments/431 obs-knot-resolver-kv62s6/deployments/426 v4.3.0
Tomas Krizek [Wed, 4 Dec 2019 14:28:25 +0000 (15:28 +0100)] 
Merge branch 'release-4-3-0' into 'master'

update NEWS, bump to 4.3.0

See merge request knot/knot-resolver!904

5 years agoupdate NEWS, bump to 4.3.0
Tomas Krizek [Wed, 4 Dec 2019 13:19:47 +0000 (14:19 +0100)] 
update NEWS, bump to 4.3.0

5 years agoMerge branch '518-confidential-issue' into 'master'
Tomas Krizek [Wed, 4 Dec 2019 13:59:21 +0000 (14:59 +0100)] 
Merge branch '518-confidential-issue' into 'master'

Resolve "RRset merge operation is too slow for big RRsets"

Closes #518

See merge request knot/knot-resolver!903