Seva's notes

Wisdom, Awareness, Responsibility :)

Archive for the ‘db’ Category

FreeBSD MySQL MyISAM multi-CPU concurrency performance

leave a comment »

Recently we had a performance issue with multiple plain concurrent requests on a MyISAM table – the process list reported that all selects get stuck for very long time while Sending Data. After many tests we discovered that:

  1. The problem only occurs when running on multiple CPUs;
  2. The problem only occurs when running on FreeBSD OS.

After searching over the Internet we found, that this class of problems is being reported since antique versions of FreeBSD and, despite the claims it’s fixed with each version, it persists even in fresh 8.0.

So the decision was to install Linux on all the DB servers.

There is an alternative option though – it’s possible on FreeBSD to install MySQL of any version with WITH_LINUXTHREADS=yes parameter and it will be benefited from the Linux thread model.

Written by Seva

2010-02-02 (February 2) at 06:03:24

Posted in db, FreeBSD, hardware, integration, linux, software

Tagged with