1. 04 Oct, 2010 11 commits
    • Vladislav Vaintroub's avatar
      merge · 36d92a93
      Vladislav Vaintroub authored
      36d92a93
    • Vladislav Vaintroub's avatar
      merge2 · 07617b2e
      Vladislav Vaintroub authored
      07617b2e
    • Vasil Dimov's avatar
      Merge mysql-5.1-bugteam -> mysql-5.5-bugteam · 876c4713
      Vasil Dimov authored
      (null merge of innodb-only changes)
      876c4713
    • Vasil Dimov's avatar
      Merge mysql-5.1-innodb -> mysql-5.1-bugteam · babfc48c
      Vasil Dimov authored
      babfc48c
    • Vladislav Vaintroub's avatar
      A follow-up to the patch for bug #56405 "Deadlock in the MDL deadlock · 4aea170b
      Vladislav Vaintroub authored
      detector". This patch addresses performance regression in OLTP_RO/MyISAM
      test on Windows introduced by the fix for bug #56405. Thus it makes
      original patch acceptable as a solution for bug #56585 "Slowdown of
      readonly sysbench benchmarks (e.g point_select) on Windows 5.5".
      
      With this patch, MySQL will use native Windows condition variables and 
      reader-writer locks  if  they are supported by the OS.
      
      This speeds up MyISAM and the effect comes mostly from using native
      rwlocks. Native conditions improve scalability with higher number of 
      concurrent users in other situations, e.g for prlocks.
      
      Benchmark numbers for this patch as measured on Win2008R2 quad
      core machine are attached to the bug report.
      ( direct link http://bugs.mysql.com/file.php?id=15883 )
      
      Note that currently we require at least Windows7/WS2008R2 for 
      reader-writer locks, even though native rwlock is available also on Vista.
      Reason is that "trylock" APIs are missing on Vista, and trylock is used in
      the server (in a single place in query cache).
      
      While this patch could have been written differently, to enable the native
      rwlock optimization also on Vista/WS2008 (e.g using native locks everywhere
      but portable implementation in query cache), this would come at the 
      expense of the code clarity, as it would introduce a new  "try-able" rwlock
      type, to handle Vista case.
      
      Another way to improve performance for the special case 
      (OLTP_RO/MYISAM/Vista) would be to eliminate "trylock" usage from server,
       but this is outside of the scope here.
      
      
      Native conditions variables are used beginning with Vista though the effect
      of using condition variables alone is not measurable in this benchmark.
      But when used together with native rwlocks on Win7, native conditions improve 
      performance in high-concurrency OLTP_RO/MyISAM (128 and more sysbench 
      users).
      4aea170b
    • Bjorn Munch's avatar
      null upmerge · 0110ae7f
      Bjorn Munch authored
      0110ae7f
    • Marko Mäkelä's avatar
      Bug#56716 InnoDB locks a record gap without locking the table · fe0b6694
      Marko Mäkelä authored
      row_search_for_mysql(): Acquire an intention lock on the table
      before locking the first record gap.
      fe0b6694
    • Marko Mäkelä's avatar
      Bug#56716 InnoDB locks a record gap without locking the table · 484e61a7
      Marko Mäkelä authored
      row_search_for_mysql(): Acquire an intention lock on the table
      before locking the first record gap.
      484e61a7
    • Bjorn Munch's avatar
    • Vasil Dimov's avatar
      Merge mysql-5.1-bugteam -> mysql-5.1-innodb · 6d46ba95
      Vasil Dimov authored
      6d46ba95
    • Bjorn Munch's avatar
      merge from 5.5-mtr · e688b6c2
      Bjorn Munch authored
      e688b6c2
  2. 03 Oct, 2010 2 commits
  3. 02 Oct, 2010 2 commits
  4. 01 Oct, 2010 25 commits