From: Blaisorblade <blaisorblade@yahoo.it>
To: Daniel Tombeil <dt@admindu.de>,
user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: [uml-user] Loadav always >1.0 (2.6.X)
Date: Wed, 20 Apr 2005 22:03:43 +0200 [thread overview]
Message-ID: <200504202203.44733.blaisorblade@yahoo.it> (raw)
In-Reply-To: <1113928612.5221.10.camel@powerful.admindu.de>
[-- Attachment #1: Type: text/plain, Size: 2129 bytes --]
On Tuesday 19 April 2005 18:36, Daniel Tombeil wrote:
> Hi Blaisorblade,
>
> On Thu, 2005-04-14 at 23:11 +0200, Blaisorblade wrote:
> > On Thursday 14 April 2005 20:36, Daniel Tombeil wrote:
> > > Hello,
>
> [...]
>
> > discussed patch which fixed it. I'd like to know any info on this road
> > (it's possible that these two bugs are just similar, but entirely
> > different, but I'd like some reports).
> >
> > Also I'm currently in short of time, so I cannot investigate this well...
>
> sorry, I don't seem to unterstand. I searched the devel list archive
> (I'm not subscribed to devel) and found the thread on the change
> from /proc/stat. I can confirm that my problem seems to be related. But
> I wasn't able to extract the info which patch should solve the problem.
The patch I suggested to Chris was named, in the patch,
"update-process-times", however the name in my tree was uml-timer-context.
I've attached it.
Chris Aker reported that in 2.6.10 it fixed the problem, but I didn't verify
(even because I simply knew that patch *had* to be applied to fix some
problems, so I just asked it to check that it fixed also that problem). Also,
this patch *has* been applied in 2.6.11; however, I'd still like a
confirmation that it fixed the problem in 2.6.10.
That said, I'm currently running and verifying this on 2.6.11 and what I see
with top is that
a) ksoftirqd is always runnable, but
b) it always gets 0% cpu usage
which is *very* strange.
While on 2.6.9 it works perfectly ok.
> I tried all of your -bb and -bs from 2.6.10 to 2.6.11.7 with the same
> result on load 1.0. Beside of that the kernels seem to be very stable.
> I'm running 5 Guest UMLs with Mailserver (exim,spamassasin,clamav deb-
> sarge), WWW (lamp, deb-sarge), Aptcache (squid, deb-sarge), 2 UMLs for
> friends (LAMP, Mail, deb-sarge) on an 2.6.8skas-v6 Host (deb-sarge). I
> now went back to a 2.4.27-bs1 which seems to be rock-solid because some
> of the friends didn't like the 1.0 load in their stats or something :)
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
[-- Attachment #2: uml-timer-context.patch --]
[-- Type: text/x-diff, Size: 1045 bytes --]
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
In call to update_process_times() set parameter user
correctly. (was from for SKAS).
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
---
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
---
vanilla-linux-2.6.9-paolo/arch/um/kernel/time_kern.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/um/kernel/time_kern.c~uml-timer-context arch/um/kernel/time_kern.c
--- vanilla-linux-2.6.9/arch/um/kernel/time_kern.c~uml-timer-context 2004-12-01 18:04:36.967383992 +0100
+++ vanilla-linux-2.6.9-paolo/arch/um/kernel/time_kern.c 2004-12-01 18:04:36.971383384 +0100
@@ -171,7 +171,7 @@ void timer_handler(int sig, union uml_pt
{
#ifdef CONFIG_SMP
local_irq_disable();
- update_process_times(user_context(UPT_SP(regs)));
+ update_process_times(CHOOSE_MODE(user_context(UPT_SP(regs)), (regs)->skas.is_user));
local_irq_enable();
#endif
if(current_thread->cpu == 0)
_
prev parent reply other threads:[~2005-04-19 20:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-11 19:13 [uml-devel] SKAS-v8: RC5 released against 2.6.7 - 2.6.11 kernels Blaisorblade
[not found] ` <200504142311.43374.blaisorblade@yahoo.it>
[not found] ` <1113928612.5221.10.camel@powerful.admindu.de>
2005-04-20 20:03 ` Blaisorblade [this message]
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=200504202203.44733.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=dt@admindu.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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