Yes, VM1 results are as before.
Alexey
On Tue, Oct 20, 2015 at 4:04 PM, Wanpeng Li wrote:
> On 10/21/15 4:05 AM, Alexey Makhalov wrote:
>>
>> 'echo NO_NONTASK_CAPACITY > /sys/kernel/debug/sched_features' in both
>> guests.
>> Results:
>> VM1: S
Hi,
I did benchmarking of scheduler fairness with enabled steal time
accounting(STA) in KVM.
And results are really interesting.
Looks like STA provides worse scheduler fairness against disabled STA
(no-steal-acc cmdline param)
I created benchmark, main idea is: 2 cgroups with cpu.shares
proport
0% 75% 50% 25%)
Output is attached.
Thanks,
Alexey
On Tue, Oct 20, 2015 at 5:39 AM, Wanpeng Li wrote:
> Cc Peterz,
> 2015-10-20 5:58 GMT+08:00 Alexey Makhalov :
>>
>> Hi,
>>
>> I did benchmarking of scheduler fairness with enabled steal time
>> accounting(S
. Even 'top'
shows weird statistic: 50% hi, 50% st, ~0% user, spinning processes
use ~0% cpu - that is not correct.
Thanks.
On Tue, Oct 20, 2015 at 5:24 PM, Alexey Makhalov wrote:
> Yes, VM1 results are as before.
>
> Alexey
>
> On Tue, Oct 20, 2015 at 4:04 PM, Wanpeng Li w
Alex James
Signed-off-by: Alexey Makhalov
---
arch/x86/kernel/cpu/vmware.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 55903563afd3..16da970499f2 100644
--- a/arch/x86/kernel/cp
want me to resubmit the patchset to do not brake a git bisect?
On 6/25/24 1:47 AM, Borislav Petkov wrote:
On Tue, Jun 25, 2024 at 01:33:48AM -0700, Alexey Makhalov wrote:
Caller of vmware_hypercall_slow() can pass NULL into *out1,
*out2,... *out5. It will lead to a NULL pointer dereference.
Ch
On 6/25/24 7:51 AM, Borislav Petkov wrote:
On Tue, Jun 25, 2024 at 07:45:50AM -0700, Alexey Makhalov wrote:
My test environment was screwed up during the last version of the patchset.
I was using a kernel which was built previously and didn't pay attention to
commit hash suffix in `una
Improve debugability of VMware Linux guests by dumping
kernel messages during a panic to VM log file (vmware.log).
Co-developed-by: Bo Gan
Signed-off-by: Bo Gan
Signed-off-by: Alexey Makhalov
---
arch/x86/include/asm/vmware.h | 1 +
arch/x86/kernel/cpu/vmware.c | 132
Shared memory containing steal time counter should be set to
decrypted when SEV is active.
Co-developed-by: Bo Gan
Signed-off-by: Bo Gan
Signed-off-by: Alexey Makhalov
---
arch/x86/kernel/cpu/vmware.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/x86/kernel
Shared memory containing steal time counter should be set to
decrypted when SEV is active.
Co-developed-by: Bo Gan
Signed-off-by: Bo Gan
Signed-off-by: Alexey Makhalov
---
arch/x86/kernel/cpu/vmware.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/x86/kernel
n 5, 2021, at 5:06 AM, Vitaly Kuznetsov wrote:
>
> Alexey Makhalov writes:
>
>> When TSC frequency is known (retrieved from hypervisor), we should skip
>> TSC refined calibration by setting X86_FEATURE_TSC_KNOWN_FREQ.
>>
>> Signed-off-by: Alexey Makhalov
>&g
When TSC frequency is known (retrieved from hypervisor), we should skip
TSC refined calibration by setting X86_FEATURE_TSC_KNOWN_FREQ.
Signed-off-by: Alexey Makhalov
---
arch/x86/kernel/cpu/vmware.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86
-sched-clock kernel parameter is added to disable the paravirt
sched clock.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
Documentation/kernel-parameters.txt | 4
arch/x86/kernel/cpu/vmware.c| 41 +
2 files changed, 45 insertions
avoid vm-exits on IO delays.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 480790f..098a524 100644
--- a/arch/x86/kernel/cpu
the cpu_khz and tsc_khz to be sync even if they diverge less then
10%.
This patch resolves this issue by setting x86_platform.calibrate_cpu to
vmware_get_tsc_khz().
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 1 +
1 file changed, 1 insertion(+)
d
Thanks Thomas for the valuable comments.
Changelog for the updated patchset:
v1->v2 - Update pvinfo.name.
v2->v3 - Address comments from Thomas G,
* Created separate function: vmware_sched_clock_setup() (patch 3/3)
* Updated commit descriptions for 1/3 and 3/3
Alexey Ma
ency
after vmotion, which might confuse the user.
Solve this by overriding the x86 platform cpu calibration callback with the
vmware specific tsc calibration function.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 1 +
1 file changed, 1 insertion(+)
di
new 'no-vmw-sched-clock' option.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
Documentation/kernel-parameters.txt | 4
arch/x86/kernel/cpu/vmware.c| 42 +
2 files changed, 46 insertions(+)
diff --git a/Documentat
avoid vm-exits on IO delays.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 480790f..098a524 100644
--- a/arch/x86/kernel/cpu
Re-factor the vmware platform setup code to query the hypervisor for tsc
frequency only once during boot. Since the VMware hypervisor guarantees
constant TSC, calibrate_tsc now uses the saved value.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 37
the cpu_khz and tsc_khz to be sync even if they diverge less then
10%.
This patch resolves this issue by setting x86_platform.calibrate_cpu to
vmware_get_tsc_khz().
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 1 +
1 file changed, 1 insertion(+)
d
This patchset includes several VMware guest improvements:
Alexey Makhalov (3):
x86/vmware: Use tsc_khz value for calibrate_cpu()
x86/vmware: Add basic paravirt ops support
x86/vmware: Add paravirt sched clock
Documentation/kernel-parameters.txt | 4 +++
arch/x86/kernel/cpu/vmware.c
lays.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
arch/x86/kernel/cpu/vmware.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 480790f..e3fb320 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b
-sched-clock kernel parameter is added to switch back to the
native_sched_clock() implementation.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
Documentation/kernel-parameters.txt | 4
arch/x86/kernel/cpu/vmware.c| 38 +
2 files
-sched-clock kernel parameter is added to disable the paravirt
sched clock.
Signed-off-by: Alexey Makhalov
Acked-by: Alok N Kataria
---
Documentation/kernel-parameters.txt | 4
arch/x86/kernel/cpu/vmware.c| 41 +
2 files changed, 45 insertions
Fix a typo in an email address.
Reported-by: Konstantin Ryabitsev
Closes:
https://lore.kernel.org/all/20240925-rational-succinct-vulture-cca9fb@lemur/T/
Signed-off-by: Alexey Makhalov
---
MAINTAINERS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b
Fix a typo in an email address.
Reported-by: Konstantin Ryabitsev
Closes:
https://lore.kernel.org/all/20240925-rational-succinct-vulture-cca9fb@lemur/T/
Signed-off-by: Alexey Makhalov
---
MAINTAINERS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b
Fix a typo in an email address.
Cc: sta...@vger.kernel.org
Reported-by: Konstantin Ryabitsev
Closes:
https://lore.kernel.org/all/20240925-rational-succinct-vulture-cca9fb@lemur/T/
Signed-off-by: Alexey Makhalov
---
MAINTAINERS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
The following commit has been merged into the x86/vmware branch of tip:
Commit-ID: 0b4a285e2c65c2c9449c6eccb87298e385213e7b
Gitweb:
https://git.kernel.org/tip/0b4a285e2c65c2c9449c6eccb87298e385213e7b
Author:Alexey Makhalov
AuthorDate:Mon, 04 Jan 2021 16:47:52 -08:00
Commit-ID: cf11372949434fc4a6194b1ed9eb861d08032d08
Gitweb: http://git.kernel.org/tip/cf11372949434fc4a6194b1ed9eb861d08032d08
Author: Alexey Makhalov
AuthorDate: Wed, 19 Oct 2016 22:02:11 -0700
Committer: Thomas Gleixner
CommitDate: Fri, 21 Oct 2016 10:12:11 +0200
x86/vmware: Read
Commit-ID: 687bca8d664ac9b098005b57846773eb62040ae0
Gitweb: http://git.kernel.org/tip/687bca8d664ac9b098005b57846773eb62040ae0
Author: Alexey Makhalov
AuthorDate: Fri, 28 Oct 2016 00:54:30 -0700
Committer: Thomas Gleixner
CommitDate: Sun, 30 Oct 2016 08:57:07 +0100
x86/vmware: Use
Commit-ID: 80e9a4f21fd7ccce7e9b8439986fd028c9946dda
Gitweb: http://git.kernel.org/tip/80e9a4f21fd7ccce7e9b8439986fd028c9946dda
Author: Alexey Makhalov
AuthorDate: Fri, 28 Oct 2016 00:54:32 -0700
Committer: Thomas Gleixner
CommitDate: Sun, 30 Oct 2016 08:57:08 +0100
x86/vmware: Add
Commit-ID: 91d1e54ebd1615d216b7f57324a5e69166a344e0
Gitweb: http://git.kernel.org/tip/91d1e54ebd1615d216b7f57324a5e69166a344e0
Author: Alexey Makhalov
AuthorDate: Fri, 28 Oct 2016 00:54:31 -0700
Committer: Thomas Gleixner
CommitDate: Sun, 30 Oct 2016 08:57:07 +0100
x86/vmware: Add
33 matches
Mail list logo