From: Nivedita Singhvi <niv@us.ibm.com>
To: Neel Mehta <neelmehta89@gmail.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: Realtime linux kernel on multicore processor
Date: Thu, 17 Jun 2010 13:16:44 -0700 [thread overview]
Message-ID: <4C1A82AC.1000804@us.ibm.com> (raw)
In-Reply-To: <AANLkTilTcAaRj49CiPgWmPkhWkDkz1CR5sHZygsHRyNA@mail.gmail.com>
Neel Mehta wrote:
> Hi. I have 2 computers with ubuntu:
> 1. Core 2 Duo - Non realtime linux kernel
> 2. Quad core - Realtime linux kernel
>
> Both of them are using ubuntu. I am running a process that generates 2
> threads, both of which are continuously processing something.
> 1. On core 2 duo (normal kernel): both the cores are running above 90% load.
> 2. on quad core(realtime kernel): only one core runs above 90%, and
> the other cores are not at such a high load. The core which is on high
> load keeps on alternating among the 4 cores.
>
> So, my question is why doesnt 2 cores run on high load on quad core?
> Is there a problem in multiprocessing in realtime linux kernel? Can
> someone guide me where the source of problem could be?
I'll start with the obvious - if the same amount of work is
being done, but now on a larger number of cores, the load on
each individual core could reduce (since you don't say what
else is contributing to the load on the system, etc).
As an example of this class of behavior, look at your irq distribution.
The rotation of the load sounds a lot like it's being driven by
interrupt round-robining, for instance.
thanks,
Nivedita
next prev parent reply other threads:[~2010-06-17 20:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 12:30 Realtime linux kernel on multicore processor Neel Mehta
2010-06-17 20:16 ` Nivedita Singhvi [this message]
2010-06-23 8:22 ` Neel Mehta
2010-06-23 8:36 ` Alessio Igor Bogani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C1A82AC.1000804@us.ibm.com \
--to=niv@us.ibm.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=neelmehta89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).