From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10044 invoked from network); 19 Jan 2000 11:34:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Jan 2000 11:34:35 -0000 Received: from mailext03.compaq.com (mailext03.compaq.com [207.18.199.41]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA31722 for ; Wed, 19 Jan 2000 06:34:35 -0500 Received: by mailext03.compaq.com (Postfix, from userid 12345) id 8E2A915202A; Wed, 19 Jan 2000 05:34:34 -0600 (CST) Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190]) by mailext03.compaq.com (Postfix) with ESMTP id 89DA2148506 for ; Wed, 19 Jan 2000 05:34:34 -0600 (CST) Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345) id 0BC5D4FB03; Wed, 19 Jan 2000 05:34:27 -0600 (CST) Received: from excreo-gh01.reo.dec.com (unknown [16.41.128.40]) by mailint12.im.hou.compaq.com (Postfix) with ESMTP id 920CD4C902 for ; Wed, 19 Jan 2000 05:34:26 -0600 (CST) Received: by EXCREO-GH01 with Internet Mail Service (5.5.2650.21) id ; Wed, 19 Jan 2000 11:34:32 -0000 Message-ID: <15AD5D7936F8D21198240000F831776E3E812B@dboexc1.dbo.cpqcorp.net> From: "Jakma, Paul" To: "'axp-list@redhat.com'" Subject: RE: Force app to use single CPU Date: Wed, 19 Jan 2000 11:34:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" > that seems to spend a lot of time context > switching between > the processors (judging from xosview). or maybe a case of the observed system being influenced by the measuring tool? ie xosview needs cpu time aswell. (and quite a lot of it). consider the unobserved system, where your app and the X server are the main loads. The linux scheduler will correctly try to keep X on one cpu, and your app on the other. Now introduce xosview. You have 3 processes fighting for cpu_time, and only 2 cpu's. The linux scheduler will still try maintain cpu affinity, but if a cpu becomes free, there's no point in wasting that slot. what you are seeing is correct scheduler behaviour. regards, paul jakma.