From owner-freebsd-hackers Fri Jan 21 1:34:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 429D915452; Fri, 21 Jan 2000 01:34:22 -0800 (PST) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost.r.dl.itc.u-tokyo.ac.jp [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP id SAA86473; Fri, 21 Jan 2000 18:34:00 +0900 (JST) Date: Fri, 21 Jan 2000 18:33:59 +0900 Message-ID: <14472.10247.374655.13283E@rina.r.dl.itc.u-tokyo.ac.jp> From: Seigo Tanimura To: smp@FreeBSD.org, hackers@FreeBSD.org Subject: Using spinning time efficiently? Cc: Seigo Tanimura User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message