From: mdaljeet@in.ibm.com
To: linux-kernel@vger.kernel.org
Subject: scheduling problem
Date: Tue, 31 Jul 2001 20:48:18 +0530 [thread overview]
Message-ID: <CA256A9A.0054342C.00@d73mta01.au.ibm.com> (raw)
Hi,
I have a apple G4 machine that is dual processor and running SMP kernel. On
the lines of a patch I ceated a module that I use to bind a process to a
processor.
My program creates multiple threads and there are multiple instances of
program running at same time. All the threads/processes are binded to a
single processor. If I boot my machine in non-SMP kernel and run all the
instances of my program, everything works fine. But if I boot my machine in
SMP kernel and run all the instances of my program, I get a timeout
condition from one of the threads regularly but at random intervals of
time. After adding a lot of debugging statements, most probably it scales
down to scheduling problem. I added 'sleep(1)' in all the threads that are
created and everything worked fine. Are there any other methods to debug?
How can I find out the time intervals during which a process was scheduled
out and on which processor it ran on during its lifetime?
Regards,
Daljeet.
reply other threads:[~2001-07-31 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CA256A9A.0054342C.00@d73mta01.au.ibm.com \
--to=mdaljeet@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®