[Dev] KSM vs hugepage
by Zhang, Yang Z
Hi Arjan,
As we known, KSM is an import feature for clear Linux. And huge page brings great performance. But KSM only supports 4K so far (correct me if I am wrong), is there any solution to make them work together?
best regards
yang
5 years, 6 months
[Dev] Announcement: Clear Containers for Docker Engine
by Dimitri John Ledkov
Clear Containers for Docker* Engine is now available on multiple operating systems. This enables executing existing Docker applications in the secure and fast Clear Containers environment.
The experimental source code is based on the Docker 1.8.1 upstream release and the repository is published at:
https://github.com/clearlinux/docker
The primary host platform is Clear Linux* Project for Intel® Architecture, version 4000 or better, and binaries for a range of operating systems are provided. Downloads are available from:
https://software.opensuse.org/download.html?project=home%3Aclearlinux%3Ap...
Currently experimental builds are available for:
CentOS*, Scientific Linux* 7
Fedora* 21, 22
openSUSE* 13.1, 13.2, Tumbleweed
SUSE* Linux Enterprise 12
Debian* 8.0
Ubuntu* 15.04
If you have any feedback, please mail it to dev(a)lists.clearlinux.org mailing list. Subscription to this list is available at: https://lists.clearlinux.org/mailman/listinfo/dev
Rahim Ibrahim from Docker Inc.: "Intel has made modifications to the open source Docker 1.8 code and published it at https://github.com/clearlinux/docker. We are looking forward to community feedback and collaboration on Intel’s demonstration code in support of secure and isolated container environments via the Open Container Initiative."
Installation Instructions:
- Enable repository:
-- On Clear Linux: $ clr_bundle_add containers-basic
-- On other systems, follow per-repository instructions from:
https://software.opensuse.org/download.html?project=home%3Aclearlinux%3Ap...
- Reload systemd configuration: $ systemctl daemon-reload
- Start docker service: $ systemctl restart docker
About Clear Linux* Project for Intel® Architecture
http://clearlinux.org/
The Clear Linux* Project for Intel® Architecture is a distribution built for various cloud use cases in order to showcase the best of Intel® Architecture technology, from low-level kernel features to complex applications that span across the entire OS stack. We're putting emphasis on power and performance optimizations throughout the operating system as a whole.
About Clear Containers
https://clearlinux.org/features/clear-containers
https://lwn.net/Articles/644675/
Clear Containers leverage the isolation of virtual-machine technology along with the deployment benefits of containers. The security of containers is improved by using Intel® Virtualization Technology (Intel® VT). The optimization of key components results in slimmer, simpler, safer and substantially speedier virtualization.
About Docker* Engine
https://www.docker.com/
Docker* is an open platform for building, shipping and running distributed applications. It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications.
*Other names and brands may be claimed as the property of others
--
Regards,
Dimitri.
5 years, 6 months
[Dev] Problem running ClearLinux with qemu/kvm
by Pradeep Padala
Hi,
I am trying to setup an environment, where I would like to run Docker
containers on ClearLinux. I tried to first follow the instructions from
https://download.clearlinux.org/demos/containers/ and I get the following
error. Any ideas on how to fix this? Also, are there any instructions for
using the latest images?
[root@slice1 containers]# ./boot.sh
# lkvm run -k ./vmlinux.container -m 1024 -c 6 --name guest-4402
Warning: ./vmlinux.container is not a bzImage. Trying to load it as a flat
binary...
# KVM compatibility warning.
virtio-net device was not detected.
While you have requested a virtio-net device, the guest kernel did not
initialize it.
Please make sure that the guest kernel was compiled with
CONFIG_VIRTIO_NET=y enabled in .config.
# KVM compatibility warning.
virtio-console device was not detected.
While you have requested a virtio-console device, the guest kernel did not
initialize it.
Please make sure that the guest kernel was compiled with
CONFIG_VIRTIO_CONSOLE=y enabled in .config.
# KVM session ended normally.
I also tried to use the start_qemu.sh script from
https://download.clearlinux.org/image/. I modified it a little bit, diff
below
[root@slice1 clear]# diff -u start_qemu.sh.1 start_qemu.sh
--- start_qemu.sh.1 2015-09-01 10:32:16.000000000 -0700
+++ start_qemu.sh 2015-09-01 13:52:09.895797843 -0700
@@ -17,9 +17,9 @@
fi
rm -f debug.log
-qemu-system-x86_64 \
+/usr/libexec/qemu-kvm \
-enable-kvm \
- -bios OVMF.fd \
+ -m 512m -bios OVMF.fd \
-smp cpus=4,cores=2 -cpu host \
-vga none -nographic \
-drive file="$IMAGE",if=virtio,aio=threads \
I get the different errors with different images.
clear-2800-kvm.img: Boot Failed. EFI Misc Device
clear-1300-ext4.img
[ 0.296152] intel_rapl: driver does not support CPU family 6 model 26
[ 0.302763] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000004
[ 0.302763]
[ 0.303032] CPU: 0 PID: 1 Comm: systemd-bootcha Not tainted 4.0.1-65 #1
[ 0.303032] ffff88001e57fd28 ffff88001e57fc68 ffffffff9c8568e8
ffffffff9ce4daf8
[ 0.303032] ffffffff9cc90198 ffff88001e57fce8 ffffffff9c852f7e
ffff88001e580000
[ 0.303032] ffffffff00000010 ffff88001e57fcf8 ffff88001e57fc98
ffffffff9ce55300
[ 0.303032] Call Trace:
[ 0.303032] [<ffffffff9c8568e8>] dump_stack+0x45/0x57
[ 0.303032] [<ffffffff9c852f7e>] panic+0xb6/0x1c3
[ 0.303032] [<ffffffff9c096308>] do_exit+0xb88/0xb90
[ 0.303032] [<ffffffff9c096392>] do_group_exit+0x42/0xc0
[ 0.303032] [<ffffffff9c0a16f6>] get_signal+0x236/0x680
[ 0.303032] [<ffffffff9c002423>] do_signal+0x23/0x7a0
[ 0.303032] [<ffffffff9c03a982>] ? __do_page_fault+0x182/0x3d0
[ 0.303032] [<ffffffff9c03a982>] ? __do_page_fault+0x182/0x3d0
[ 0.303032] [<ffffffff9c002c05>] do_notify_resume+0x65/0xc0
[ 0.303032] [<ffffffff9c85ee67>] retint_signal+0x41/0x7a
[ 0.303032] Kernel Offset: 0x1b000000 from 0xffffffff81000000 (relocation
range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.303032] ---[ end Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000004
[ 0.303032]
Any help is appreciated.
Thanks,
Pradeep
5 years, 7 months