Please select To the mobile version | Continue to access the desktop computer version

Largest VPS Forum

 Forgot password?
 Free Register
View: 295|Reply: 7

KVM or OpenVZ?

[Copy link]

2

Threads

3

Posts

5

Credits

new member

Rank: 1

Credits
5
Post time 2022-2-20 23:40 From the mobile phone | Show all posts |Read mode
In terms of security, privacy, and flexibility - KVM or OpenVZ -
Reply

Use magic Report

0

Threads

7

Posts

0

Credits

new member

Rank: 1

Credits
0
Post time 2022-2-20 23:49 | Show all posts
"Native" or "bare metal" hypervisors such as Xen or KVM are preferable to "hosted" hypervisors like OpenVZ or Virtuozzo because they allow access to kernel-level commands like "ipset" that may be needed to block denial of service or spam attacks. They also have better isolation from other users.
Reply

Use magic Report

152

Threads

166

Posts

318

Credits

Intermediate member

Rank: 3Rank: 3

Credits
318
Post time 2022-2-21 00:01 | Show all posts
KVM will give you better performance too.
Reply

Use magic Report

2

Threads

3

Posts

5

Credits

new member

Rank: 1

Credits
5
 Author| Post time 2022-2-21 00:10 | Show all posts
Originally Posted by Phil McKerracher                                                                                                         ...They also have better isolation from other users.                                                You're referring to dedicated cpu and memory, correct?

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Reply

Use magic Report

1

Threads

6

Posts

7

Credits

new member

Rank: 1

Credits
7
Post time 2022-2-21 00:20 | Show all posts
KVM, no doubt.

The only reason to use OpenVZ is to put more VMs on the same hardware as OpenVZ has less RAM overhead per tenant. If one of the tenants starts using more CPU or hits the RAM quota though, it affects every other VM.
Reply

Use magic Report

0

Threads

7

Posts

0

Credits

new member

Rank: 1

Credits
0
Post time 2022-2-21 00:28 | Show all posts
Originally Posted by GoneRogue                                                                                                        You're referring to dedicated cpu and memory, correct?                                                Actually no, I was referring to the sharing of kernel resources. With a "bare metal" hypervisor you could install (and optimise) completely different operating systems on each virtualised machine, so there is relatively little chance of VPSs being able to communicate with each other in ways that you don't want.

I believe even bare metal hypervisors typically allocate CPUs and memory dynamically to different virtual machines depending on load, for cost reasons. It's possible to get dedicated cpu and memory but it costs more.

It's not a black and white thing, there are many nuances in the security and performance issues.

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Reply

Use magic Report

0

Threads

1

Posts

0

Credits

new member

Rank: 1

Credits
0
Post time 2022-2-21 00:37 | Show all posts
For multi-tenant environments, KVM is better isolation and resource guarantee. But for my own use, I prefer to use containers like OpenVZ, Docker, or LXC.
Reply

Use magic Report

0

Threads

2

Posts

0

Credits

new member

Rank: 1

Credits
0
Post time 2022-2-21 00:41 | Show all posts
Originally Posted by LinuxFox                                                                                                        KVM, no doubt.

The only reason to use OpenVZ is to put more VMs on the same hardware as OpenVZ has less RAM overhead per tenant. If one of the tenants starts using more CPU or hits the RAM quota though, it affects every other VM.                                                +1

CL only has partial support for OpenVZ.

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Reply

Use magic Report

You have to log in before you can reply Login | Free Register

Points Rules

Archiver|mobile|showdarkroom|World's Largest VPS Forum

2022-10-2 16:37 GMT-5 , Processed in 0.127620 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list