> IIRC mysql does this properly and outperforms postgresql Properly = futexes?
It depends on the MySQL engine. Last time I looked InnoDB did use custom spinlocks too. Some of the other MySQL engines seem to use adaptive pthread mutexes in glibc, but those have their problems too. In general unfortunately MySQL is not a single load, it's more like a wide range of loads depending on the underlying storage engine. PostgreSQL at least is more consistent in its problems. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/