Skip to content
Snippets Groups Projects
  1. Feb 10, 2017
    • Vladimír Čunát's avatar
      lua: stop trying to tweak lua's GC · f0ca89ac
      Vladimír Čunát authored
      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.
      f0ca89ac
    • Ondřej Surý's avatar
      Merge branch 'ta-multiple' into 'master' · e806158a
      Ondřej Surý authored
      trust anchor fixes
      
      Closes #151
      
      See merge request !193
      e806158a
  2. Feb 09, 2017
  3. Feb 08, 2017
  4. Feb 07, 2017
  5. Feb 06, 2017
  6. Feb 03, 2017
  7. Feb 02, 2017
  8. Feb 01, 2017
Loading