Skip to content
Snippets Groups Projects
  1. Jul 11, 2013
  2. Jul 01, 2013
  3. Jun 07, 2013
  4. Jun 01, 2013
  5. May 29, 2013
  6. May 22, 2013
  7. May 09, 2013
  8. Apr 26, 2013
  9. Apr 25, 2013
    • Marek Vavrusa's avatar
      Updated networking code. · 797d931a
      Marek Vavrusa authored
      - Simplified and decoupled I/O from processing code.
      - Single reader with multiple workers.
      - Reader is bound to specific CPU for lowest possible latency.
      - Reverted to select() instead of fdset wrapper as epoll/kqueue could
        be quite slower for a single or handful of sockets.
      - Reader I/O calls are non-blocking.
      
      General idea is:
      - Reader takes free request from a rx_queue
      - Receives data and pushes it to the tx_queue
      - Worker processes the packets, sends answers and returns the request
        to the rx_queue
      
      Semi lock-free queue is used for communication.
      This is measured to be slightly better than singlethreading, as socket
      contention could be better predicted - the reader cannot check sockets
      for new events when tx_queue is full.
      
      Change-Id: Ifc40889b355404a9e78e10d77c26cb3fc4c58386
      797d931a
  10. Apr 09, 2013
  11. Mar 21, 2013
  12. Oct 19, 2012
    • Marek Vavrusa's avatar
      Unified error codes. · 31d46271
      Marek Vavrusa authored
      fixes #1772 @2.5h
      
      Conflicts:
      
      	src/knot/server/tcp-handler.c
      	src/knot/server/xfr-handler.c
      	src/knot/server/zones.c
      	src/libknot/nameserver/name-server.c
      	src/libknot/updates/xfr-in.c
      	src/tests/libknot/libknot/response_tests.c
      31d46271
  13. Sep 12, 2012
  14. Aug 03, 2012
  15. Mar 22, 2012
  16. Mar 05, 2012
  17. Nov 01, 2011
  18. Sep 01, 2011
  19. Aug 29, 2011
  20. Aug 15, 2011
  21. Aug 10, 2011
  22. Aug 04, 2011
  23. Aug 02, 2011
  24. Jun 17, 2011
  25. Apr 19, 2011
  26. Apr 11, 2011
  27. Apr 06, 2011
  28. Mar 30, 2011
  29. Mar 16, 2011
    • Lubos Slovak's avatar
      Source files reorganization. · 5e48ae85
      Lubos Slovak authored
      - Sources separated according to the future compilation modules:
        - src/knot/ contains all sources related to server (compiles into
          knotc and knotd)
        - src/alloc/ contains sources of slab allocator (may be compiled
          into standalone library).
        - src/dnslib/ contains dnslib sources (may be compiled as
          standalone library).
        - src/tests/ contains unittests (compiles into unittests).
        - src/zoneparser/ contains sources of zone compiler (compiles
          into knot-zcompile).
      
      TODO: Need to refactor makefile to separate the compilation of
            these modules. However, unittests still depend on all
            modules.
      
      refs #400
      5e48ae85
  30. Mar 14, 2011
    • Lubos Slovak's avatar
      Pedantic compression. · ac9949fc
      Lubos Slovak authored
      - Chopping labels from domain name instead of using parent
      
      Note: Leads to significant slowdown, so conditional compilation
            utilized.
      
      TODO: try to use this approach only if the parent is unusable, may
            speed it up
      ac9949fc
  31. Mar 09, 2011
  32. Mar 08, 2011
  33. Mar 07, 2011
Loading