[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200708211239.44657.borntraeger@de.ibm.com>
Date: Tue, 21 Aug 2007 12:39:44 +0200
From: Christian Borntraeger <borntraeger@...ibm.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Jan Glauber <jang@...ux.vnet.ibm.com>,
heiko.carstens@...ibm.com, Paul Mackerras <paulus@...ba.org>
Subject: Re: [accounting regression since rc1] scheduler updates
Am Dienstag, 21. August 2007 schrieb Ingo Molnar:
> Wouldnt it be more consistent if a virtual box would not show any
> dependency on external load? (i.e. it would slow down all of its
> internal functionality transparently, without exposing it via /proc. The
> only way to observe that would be the TOD interfaces: gettimeofday and
> real-time clock driven POSIX timers. Even timer_list could be driven via
> virtual time - although that would probably break user expectations,
> right?) Or would accounting-in-virtual-time break user expectations too?
> (most of the other hypervisors let guests account in virtual time.)
Most hypervisors let guest account in virtual time because this requires no
code change. We had that in the past as well. But now we have lots of
customers that rely on a different accounting model. Before
CONFIG_VIRT_CPU_ACCOUNTING we got this model of top showing 99% of cpu used,
even if the hypervisor gives us 20% of the physical one. We actually want to
show that this process gets only 19.8% of a real cpu for several reasons:
- people do workload management based on used cycles
- people/departments pay money based on used cycles
- If your physical cpu has to much load, you want to identify processes by
physical cpu usage
There are even some vendors that claimed that Linux accouting was completely
broken and useless on s390 and people should use their vendor tool to get the
right numbers. While these tools still have important features
CONFIG_VIRT_CPU_ACCOUNTING fixed at least the "broken" parts.
Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists