Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 1999 20:44:31 +0200 (CEST)
From:      Soren Schmidt <sos@freebsd.dk>
To:        adsharma@home.com (Arun Sharma)
Cc:        dyson@iquest.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: High syscall overhead?
Message-ID:  <199906121844.UAA14011@freebsd.dk>
In-Reply-To: <m3wvx9e1eb.fsf@c62443-a.frmt1.sfba.home.com> from Arun Sharma at "Jun 12, 1999 11: 9:48 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Arun Sharma wrote:
> An alternative way, which requires a good understanding of both the
> theory and implementation of the kernel is - 
> 
> (a) Implement per subsystem locking

This was exactly what I experimented with some 7-8 month ago, it
showed significant improvements in performance, yet it was relatively
easy to do. 

> (b) Figure out in a "typical" workload, how much time is being spent
>     in which subsystem and try increasing parallelism (i.e. finer
>     grained locking) in subsystems where more time is being spent. 

Well, my simple tests showed no need for this, again its a fine 
balance between spending the time waiting, and spending the time
processing locks.

> The result of this approach should be more logical, cleaner and
> possibly better performing than the previous one.

It sure is easier to understand and to maintain. Maybe I should
try it again, and this time keep off-site backups :)

-Søren


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906121844.UAA14011>