The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Virtualizing on SSD pros and cons

    Discussion in 'Hardware Components and Aftermarket Upgrades' started by superparamagnetic, Jan 23, 2013.

  1. superparamagnetic

    superparamagnetic Notebook Consultant

    Reputations:
    402
    Messages:
    252
    Likes Received:
    56
    Trophy Points:
    41
    I'm planning to virtualize Kubuntu on my laptop and I'm thinking about placing the installation on the SSD rather than the HDD. I wanted to get a sense of the pros and cons before I do, though.

    Here's what my understanding is:

    Pros:
    Runs fast - I'll probably be 50/50 on host and guest so this is a big pro for me

    Cons:
    More ssd space taken up - currently I'm using 48.7 GiB on a 128 GB m4 ssd, so an extra 20 GB isn't a big deal
    No TRIM???
    More writes to ssd - don't really care
    Might slow down performance - don't really care if it's less than 25% difference


    Anything else I'm missing?
     
  2. Jarhead

    Jarhead 恋の♡アカサタナ

    Reputations:
    5,036
    Messages:
    12,168
    Likes Received:
    3,133
    Trophy Points:
    681
    I don't see why TRIM wouldn't work when using virtual machines. IIRC, a virtual machine is just another file on the host OS, and thus is treated the same as all other files on the disk and is taken care of with TIRM from the host OS.

    And the only way I see this slowing down performance is if your SSD is just about completely full, but otherwise a virtual machine is just another file and the VM software just another program.

    All that said, I've never noticed any unusual activity or performance decrease on my laptop simply by using a virtual machine.
     
  3. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    TRIM only works on the actual deletion of files. Within a VM, usually everything exists in disk files which either grows / shrinks with VM usage, but is never deleted. So TRIM would ineffective in that use case.

    TBH, I've never noticed that my VM's disk files ever "decrease" in size. So if they're always growing, then TRIM wouldn't matter in that case. My guess is that when one runs the VM software "defragger" on the disk (not within the Guest OS), I bet it would then shrink the file.
     
  4. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
  5. jaug1337

    jaug1337 de_dust2

    Reputations:
    2,135
    Messages:
    4,862
    Likes Received:
    1,031
    Trophy Points:
    231
    Actually.... VirtualBox does this too (they just updated) as far as I recall
     
  6. Geekz

    Geekz Notebook Deity

    Reputations:
    613
    Messages:
    974
    Likes Received:
    2
    Trophy Points:
    31
    Only con really is diskspace, I try very hard hard to keep my VMs under 80 gigs which means cleaning and reverting to a base snapshot every few months or so.

    a few years back there were concerns with vm's writing a lot on an ssd (when hitting too much writes could "wear out your ssd faster" was still the trend, since every pause, sleep,hibernate,shutdown,copy has write transactions to the host), nowadays nobody really cares anymore.