/VMX86.O cc [m]/tmp/modconfig-5axyzd/vmmon-only/common/cpuid.o cc [m]/tmp/modconfig-5axyzd/vmmon -ONLY/COMMON/TASK.O cc [m]/tmp/modconfig-5axyzd/vmmon-only/common/comport.o cc [m] /TMP/MODCONFIG-5AXYZD/VMMON-ONLY/COMMON/PHYSTRACK.O CC [M]/TMP/MODCONFIG-5AXYZD/VMMON-ONLY/VMCORE/MODULELOOP.O/ Tmp/modconfig-5axyzd/vmmon-only/common/phystrack.o:warning:objtool:phystrack_free () falls through to next function Phystrack_add ()/tmp/modconfig-5axyzd/vmmon-only/common/phystrack.o:warning:objtool:phystra
Original: http://blog.fens.me/vps-kvm/
1. Environmental Preparedness
1) Two computers, one is Operation computer client, one is server
Client: Notebook PC, Win7 flagship, 64-bit, intranet ip:192.168.1.101
Server (Host): Servers, Ubuntu 12.04LTS 64-bit, 2-core cpu,4g memory, intranet ip:192.168.1.10,
2) on server startup, enter BIOS support for CPU virtualization
into the BIOS, in the config–> CPU option, Intel (R) virtualization technology (enabled) Intel (r) vt-d Feature (enabled)
Different
/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
1 PackageFengke.hashcode;2 /**3 * Details the difference between null and new Class ();4 * Distinguish between static and construction operation;5 * @authorFeng Ke6 *7 */8 9 Public classStacticandconstructiontest {Ten One Public Static intA = 0; A - Static { -A = 10; theSystem.out.println ("Static code block of the parent class is executing a=" +a); - } - - { +A = 8; -SYSTEM.OUT.PRINTLN ("Non-static code block of the parent class is executing a=" +a); + } A at
64 bits are used for the MMX data register mm0~mm7; when executing x87 floating-point arithmetic instructions, they are used as floating-point data registers R0~R7(3) The Task Register TR, which holds the selector for the selection task status segment (Task State Segment, TSS) descriptor, the TSS is used to hold the state information of a task, in a multitasking environment, when the CPU switches from one task to another, The status of the previous task's register is saved in the TSS(4) Timesta
Typescript is a superset of JavaScript built-in, adding optional static types and object-oriented programming to help us develop large web applications. Sublime Text is a code editor, with a beautiful user interface and strong plug-in support, through the Sublime to write Typesript can let us go to the duck, Sublime support the build function, can compile some common language, However, the compilation of Typesript to JavaScript cannot be completed. But it doesn't matter, we can use the manual se
Device interfaces (expansion cabinet interfaces) in ds4800 and ds5000 ):
Device Interface (expansion cabinet Interface): for example, interface 1 and interface 2 are connected through a loop switching chip in the Controller. Therefore, interface 1 and interface 2 are connected through a channel,
Control a 4---b Control 1 forms loop to 1 (loop pair)Control a 2---b Control 3 forms loop pair 2 (loop pair)
Control a 3-B Control 1 forms a loop to 3 (loop pair)Control a 1---b control 4 forms loop t
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
code in the kernel mode of thread execution, expressed in NS.
User time
Used to indicate the absolute time value used by the thread to execute the application code, expressed in NS
The following function converts the time represented by pfiletime to the actual time used:
_ Int64 filetimetoquadword (pfiletime PFT)
{
Return (int64shllmod32 (PFT-> dwhighdatetime, 32) | PFT-> dwlowdatetime );
}
There is also a get process running time:
Bool getprocesstimes (
Handle hthread,
Pfilet
the timestamp counter (TSC) CPU register, which Increments at each clock signal. Because this register is automatically updated by hardware, TCS provides more accurate time measurements.
Install hangcheck-timer.o Module
Hangcheck-timer was initially provided only by Oracle. However, this module is now included in Red Hat Linux starting from kernel version 2.4.9-e.12 and later. If you follow the steps in section 8th ("obtain and install the appropriat
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.