4 ms·
The inevitable cost is zero security. Most desktop OS are not designed with security in mind and are vulnerable in different ways, but it's safe to say that Win
by bcaa7f3a8bbc 7y ago
The inevitable cost is zero security. Most desktop OS are not designed with security in mind and are vulnerable in different ways, but it's safe to say that Windows XP's security is effectively zero at this point.
Personally, I only use Linux and BSDs on my machines, haven't use Windows for years. But I keep a Windows XP VM, I only need to use it for not more than once or twice a month, sometimes it's ancient hardware supporting program, sometimes it's ancient government program. There's no confidential information in the VM.
- mr__y 7y ago> The inevitable cost is zero security When using VMs you could have a separate VM for each application. This will not improve security per se, but at least will isolate the effects of a vulnerability. This of course assumes that sufficient RAM/disk space is available
- throwaway8941 7y agoWith overlayed storage images and KSM, one can run a lot of VMs using a modest amount of memory. Basically you pay the memory cost of the guest OS once, and there's some (much lower) additional overhead per each VM. https://wiki.archlinux.org/index.php/QEMU#Overlay_storage_images https://wiki.archlinux.org/index.php/QEMU#Overlay_storage_im... https://wiki.archlinux.org/index.php/QEMU#Enabling_KSM https://wiki.archlinux.org/index.php/QEMU#Enabling_KSM
- mr__y 7y agoThanks, this sounds very interesting. On the other hand, are there any security implications? (especially if one assumes that hypervisor is _not_ bug-free) edit: I did some initial research and yes, it may have some security implications. However I believe it is not a major concern since the original idea was to use VMs to isolate instances of Windows XP which right now should be considered unsafe anyways
- pstch 7y agoKSM is also not totally free, a good amount of CPU time has to be spent to search for merging opportunities (this amount scales logarithmically with the amount of pages to scan). There is also a simple security implication, since you now have the possibility to over-allocate your physical memory, and suffer great consequences if many pages are unshared at the same time. Merged pages can be swapped out, but since they need to be scanned again when they are swapped in, BEFORE being merged, there is a great potential for memory pressure spikes in some configurations.