From owner-freebsd-smp Sat Jun 12 1:33: 6 1999 Delivered-To: freebsd-smp@freebsd.org Received: from pallas.veritas.com (pallas.veritas.com [204.177.156.25]) by hub.freebsd.org (Postfix) with ESMTP id 1E46515145; Sat, 12 Jun 1999 01:33:03 -0700 (PDT) (envelope-from aaron@sigma.veritas.com) Received: from megami.veritas.com (megami.veritas.com [192.203.46.101]) by pallas.veritas.com (8.9.1a/8.9.1) with SMTP id BAA04617; Sat, 12 Jun 1999 01:33:40 -0700 (PDT) Received: from sigma.veritas.com([192.203.46.125]) (1876 bytes) by megami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Sat, 12 Jun 1999 01:33:00 -0700 (PDT) (Smail-3.2.0.101 1997-Dec-17 #3 built 1999-Jan-25) Received: from sigma (localhost [127.0.0.1]) by sigma.veritas.com (8.9.2/8.9.1) with ESMTP id BAA40681; Sat, 12 Jun 1999 01:33:00 -0700 (PDT) (envelope-from aaron@sigma.veritas.com) Message-Id: <199906120833.BAA40681@sigma.veritas.com> From: Aaron Smith To: Arun Sharma Cc: "David E. Cross" , freebsd-hackers@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: High syscall overhead? In-reply-to: Your message of "11 Jun 1999 23:15:15 PDT." Date: Sat, 12 Jun 1999 01:33:00 -0700 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 11 Jun 1999 23:15:15 PDT, Arun Sharma writes: >Can someone explain to me why is SYSCALL_LOCK necessary ? It certainly >seems to hurt system call performance on a MP machine. > >Also, is there any data on lock contention in FreeBSD ? Is anyone >working on decomposing some of the giant locks ? I have a follow-on question: is there any planned work to give FreeBSD some of the basic synch primitives? I would love to help finer-grain the kernel, (having just today built my first SMP FreeBSD system), but first I think I'd need to implement mutexes and condition variables. It looks like there may be spin/sleeplocks and rwlocks, but they're not called that. Is there any work being done in this area? I think implementing the SVR4 synch primitives (mutex, condvars, maybe semas, rwlocks) would be great, since that's what's taught, and they're intuitive. I'm still trying to figure out the deal with "lockmgr". -- Aaron Smith VERITAS Software File System Engineer "I'll call him mini me". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message