Displaying 20 results from an estimated 150 matches for "ksm".
Did you mean:
asm
2012 Feb 06
1
Strange finding about kernel samepage merging
Hi,
This is a very very strange thing I have seen in Linux Kernel. I wrote
a simple program, all it does is to load a file into memory. This
programming is running on a virtual machine while linux-kvm is working
as the hypervisor. I enabled ksm in the hypervisor level, my host
machine was installed with a Opensuse11.4 while the guest OS is
Fedora14, the strange thing is, whenever I run following simple
program, the number exported by /sys/kernel/mm/ksm/page_sharing
increase dramatically, I mean, no matter what file I am loading, the
corre...
2012 Feb 06
1
Strange finding about kernel samepage merging
Hi,
This is a very very strange thing I have seen in Linux Kernel. I wrote
a simple program, all it does is to load a file into memory. This
programming is running on a virtual machine while linux-kvm is working
as the hypervisor. I enabled ksm in the hypervisor level, my host
machine was installed with a Opensuse11.4 while the guest OS is
Fedora14, the strange thing is, whenever I run following simple
program, the number exported by /sys/kernel/mm/ksm/page_sharing
increase dramatically, I mean, no matter what file I am loading, the
corre...
2010 Aug 20
0
KSM failure on Xen 4.0.1/FC 13
Greetings Xen Users,
I am trying to bring up xen-4.0.1-0.1.rc4.fc13 on an up to date FC 13 Dell Precision 690. For dom0, I am using the 2.6.32.17 PVOPS kernel. Xen boots and the kernel boots until it reaches a point where KSM fails (as it should, since KSM is compiled out) but hangs, because it cannot find /sys/kernel/mm/ksm/sleep_millisecs and friends. I have booted the kernel on bare metal (KSM failed but did not hang the boot) and used chkconfig to turn KSM off. After the KSM service was configured off, I could boot...
2013 Feb 01
1
Live Migration and KSM merging
Hi,
Could anyone provide (or point me to) information on how KSM merging
behaves when performing live migrations? Does libvirt perform any
special work to trigger KSM scanning of the migrated pages?
Any guidance is appreciated.
James
2020 Sep 29
0
Ksm high load
I have had ksm[2] causing a high load (on recent centos7), such things
have been reported before[1]. I suspect that this could be related to
windows vm's. I am having not that many vm's in the current setup, and
this load increased on the hosts with a few windows vm's that are
already generating m...
2010 Feb 11
0
Enabling KSM with ksmctl under Centos 5.4
Are their any good guides out there on how to use ksmctl to enable and
tune KSM performance on Centos/RedHat
At the moment the only guidelines I can find are from the following OLS
paper, plus the Linux Kernel Docs.
* http://www.kernel.org/doc/ols/2009/ols2009-pages-19-28.pdf
* http://www.kernel.org/doc/Documentation/vm/ksm.txt
On a basic dual cor...
2016 Aug 22
2
Nested KVM issue
...lsyms] [k] _raw_spin_lock
- _raw_spin_lock
+ 45.30% kvm_mmu_sync_roots
+ 28.49% kvm_mmu_load
+ 25.00% mmu_free_roots
+ 1.12% tdp_page_fault
?n joi, 18 aug. 2016 la 11:59, Laurentiu Soica <laurentiu at soica.ro> a scris:
> I've tried with KSM disabled and nothing changed.
>
> I've upgraded KVM to qemu-kvm-ev. I'm waiting to see if there are any
> improvements and report back.
>
> ?n mie., 17 aug. 2016 la 15:10, Boris Derzhavets <bderzhavets at hotmail.com>
> a scris:
>
>> For myself KSM is unpred...
2009 Nov 10
1
KVM + KSM?
Hi guys,
Any chance we could get KSM support in centos 5.4? Maybe the
centosplus ones or a gift from elrepo.
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote:
> On Mon 31-07-17 12:13:33, Wei Wang wrote:
>> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and
>> shouldn't be given to the host ksmd to scan.
> Could you point me where this MADV_DONTNEED is done, please?
Sure. It's done in the hypervisor when the balloon pages are received.
Please see line 40 at
https://github.com/qemu/qemu/blob/master/hw/virtio/virtio-balloon.c
>
>> Therefore, it is not
>> necessary...
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote:
> On Mon 31-07-17 12:13:33, Wei Wang wrote:
>> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and
>> shouldn't be given to the host ksmd to scan.
> Could you point me where this MADV_DONTNEED is done, please?
Sure. It's done in the hypervisor when the balloon pages are received.
Please see line 40 at
https://github.com/qemu/qemu/blob/master/hw/virtio/virtio-balloon.c
>
>> Therefore, it is not
>> necessary...
2010 Oct 06
0
Could not install Xen 4.0.1 on Fedora 13, Please help me.
...ernel.
I can not go through the step "Verify the Xen step after reboot", when I
reboot and choose the new kernel, the system hang on "Starting xend daemon",
so the new kernel could not be booted, and I can not verify the Xen setup.
The information on screen are "/usr/sbin/ksmtuned: line 64:
/sys/kernel/mm/ksm/pages_to_scan: No such file or directory"
"/usr/sbin/ksmtuned: line
65: /sys/kernel/mm/ksm/sleep_millisecs: No such file or directory"
"/usr/sb...
2008 Jan 14
0
Mixed success with Samba 3.0.28 and ADS
...I'm running FreeBSD with Samba 3.0.28 and have had success previously
with FreeBSD and an earlier version of Samba, and am in the process of
setting up a member server to act as a file server using the above
combination.
I have created a kerberos ticket, and successfully joined the domain:
ksm-smb# net ads join -UAdministrator%password
Using short domain name -- END-DESIGN
Joined 'KSM-SMB' to realm 'END-DESIGN.PRI'
ksm-smb# net ads testjoin
Join is OK
ksm-smb#
However, I get from log.winbindd-idmap:
[2008/01/14 09:57:38, 1] nsswitch/idmap.c:idmap_init(377)
Initializi...
2016 Aug 17
2
Nested KVM issue
For myself KSM is unpredictable feature. The problem is Compute, just this node
does "copy on write" , so only Compute.
My concern exactly is where would it lead to worse or better Guest behavior ?
I am not expecting complete fix. I would track via top/htop and dmesg via Cron on 1-2 hr
period.
_...
2016 Aug 22
0
Nested KVM issue
...ock
>
>
> + 45.30% kvm_mmu_sync_roots
>
>
> + 28.49% kvm_mmu_load
>
>
> + 25.00% mmu_free_roots
>
>
> + 1.12% tdp_page_fault
>
> ?n joi, 18 aug. 2016 la 11:59, Laurentiu Soica a
> scris:
>
>> I've tried with KSM disabled and nothing changed.
>>
>> I've upgraded KVM to qemu-kvm-ev. I'm waiting to see if there are
>> any improvements and report back.
>>
>> ?n mie., 17 aug. 2016 la 15:10, Boris Derzhavets
>> <bderzhavets at hotmail.com> a scris:
>>
&g...
2017 Jul 31
0
[PATCH] mm: don't zero ballooned pages
...t; >>>On 07/31/2017 02:55 PM, Michal Hocko wrote:
> >>>> >On Mon 31-07-17 12:13:33, Wei Wang wrote:
> >>>>> >>Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and
> >>>>> >>shouldn't be given to the host ksmd to scan.
> >>>> >Could you point me where this MADV_DONTNEED is done, please?
> >>>
> >>>Sure. It's done in the hypervisor when the balloon pages are received.
> >>>
> >>>Please see line 40 at
> >>>https://github.com...
2016 Aug 17
2
Nested KVM issue
It sounds weird, but attempt to disable KSM and see would it help or no ?
________________________________
From: centos-virt-bounces at centos.org <centos-virt-bounces at centos.org> on behalf of Laurentiu Soica <laurentiu at soica.ro>
Sent: Wednesday, August 17, 2016 4:56 AM
To: Discussion about the virtualization on CentOS
Su...
2016 Aug 18
0
Nested KVM issue
I've tried with KSM disabled and nothing changed.
I've upgraded KVM to qemu-kvm-ev. I'm waiting to see if there are any
improvements and report back.
?n mie., 17 aug. 2016 la 15:10, Boris Derzhavets <bderzhavets at hotmail.com>
a scris:
> For myself KSM is unpredictable feature. The problem is Comp...
2019 Mar 08
1
[RFC PATCH V2 5/5] vhost: access vq metadata through kernel virtual address
...t; > > struct vhost_virtqueue **vqs, int nvqs, int iov_limit)
> > > > > {
> > > > I also wonder here: when page is write protected then
> > > > it does not look like .invalidate_range is invoked.
> > > >
> > > > E.g. mm/ksm.c calls
> > > >
> > > > mmu_notifier_invalidate_range_start and
> > > > mmu_notifier_invalidate_range_end but not mmu_notifier_invalidate_range.
> > > >
> > > > Similarly, rmap in page_mkclean_one will not call
> > > > mmu_no...
2019 Mar 08
1
[RFC PATCH V2 5/5] vhost: access vq metadata through kernel virtual address
...t; > > struct vhost_virtqueue **vqs, int nvqs, int iov_limit)
> > > > > {
> > > > I also wonder here: when page is write protected then
> > > > it does not look like .invalidate_range is invoked.
> > > >
> > > > E.g. mm/ksm.c calls
> > > >
> > > > mmu_notifier_invalidate_range_start and
> > > > mmu_notifier_invalidate_range_end but not mmu_notifier_invalidate_range.
> > > >
> > > > Similarly, rmap in page_mkclean_one will not call
> > > > mmu_no...
2016 May 09
0
[PATCH v5 02/12] mm: migrate: support non-lru movable page migration
...gi-oh.kim at profitbricks.com>
Signed-off-by: Minchan Kim <minchan at kernel.org>
---
Documentation/filesystems/Locking | 4 +
Documentation/filesystems/vfs.txt | 11 ++
Documentation/vm/page_migration | 107 +++++++++++++++++-
include/linux/fs.h | 2 +
include/linux/ksm.h | 3 +-
include/linux/migrate.h | 5 +
include/linux/mm.h | 1 +
include/linux/page-flags.h | 29 +++--
mm/compaction.c | 47 +++++---
mm/ksm.c | 4 +-
mm/migrate.c | 222 ++++++...