mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] 2.6.0-test2 loses time on 486
Date: 30 Jul 2003 13:08:44 -0700	[thread overview]
Message-ID: <1059595723.14766.105.camel@w-jstultz2.beaverton.ibm.com> (raw)
In-Reply-To: <200307301919.h6UJJmMd020595@harpo.it.uu.se>

On Wed, 2003-07-30 at 12:19, Mikael Pettersson wrote:
> On 29 Jul 2003 11:59:06 -0700, john stultz wrote:
> >Hmm.  Sounds like you're loosing interrupts. This can happen due to
> >poorly behaving drivers (disabling interrupts for too long), or odd
> >hardware. The change from HZ=100 to HZ=1000 probably made this more
> >visible on your box, so could you try setting HZ back to 100 and see if
> >that helps (you may still lose time, but at a much slower rate). 
> 
> Yep, reducing HZ to 100 in param.h eliminated the time losses.

Ok, that's what I figured. 

> >Also what drivers are you running with?
> 
> IDE, no chipset driver, NE2000 ISA NIC (no traffic during the
> tests), AT keyboard + PS/2 mouse (unused during the tests).
> 
> The only things I can think of are:
> - a 486 simply cannot keep up with HZ=1000
> - the plain IDE driver w/o chipset & DMA support somehow
>   is much worse in 2.5/2.6 than in 2.4
> - the "no TSC" time-keeping code is broken

Well, I suspect its just the first. If you're not generating interrupts
then I'm doubtful the IDE driver is at fault (although I'd believe it if
you were losing time under load). Also the PIT based time source is
pretty simple and hasn't functionally changed much (well, it has been
moved around a bit). 

It may be the timer interrupt has grown in cost since the argument to
change HZ to 1000 was made. Although using the PIT there isn't much we
do from a time of day perspective. If I can find a second, I'll see if I
can compare interrupt overhead between 2.4 and 2.5. But I'd imagine the
box would barely be usable if we're wasting all our time handling timer
interrupts (is it usable??).

thanks
-john





  reply	other threads:[~2003-07-30 20:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 19:19 Mikael Pettersson
2003-07-30 20:08 ` john stultz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-30 22:52 Mikael Pettersson
2003-07-30 23:16 ` john stultz
2003-07-31  6:06   ` Jan-Benedict Glaw
2003-07-29 17:34 Mikael Pettersson
2003-07-29 18:59 ` john stultz
2003-07-29 19:15 ` Sean Estabrooks
2003-07-29 21:47 ` Frank van Maarseveen

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=1059595723.14766.105.camel@w-jstultz2.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    /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®