Skip to content
Snippets Groups Projects
  1. May 02, 2013
  2. May 01, 2013
  3. Apr 30, 2013
  4. Apr 29, 2013
  5. Apr 27, 2013
  6. Apr 26, 2013
  7. Apr 25, 2013
    • Marek Vavrusa's avatar
      Coverity fixes. · f37df93b
      Marek Vavrusa authored
      Change-Id: Ieb580a23436b227fb889197cb3f4857f03ccf7ae
      f37df93b
    • 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
    • Marek Vavrusa's avatar
      Imported semi-lockless circular queue. · bbef208f
      Marek Vavrusa authored
      Author: Rusty Russel <rusty@rustcorp.com.au>
      Licensed under MIT-BSD.
      
      Extended with consumer sleep/wakeup for our use,
      where we want the consumers to sleep instead of
      racing for new packets.
      
      Change-Id: I37b57befcd98e1da6a485aaf48433dc06c68fa5e
      bbef208f
    • Jan Včelák's avatar
      README: update dependencies and instructions for Fedora · 131df773
      Jan Včelák authored
      Change-Id: Ib080da4896ab797a6d950545cc6d426fd54fde51
      131df773
    • Jan Včelák's avatar
      doc: update Fedora installation instructions · 545bd314
      Jan Včelák authored
      Change-Id: Iceb9613b3bbd4e56e66a52ba8b712f572eb3d81f
      545bd314
  8. Apr 24, 2013