From: "Jakma, Paul" <Paul.Jakma@compaq.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: RE: Force app to use single CPU
Date: Wed, 19 Jan 2000 11:34:00 -0000 [thread overview]
Message-ID: <15AD5D7936F8D21198240000F831776E3E812B@dboexc1.dbo.cpqcorp.net> (raw)
> 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.
next reply other threads:[~2000-01-19 11:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-19 11:34 Jakma, Paul [this message]
2000-01-19 16:44 ` Force app to use single CPU Wes Bauske
-- strict thread matches above, loose matches on Subject: below --
2000-01-18 23:14 Blake Carlson
2000-01-18 23:11 ` Greg Lindahl
2000-01-18 23:46 ` Blake Carlson
2000-01-19 15:13 ` Sean Hunter
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox