From: Nick Piggin <piggin@cyberone.com.au>
To: Christian Meder <chris@onestepahead.de>
Cc: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6 vs 2.4 regression when running gnomemeeting
Date: Sat, 20 Dec 2003 11:48:58 +1100 [thread overview]
Message-ID: <3FE39C7A.7050507@cyberone.com.au> (raw)
In-Reply-To: <1071880660.1044.194.camel@localhost>
Christian Meder wrote:
>On Sat, 2003-12-20 at 01:21, Nick Piggin wrote:
>
>>Christian Meder wrote:
>>
>>
>>>On Fri, 2003-12-19 at 21:32, William Lee Irwin III wrote:
>>>
>>>
>>>>On Fri, Dec 19, 2003 at 09:11:50PM +0100, Christian Meder wrote:
>>>>
>>>>
>>>>>I've got a longstanding regression in gnomemeeting usage when switching
>>>>>between 2.4 and 2.6 kernels.
>>>>>Phenomenon:
>>>>>Without load gnomemeeting VOIP connections are fine. As soon as some
>>>>>load like a kernel compile is put on the laptop the gnomemeeting audio
>>>>>stream is cut to pieces and gets unintelligible . On 2.4.2x I don't get
>>>>>even the slightest distortion in the audio stream under load. I played
>>>>>around with different nice levels with no success. The problem persisted
>>>>>during the whole 2.6.0-test series no matter whether I used -mm kernels
>>>>>or pristine Linus kernels. Even when nicing the kernel compile to +19
>>>>>the distortions start right away. I tried Nick Piggin's scheduler which
>>>>>fared slightly better after changing the nice level of gnomemeeting to
>>>>>-10 but it's still a far cry from the 2.4.2x feeling without any
>>>>>fiddling with nice values.
>>>>>Any hints where to start looking are greatly appreciated.
>>>>>
>>>>>
>>>>Please instrument your workload with the following, and send logs of the
>>>>output (preferably compressed) to me and possibly others:
>>>>
>>>>top b d 5
>>>>vmstat 5
>>>>while true; do cat /proc/vmstat; sleep 5; done
>>>>while true; do cat /proc/meminfo; sleep 5; done
>>>>
>>>>A good way to log commands like this is:
>>>>
>>>>(command) > /home/foo.log.1 2>&1 &
>>>>
>>>>where parentheses surround the command in the actual shell input.
>>>>
>>>>
>>>Hi,
>>>
>>>I've attached the tarred output of a gnomemeeting run without load and
>>>without distortions and another tarred output of a gnomemeeting run
>>>while compiling a kernel with severe distortions in the audio stream.
>>>
>>>
>>You're getting a lot fewer interrupts in the loaded case. Maybe its
>>the sound card driver that has the regression from 2.4? It could be
>>that 2.6 allows a smaller sound fragment size which is more stressful.
>>
>>
>
>Well I had the same problem with the OSS driver on 2.6. Now I use the
>ALSA driver because I thought that could possibly improve things. The
>ALSA driver is better indeed but it doesn't change this particular
>phenomenon. Additionally I'd guess that the latest ALSA driver in 2.4
>and 2.6 doesn't differ significantly and 2.4.2x with the latest ALSA
>works great while 2.6 doesn't.
>
>
Sounds reasonable. Maybe its large interrupt or scheduling latency
caused somewhere else. Does disk activity alone cause a problem?
find / -type f | xargs cat > /dev/null
how about
dd if=/dev/zero of=./deleteme bs=1M count=256
You said it faired slightly better with my scheduler when renicing
gnome meeting to -10. How much better is that?
whats your /proc/cpuinfo?
next prev parent reply other threads:[~2003-12-20 0:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-19 20:11 2.6 vs 2.4 regression when running gnomemeeting Christian Meder
2003-12-19 20:32 ` William Lee Irwin III
2003-12-19 23:30 ` Christian Meder
2003-12-20 0:21 ` Nick Piggin
2003-12-20 0:37 ` Christian Meder
2003-12-20 0:48 ` Nick Piggin [this message]
2003-12-20 1:11 ` Christian Meder
2003-12-20 1:26 ` Nick Piggin
2003-12-20 1:52 ` Christian Meder
2003-12-20 2:38 ` Nick Piggin
2003-12-20 2:55 ` Con Kolivas
2003-12-20 3:32 ` Christian Meder
2003-12-20 3:50 ` Nick Piggin
2003-12-20 4:16 ` Christian Meder
2003-12-20 4:32 ` Nick Piggin
2003-12-20 5:15 ` Christian Meder
2003-12-20 8:31 ` Con Kolivas
2003-12-20 11:19 ` Ingo Molnar
2003-12-20 16:17 ` Christian Meder
2003-12-20 16:49 ` Christian Meder
2003-12-20 17:42 ` Ingo Molnar
2003-12-21 1:40 ` Christian Meder
2003-12-21 8:57 ` Ingo Molnar
2003-12-22 1:19 ` Christian Meder
2003-12-22 1:47 ` Con Kolivas
2003-12-22 8:48 ` Ingo Molnar
2003-12-20 23:29 ` Nick Piggin
2003-12-20 22:20 ` Matthias Andree
2003-12-21 19:23 ` Jens Axboe
2003-12-22 10:54 ` Andrew McGregor
2003-12-22 11:15 ` Con Kolivas
2003-12-22 12:51 ` Ingo Molnar
2003-12-22 13:25 ` Nick Piggin
2003-12-20 19:34 ` Marc Schiffbauer
2003-12-21 1:49 ` Christian Meder
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=3FE39C7A.7050507@cyberone.com.au \
--to=piggin@cyberone.com.au \
--cc=chris@onestepahead.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.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