• unknown's avatar
    Fixed a bug in the ndbd scheduler with send of packed signals. · 0a507d2c
    unknown authored
    Fixing this bugs improves performance by 40% for very small read
    statements and with 12-13 % for very simple updating transactions
    (flexBench -o 10000) in single threaded application. Removes a fixed
    cost of around 100.000 cycles every time the ndbd process wakes up to
    execute some queries.
    
    
    ndb/src/kernel/vm/FastScheduler.cpp:
      Integrate sendPacked into doJob
      The lack of integration meant that several loops in
      ipControlLoop were executed each time the ndbd process
      woke up, also for reads it meant that response was divided
      in two TCP/IP packets
      Is necessary to integrate this with overload protection
    ndb/src/kernel/vm/ThreadConfig.cpp:
      Integrate sendPacked into doJob
      The lack of integration meant that several loops in
      ipControlLoop were executed each time the ndbd process
      woke up, also for reads it meant that response was divided
      in two TCP/IP packets
      Is necessary to integrate this with overload protection
    0a507d2c
ThreadConfig.cpp 7.46 KB