linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: "Dieter Nützel" <Dieter.Nuetzel@hamburg.de>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>,
	ReiserFS List <reiserfs-list@namesys.com>,
	DRI-Devel <dri-devel@lists.sourceforge.net>
Subject: Re: Feedback on preemptible kernel patch
Date: 15 Sep 2001 01:14:07 -0400	[thread overview]
Message-ID: <1000530869.32365.21.camel@phantasy> (raw)
In-Reply-To: <200109150444.f8F4iEG19063@zero.tech9.net>
In-Reply-To: <200109140302.f8E32LG13400@zero.tech9.net> <1000442113.3897.19.camel@phantasy>  <200109150444.f8F4iEG19063@zero.tech9.net>

On Sat, 2001-09-15 at 00:25, Dieter Nützel wrote:
> > > >  ReiserFS may be another problem.
> > > Can't wait for that.
> Most wanted, now.

I am working on it, but I am unfamilar with it all.

Are you seeing any specific problems, now?  With the latest preemption
patch on 2.4.10-pre9, do you crash? oops?

The only outstanding issue now is ReiserFS issues.

> Tried it and it works so far.
> 
> It seems to be that kswap put some additional "load" on the disk from time
> to time. Or is it the ReiserFS thing, again?

I don't think its related to ReiserFS.

What sort of activity are you seeing?  How often?  How do you know its
kswapd?

> Have you a copy of my posted ksymoops file?
> But the oopses seems to be cured.

Yah, I just am having a problem sorting  who said what running what and
when :)

I am glad the patch fixed it, the final version of that is going into
the next preemption patch.  Stay tuned.

> I don't know exactly 'cause kernel hacking is not my main focus.
> 
> But have you thought about the MMX/3DNow! stuff in Mesa/OpenGL (XFree86 DRI)?
> And what do you think about the XFree86 Xv extentions (video) or the whole 
> MPEG2/3/4, Ogg-Vorbis, etc. (multimedia stuff)?
> 
> Do all these libraries (progs) need some preempt patches?
> That's why I cross posted to the DRI-Devel List (sorry).

No, these are unrelated.

Sorry for the cross-post, DRI :)

The kernel takes care of saving state for FPU operations for userspace. 
Indeed, it takes care of everything for userspace.  In kernel land, we
don't have that beauty, we have to worry about everything we do and
everything we change, and thus we have this problem.

What exactly happens is another operation is preempting the current
process during an FPU operation, when the CPU is in a different state,
and then everything barfs since it is not as it wants to be.

This is not an issue for userspace.

> I understand ;-)
> It seems to calm it.

Good.

> Now, here are my results.
> <snip>

These results are pretty good.  Throughput seems down 2-3% in many
cases, although latency is greatly improved.  Look at those latency
changes!  From thousands of ms to hundreds of us in bonnie.  Wow.

Even if you don't care about latency (I'm not an audio person or
anything), these changes should be worth it.

> Deleting with ReiserFS and the preempt kernel is GREAT!

Good. I/O latency should be great now, with little change in
throughput...

> But I get some hiccup during noatun (mp3, ogg, etc. player for KDE-2.2) or 
> plaympeg together with dbench (16, 32). ReiserFS needs some preemption
> fixes, too?

You may still get some small hiccups ( < 1 second?) even with the
preemption patch, as kernel locks prevent preemption (the patch can't
guarentee low latency, just preemption outside of the locks).

However, how bad was the hiccups with preemption disabled?  I have heard
reports where it is 3-5sec at times.

As the kernel becomes more scalable (finer-grain locking), preemption
will improve.  Past that, perhaps during 2.5, we can work on some other
things to improve preemption.

> I've attached two small compressed bonnie++ HTML files.

These were neat, thanks.

Thank you for your feedback and support.  Stay current with the kernel
and the preemption patches, and I will try to figure the ReiserFS
crashes out.

-- 
Robert M. Love
rml at ufl.edu
rml at tech9.net


  parent reply	other threads:[~2001-09-15  5:14 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200109150444.f8F4iEG19063@zero.tech9.net>
     [not found] ` <200109140302.f8E32LG13400@zero.tech9.net>
2001-09-14  4:35   ` Feedback on preemptible kernel patch Robert Love
2001-09-15  4:25     ` Dieter Nützel
2001-09-15  5:14     ` Robert Love [this message]
2001-09-18  4:06       ` Dieter Nützel
2001-09-18  8:35         ` Daniel Phillips
2001-09-18 18:18         ` Roger Larsson
2001-09-18 23:31         ` Robert Love
2001-09-20  6:40           ` Dieter Nützel
2001-09-18 23:31       ` Robert Love
2001-09-15 19:18 Robert Love
2001-09-16  1:28 ` Daniel Phillips
2001-09-16  1:54   ` Daniel Phillips
     [not found] <Pine.LNX.4.33.0109140838040.21992-100000@sjoerd.sjoerdnet>
2001-09-14 15:04 ` Robert Love
2001-09-15  9:44   ` Arjan Filius
2001-09-15 10:38     ` Erik Mouw
2001-09-15 17:57     ` Robert Love
  -- strict thread matches above, loose matches on Subject: below --
2001-09-14  2:47 Dieter Nützel
2001-09-11 22:53 Robert Love
2001-09-08  5:22 grue
2001-09-08  5:47 ` Robert Love
2001-09-08 17:33   ` Arjan Filius
2001-09-08 18:22     ` safemode
2001-09-09  4:40     ` Robert Love
2001-09-09 17:09     ` Robert Love
2001-09-09 21:07       ` Arjan Filius
2001-09-09 21:26         ` Robert Love
2001-09-09 21:23       ` Arjan Filius
2001-09-09 21:37         ` Robert Love
2001-09-10  3:24           ` Daniel Phillips
2001-09-10  3:37             ` Jeremy Zawodny
2001-09-10  5:09           ` Robert Love
2001-09-10 18:25             ` Daniel Phillips
2001-09-10 21:29             ` Arjan Filius
2001-09-13 17:27               ` Robert Love
2001-09-14  7:30                 ` george anzinger
2001-09-14 15:01                 ` Robert Love
2001-09-11 19:47           ` Arjan Filius
2001-09-09 18:57   ` grue
2001-09-09 21:44     ` Robert Love

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=1000530869.32365.21.camel@phantasy \
    --to=rml@tech9.net \
    --cc=Dieter.Nuetzel@hamburg.de \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.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).