From c61235ec86880c1286f5d5247efc9baa62e3f0ab Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 23 Mar 2008 11:24:06 +0000 Subject: [PATCH] Add pthreads lock profiling and lock ordering task to ideas list. Submitted by: jeff, kris --- en/projects/ideas/ideas.xml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/en/projects/ideas/ideas.xml b/en/projects/ideas/ideas.xml index 94de9107cc..933309eafa 100644 --- a/en/projects/ideas/ideas.xml +++ b/en/projects/ideas/ideas.xml @@ -15,7 +15,7 @@ Ideas//EN" - $FreeBSD: www/en/projects/ideas/ideas.xml,v 1.72 2008/03/22 16:32:40 rwatson Exp $ + $FreeBSD: www/en/projects/ideas/ideas.xml,v 1.73 2008/03/22 17:48:27 rwatson Exp $ @@ -2153,5 +2153,33 @@ SMP features.

+ + Userspace pthread mutex lock contention profiling and lock + order verification tool + +

Technical contact: Jeff Roberson

+ +

This task would create an extension to the threading library + that would allow application developers to measure and locate lock + ordering and lock contention problems within their application. + Such a tool is invaluable in debugging application deadlocks and + creating high-performance multithreaded software. Existing lock + ordering and profiling tools exist in the FreeBSD kernel, and + could be used as the model for the userspace implementation. We + would recommend beginning with profiling due to its immediate + usefulness in optimizing performance, and to allow improvements + in kernel scheduling to better manage user application lock + contention.

+ +

Requirements:

+
    +
  • Strong knowledge of C.
  • +
  • Threading experience.
  • +
  • Strong debugging skills.
  • +
+
+
+