From: Bart Van Assche Date: Sat, 19 Apr 2008 15:20:01 +0000 (+0000) Subject: Added info about slowdown caused by the exp-drd tool. X-Git-Tag: svn/VALGRIND_3_4_0~721 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c73bf1534d32d2ab850f1171eb3a2cae5873229;p=thirdparty%2Fvalgrind.git Added info about slowdown caused by the exp-drd tool. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7893 --- diff --git a/exp-drd/docs/README.txt b/exp-drd/docs/README.txt index 0ed0098769..22e9807847 100644 --- a/exp-drd/docs/README.txt +++ b/exp-drd/docs/README.txt @@ -115,6 +115,13 @@ The current version runs well under Linux on x86 CPU's for multithreaded programs that use the POSIX threading library. Regular POSIX threads, detached threads, mutexes, condition variables, reader-writer locks, spinlocks, semaphores and barriers are supported. +Client programs run under exp-drd typically run somewhere between 50 +and 100 times slower than when executed natively. A notable exception +is Firefox, which runs too slow to be usable. This is because of the +huge number of mutex lock and unlock calls performed by +Firefox. E.g. just starting and stopping Firefox 3 triggers 2.5 +million pthread_mutex_lock() calls and the same number of +pthread_mutex_unlock() calls. Programming with Threads