From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Thieme Newsgroups: gmane.os.tru64.managers Subject: Process scheduling Date: Mon, 01 Jul 2002 18:49:02 +0200 (CEST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1025542146 15301 127.0.0.1 (1 Jul 2002 16:49:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2002 16:49:06 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17P4MM-0003yg-00 for ; Mon, 01 Jul 2002 18:49:06 +0200 Original-Received: (qmail 15420 invoked by uid 5); 1 Jul 2002 16:49:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15362 invoked from network); 1 Jul 2002 16:49:26 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 1 Jul 2002 16:49:26 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYK002A7XEDWK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Jul 2002 12:49:25 -0400 (EDT) Original-Received: from dserver.physnet.uni-hamburg.de (mail.physnet.uni-hamburg.de [134.100.106.230]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTPS id <0GYK00I1JXDRGE@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Jul 2002 12:49:06 -0400 (EDT) Original-Received: from [134.100.106.50] (helo=alpha40.PHYSnet.uni-hamburg.de) by dserver.physnet.uni-hamburg.de with esmtp (Exim 3.35 #4) id 17P4MI-00051p-00 for tru64-unix-managers@ornl.gov; Mon, 01 Jul 2002 18:49:03 +0200 Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:768 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:768 Dear Managers, I am using my alpha boxes for physical research. Lately I discovered an annoying fact: If 2 (or more) applications with intensive CPU usage are run simultaneously, it is clear, that the execution time of a single application must be doubled. The real suprise is, that also the CPU time of each process is significantly increased. In some cases the CPU time was increased by 50%, so the resulting computing performace dropped below an acceptable limit. I am aware, that multitasking causes overhead, but I guess, its not the real root of the problem. At least my theory is (I dont know if it is accurate at all), that the performance drop is caused by cache misses of the CPU. If the OS switches frequently between processes, the cache data also becomes useless rather frequently. So my question is: is there a way to alter the process scheduling, ie. : to increase the time a single process is active until the OS switches to the next one? My system ist Tru64 5.1A and I have alpha 6.8AL CPUs. Any hint would be greatly appreciated! A.Thieme --- int i=1,j;int r(){j>2?i%--j?r(j):0:printf("%i,",i);}int main(){for(;;)r(j=++i);}