|
From: <sv...@va...> - 2008-04-19 15:19:57
|
Author: bart Date: 2008-04-19 16:20:01 +0100 (Sat, 19 Apr 2008) New Revision: 7893 Log: Added info about slowdown caused by the exp-drd tool. Modified: trunk/exp-drd/docs/README.txt Modified: trunk/exp-drd/docs/README.txt =================================================================== --- trunk/exp-drd/docs/README.txt 2008-04-19 15:17:08 UTC (rev 7892) +++ trunk/exp-drd/docs/README.txt 2008-04-19 15:20:01 UTC (rev 7893) @@ -115,6 +115,13 @@ 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 |