Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225685

Re: VMs on external storage CPU overloading

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: VMs on external storage CPU overloading
Date 2020-08-01 12:10 +0200
Message-ID <AyWCJ-6qs-3@gated-at.bofh.it> (permalink)
References (1 earlier) <AynOI-1qa-7@gated-at.bofh.it> <Aywff-6B3-3@gated-at.bofh.it> <AyCNH-27w-1@gated-at.bofh.it> <AyVnj-5nw-1@gated-at.bofh.it> <AyWjo-62o-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8/1/2020 11:44 AM, Andrew Cater wrote:
> That's the problem: An internal SSD is connected relatively directly to the
> CPU. Almost all USB keys aren't optimised for fast data transfer other
> than, perhaps, reading/buffering large  single files. Running a VM means
> constant read/write, constant update - it would be all the same as pushing
> a CPU to constant use of a swap file/swap partition. It's massively
> stressful on I/O - if you've a USB 2.x device, it transfers (very) slowly
> compared to USB 3.x.

I have an USB 3.0 (USb port and USB key).

>
> [For an illustration: even identical USB sticks will also vary: writing
> 2.7GB DVD images to a set of USB 2.0 sticks a couple of weeks ago: most of
> them took six minutes, one took 35 - poor i/o and constantly swapping to
> check (I used dd with the oflag=sync option - essential for data
> integrity.) ]
>
> The nearest comparison would be using a nice new NVME device. Inside a
> laptop, in an M.2 slot - as fast as you like. Put it into an external USB
> connected caddy - via USB 3.1 - for data transfer to another NVME inside
> the laptop and it will be slightly to significantly slower. Same chip, same
> laptop, moderated through a slower connection. That's the difference
> between your VM on internal disk and your VM on USB stick
>

Okay, given that I can't increase the internal sise, my only way out is
an USB 3.0 that supports UASP or mounting a remote share by using sshfs...

I had understood Stefan's comment that it could be something else as well.

--
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-07-30 16:20 +0200
  Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-07-30 16:50 +0200
    Re: VMs on external storage CPU overloading Dan Ritter <dsr@randomstring.org> - 2020-07-30 17:30 +0200
      Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-07-30 17:50 +0200
      Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-08-03 22:30 +0200
        Re: VMs on external storage CPU overloading Michael Stone <mstone@debian.org> - 2020-08-03 23:10 +0200
          Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-08-04 08:50 +0200
        Re: VMs on external storage CPU overloading David Christensen <dpchrist@holgerdanske.com> - 2020-08-03 23:30 +0200
  Re: VMs on external storage CPU overloading Dan Ritter <dsr@randomstring.org> - 2020-07-30 16:50 +0200
  Re: VMs on external storage CPU overloading deloptes <deloptes@gmail.com> - 2020-07-30 22:10 +0200
  Re: VMs on external storage CPU overloading Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-30 23:00 +0200
    Re: VMs on external storage CPU overloading deloptes <deloptes@gmail.com> - 2020-07-31 08:00 +0200
      Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-07-31 10:40 +0200
        Re: VMs on external storage CPU overloading Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-02 09:40 +0200
      Re: VMs on external storage CPU overloading Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-31 15:00 +0200
        Re: VMs on external storage CPU overloading deloptes <deloptes@gmail.com> - 2020-08-01 01:30 +0200
          Re: VMs on external storage CPU overloading Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-03 06:00 +0200
        Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-08-01 10:50 +0200
          Re: VMs on external storage CPU overloading Andrew Cater <amacater@gmail.com> - 2020-08-01 11:50 +0200
            Re: VMs on external storage CPU overloading john doe <johndoe65534@mail.com> - 2020-08-01 12:10 +0200
          Re: VMs on external storage CPU overloading Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-03 06:00 +0200

csiph-web