Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 02:01:19 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Cc:        smp@FreeBSD.ORG
Subject:   Re: Using spinning time efficiently?
Message-ID:  <20000121020119.O14030@fw.wintelcom.net>
In-Reply-To: <14472.10247.374655.13283E@rina.r.dl.itc.u-tokyo.ac.jp>; from tanimura@r.dl.itc.u-tokyo.ac.jp on Fri, Jan 21, 2000 at 06:33:59PM %2B0900
References:  <14472.10247.374655.13283E@rina.r.dl.itc.u-tokyo.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
* Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> [000121 01:59] wrote:
> I have my SMP(dual) box running -current at home for local news and
> mail/ML server. Last night, when the news-mail gateway started to feed
> the articles to the MLs, I noticed that the ratio of CPU time usage
> for system call exceeded more than 50%, showing 55-60% every now and
> then. The frequencies of system call and interrupt are both around
> 13-18[k/sec]. (NB HZ in my box is increased up to 16kHz)
> 
> I once thought something might be wrong, and then found
> (ALT)SYSCALL_LOCK spinning to wait for the lock to be released. Now I
> am wondering if we can contribute spinning time to anything else, say
> running another process, before the lock gets released. Is is possible
> to do so?

The scheduler needs to be made thread safe before that can happen,
it looks easy at first until you realize that it starts calling
other complex parts of the system.

This is on several people's TODO list. :)

-Alfred


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




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