Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> การเขียนโปรแกรม

ความแตกต่างระหว่าง Full Virtualization และ Paravirtualization

ในโพสต์นี้ เราจะทำความเข้าใจความแตกต่างระหว่าง full virtualization และ paravirtualization

Full Virtualization

กระบวนการนี้ presented โดย IBM ในปี 1966 ถือเป็น software solution แรกสำหรับ server virtualization ใช้ binary translation และ direct approach method

  • Guest OS isolated เต็มที่โดย virtual machine จาก virtualization layer และ hardware
  • ตัวอย่าง: Microsoft และ Parallels systems
  • VM อนุญาตให้ execute instructions รวมถึงรัน unmodified OS แบบ isolated เต็มที่
  • ถือว่า less secure กว่า paravirtualization
  • ใช้ binary translation เป็น operational technique
  • ช้ากว่า paravirtualization ด้าน operation
  • Portable และ compatible มากกว่า paravirtualization

Paravirtualization

เป็นส่วนของ CPU virtualization ที่ใช้ hypercalls สำหรับ operations เพื่อจัดการ instructions ที่ compile time

  • Guest OS ไม่ isolated เต็ม แต่ partially isolated จาก virtualization layer และ hardware ด้วย VM
  • ตัวอย่าง: VMware และ Xen
  • VM ไม่ implement full isolation ของ OS
  • ให้ different API ที่ใช้เมื่อ OS ถูกเปลี่ยนแปลง
  • ถือว่า more secure กว่า full virtualization
  • ใช้ hypercalls ที่ compile time สำหรับ operations
  • เร็วกว่า full virtualization ด้าน operation
  • Portable และ compatible น้อยกว่า