From: Joe deBlaquiere <jadb@redhat.com>
To: Mike Kravetz <mkravetz@sequent.com>
Cc: lse-tech@lists.sourceforge.net, linux-kernel@vger.kernel.org,
Ingo Molnar <mingo@elte.hu>
Subject: Re: more on scheduler benchmarks
Date: Mon, 22 Jan 2001 20:22:58 -0600 [thread overview]
Message-ID: <3A6CEB02.3050906@redhat.com> (raw)
In-Reply-To: <20010122101738.B7427@w-mikek.des.sequent.com>
Maybe I've been off in the hardware lab for too long, but how about
1. using ioperm to give access to the parallel port.
2. have your program write a byte (thread id % 256 ?) constantly to the
port during it's other activity
3. capture the results from another computer with an ecp port
This way you don't run the risk of altering the scheduler behavior with
your logging procedure.
Mike Kravetz wrote:
> Last week while discussing scheduler benchmarks, Bill Hartner
> made a comment something like the following "the benchmark may
> not even be invoking the scheduler as you expect". This comment
> did not fully sink in until this weekend when I started thinking
> about changes made to sched_yield() in 2.4.0. (I'm cc'ing Ingo
> Molnar because I think he was involved in the changes). If you
> haven't taken a look at sys_sched_yield() in 2.4.0, I suggest
> that you do that now.
>
> A result of new optimizations made to sys_sched_yield() is that
> calling sched_yield() does not result in a 'reschedule' if there
> are no tasks waiting for CPU resources. Therefore, I would claim
> that running 'scheduler benchmarks' which loop doing sched_yield()
> seem to have little meaning/value for runs where the number of
> looping tasks is less than then number of CPUs in the system. Is
> that an accurate statement?
>
> If the above is accurate, then I am wondering what would be a
> good scheduler benchmark for these low task count situations.
> I could undo the optimizations in sys_sched_yield() (for testing
> purposes only!), and run the existing benchmarks. Can anyone
> suggest a better solution?
>
> Thanks,
--
Joe deBlaquiere
Red Hat, Inc.
307 Wynn Drive
Huntsville AL, 35805
voice : (256)-704-9200
fax : (256)-837-3839
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-23 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-22 18:17 more on scheduler benchmarks Mike Kravetz
2001-01-22 18:37 ` Davide Libenzi
2001-01-23 2:22 ` Joe deBlaquiere [this message]
2001-01-24 12:29 ` Daniel Phillips
-- strict thread matches above, loose matches on Subject: below --
2001-01-22 20:07 [Lse-tech] " Bill Hartner
2001-01-23 12:45 ` Andrew Morton
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=3A6CEB02.3050906@redhat.com \
--to=jadb@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=mingo@elte.hu \
--cc=mkravetz@sequent.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