/proc provide the latest information about the physical environment of the system. Although files in/proc are virtual, they can still be viewed using any file editor or programs such as 'more', 'less ', or 'cat. When the editing program tries to open a virtual file, the file is created out of thin air by the information in the kernel. Here are some interesting results I got from my system:$ Ls-l/proc/cpuinfo-R -- 1 root 0 Dec 25 :01/proc/cpuinfo$ File/proc/cpuinfo/Proc/cpuinfo: empty$ Cat/proc/c
about it. That is to say, when KVM is used for bridge, there is a small problem and we will record it.
By default, KVM is not installed. Before installation, check whether the CPU supports the VT technology.
1. Switch to the root ModeBy default, the ubuntu root account is not enabled. To enable it, you need to make some settings. For installation convenience, enable the root account.Sudo passwd rootAfter the password is entered, the su root enters the master mode.
2. Check CPU InformationEgrep
processor type
It is best to use virtualization technology that supports Intel VT or amd pt. To check whether the central processor is supported, run the following command:
# Grep vmx/proc/cpuinfoFlags: fpu tsc msr pae mce cx8 apic mtrr mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm merge pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
If a vmx sign appears, it indicates that you have Intel processor virtualization s
Install kvm in Ubuntu to virtualize multiple external tuservers on one server for cluster. Several solutions have been taken into consideration. because of the exclusion of the price, VirtualBox is good, but KVM is a Linux kernel layer and delivers better performance. Use is preferred. Www.2cto.com...
Install kvm in Ubuntu to virtualize multiple Ubuntu servers on one server for cluster. Several solutions have been taken into consideration. because of the exclusion of the price, VirtualBox is goo
blocked. the system may not be able to respond to the ping request. because a CPU can no longer respond to the interruption, the scheduled interruption of the local APIC on it cannot work. You can use the NMI Watchdog method to check the counter variable maintained by the local APIC handler ), NMI Watchdog can call panic () in its processing program, so that users can use kdump to collect memory informatio
chipset is from 8 m to 16 m. there are memory mappedapic devices in the system. the IO unit is at fec00000 and the localunit is at fee00000. the system BIOS is remapped to 4G-64 K.
Note that the 639 K endpoint of the first memory range is also the basememory size reported in the BIOS data segment at 40: 13.
Key to types: "arm" is addressrangememory, "arr" is addressrangereserved.
Base (Hex)LengthTypeDescription0000 0000639KARMAvailable Base memory - typically the samevalue as is returned via t
Linux core is an important time-related domain name or change. The following describes Hz, tick, and jiffies.
Hz
In Linux, the kernel sends the timer interrupt (IRQ 0) Every fixed period. Hz is used to determine that there are two times of timer interrupts every second. In the example, Hz is 1000, indicating that there are 1000 timer interrupts requests per second. Hz can be set when the core is updated, as shown in the following example (the core version is 2.6.20-15 ):
Adrian @ Adrian-deskto
To virtualize multiple Ubuntu servers on one server, it is used for clusters. Several solutions have been taken into consideration. Because of the exclusion of the price, virtualbox is good, but KVM is a Linux kernel layer and delivers better performance. Use is preferred.
First, install Ubuntu 12.04 amd64 server on an experimental machine. Upgrade the system patch and kernel. The hostname is kvmhost. The IP address is 10.112.18.177. The virtualization function is enabled on the motherboard.
Oka
The new computer is tossing Ubuntu12.04 LT the new computer, which will be my main tool in the future. Naturally, it cannot be left alone with the ready-to-use Ubunu. Considering the compatibility and the usage of 4G memory in Ubuntu, a 32-bit system is selected. The installation of the USB flash drive is ready-made, and it is easy to handle the problem. The result has been tossing for several days. The main board, graphics card, and wireless network card are all tricky. The first problem with t
Install kvm in Ubuntu to virtualize multiple Ubuntu servers on one server for cluster. Several solutions have been taken into consideration. Because of the exclusion of the price, VirtualBox is good, but KVM is a Linux kernel layer and delivers better performance. Use is preferred. Www.2cto.com first installs Ubuntu 12.04 amd64 server on an experimental machine. Upgrade the system patch and kernel. The hostname is kvmhost. The IP address is 10.112.18.177. The virtualization function is enabled o
Linux Hz
Several important terms or variables related to time in Linux are described below: Hz, tick, and jiffies.
HzThe Linux kernel sends timer interrupt (IRQ0). Hz is used to define the number of timer times per second.Interrupts. For example, if Hz is 1000, there are 1000 timer interrupts requests per second.Hz can be set when compiling the core, as shown in the following figure (taking the core version 2.6.20-15 as an example ):Adrian @ Adrian-desktop :~ $ CD/usr/src/LinuxAdrian @ Adrian-de
/hvmloader"# The domain build function. HVM domain uses 'hvm'.builder='hvm'# Initial memory allocation (in megabytes) for the new domain.## WARNING: Creating a domain with insufficient memory may cause out of# memory errors. The domain needs enough memory to boot kernel# and modules. Allocating less than 32MBs is not recommended.memory = 1024# Shadow pagetable memory for the domain, in MB.# If not explicictly set, xend will pick an appropriate value. # Should be at least 2KB p
I used to draw a memory distribution chart with some macro definitions of kernel memory management.Such as vmalloc_start, vmalloc_end, and fixaddr_start.I always thought that these values had more or less errors in the actual kernel. I did not expect to read them a few days ago.They are completely consistent.
To calculate the total vmalloc size, we think that 1 GB of kernel space starts from 0.First, my physical memory exceeds 896 MB, so high_memory is 896 MB.8 m holes are used to capture out-of
Several important terms or variables related to time in Linux are described below: Hz, tick, and jiffies.
(1) Hz
The Linux kernel sends timer interrupt (IRQ 0) Every fixed period. Hz is used to define the number of times timer interrupts is generated every second. For example, if Hz is 1000, there are 1000 timer interrupts requests per second. Hz can be set when the core is compiled. For details about the query setting method, see the previous article "How long has it been running in Linux". Hz
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.