|
From: Josef W. <Jos...@gm...> - 2008-09-22 13:52:46
|
On Tuesday 16 September 2008, Rodrigo Dominguez wrote: > Is someone working on modifying valgrind to run multithreaded programs > concurrently (without using the serializing semaphore)? Same as Nick: Not that I know of. > This would allow > valgrind to behave more similarly to the way the native application behaves. > If not, would this be an interesting project for contribution? You can approximate simultaneous execution better by choosing shorter scheduling time slices for the thread-serialization, perhaps even dynamic. But every thread switch has some overhead... Probably off-topic: to just get faster Valgrind runs, it is much better to not touch the core, but to parallize a tools tasks. Even this may prove difficult if there are many data dependencies among the needed tools actions for different threads. I suppose that (hardware) transactional memory would be very beneficial here, too. Josef > > > Thank you, > > > Rodrigo Dominguez > > |