Re: VMs on external storage CPU overloading

2020-08-03 Thread john doe
On 8/3/2020 11:00 PM, Michael Stone wrote: On Mon, Aug 03, 2020 at 10:21:01PM +0200, john doe wrote: I'm settleing on buying (1), Google says that it is UASP compatible. Is there some reason you're set on buying a thumb drive form factor? Mainly the form factor and the ease of use. I gues

Re: VMs on external storage CPU overloading

2020-08-03 Thread David Christensen
On 2020-07-30 07:14, john doe wrote: > I have limited space on my box, so I would like to install VMs onto an > external storage (usbkey 3.0) using Libvirt. On 2020-07-31 01:32, john doe wrote: > I have a single board with only USB 3.0 What is the make and model of your computer? Processor?

Re: VMs on external storage CPU overloading

2020-08-03 Thread Michael Stone
On Mon, Aug 03, 2020 at 10:21:01PM +0200, john doe wrote: I'm settleing on buying (1), Google says that it is UASP compatible. Is there some reason you're set on buying a thumb drive form factor?

Re: VMs on external storage CPU overloading

2020-08-03 Thread john doe
On 7/30/2020 5:19 PM, Dan Ritter wrote: john doe wrote: On 7/30/2020 4:41 PM, Dan Ritter wrote: Two things: - your CPU load, depending on how you measure it, may include processes which are waiting for I/O. This I/O is very slow, so. - not all USB3 devices are the same. Many implement

Re: VMs on external storage CPU overloading

2020-08-02 Thread Stefan Monnier
>>> IMO, allthose question as irrelevant - the problem is the IO. You can try it >>> easily. get USB 2.0 and put a VM on it - >> I have and have had no such problems. >> I strongly suspect that there's something else at play. >> E.g. its VM is performing a lot of disk IO. > Can you expand on your t

Re: VMs on external storage CPU overloading

2020-08-02 Thread Stefan Monnier
>> I have and have had no such problems. >> I strongly suspect that there's something else at play. >> E.g. its VM is performing a lot of disk IO. > You mean you can run a VM from USB2.0 smoothly? Yes, it works just like from the internal drive (just a bit less efficient, just like all other non-V

Re: VMs on external storage CPU overloading

2020-08-02 Thread Andrei POPESCU
On Vi, 31 iul 20, 10:32:21, john doe wrote: > > In other words, what command can I use to ensure that it is a IO issue. Try 'iotop', in the package of the same name. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature

Re: VMs on external storage CPU overloading

2020-08-01 Thread john doe
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 updat

Re: VMs on external storage CPU overloading

2020-08-01 Thread Andrew Cater
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 CP

Re: VMs on external storage CPU overloading

2020-08-01 Thread john doe
On 7/31/2020 2:52 PM, Stefan Monnier wrote: IMO, allthose question as irrelevant - the problem is the IO. You can try it easily. get USB 2.0 and put a VM on it - I have and have had no such problems. I strongly suspect that there's something else at play. E.g. its VM is performing a lot of disk

Re: VMs on external storage CPU overloading

2020-07-31 Thread deloptes
Stefan Monnier wrote: > I have and have had no such problems. > I strongly suspect that there's something else at play. > E.g. its VM is performing a lot of disk IO. You mean you can run a VM from USB2.0 smoothly?

Re: VMs on external storage CPU overloading

2020-07-31 Thread Stefan Monnier
> IMO, allthose question as irrelevant - the problem is the IO. You can try it > easily. get USB 2.0 and put a VM on it - I have and have had no such problems. I strongly suspect that there's something else at play. E.g. its VM is performing a lot of disk IO. Stefan

Re: VMs on external storage CPU overloading

2020-07-31 Thread john doe
Answering here to Stefanand Deloptes. On 7/31/2020 7:54 AM, deloptes wrote: Stefan Monnier wrote: What makes you think so?  Does it overheat?  Is the "load average" too high? Where is the CPU time spent (i.e. e.g. what does `top` say, is it mostly in "wait"?  "kernel"?  "user"?)? Load avrag

Re: VMs on external storage CPU overloading

2020-07-30 Thread deloptes
Stefan Monnier wrote: > What makes you think so?  Does it overheat?  Is the "load average" too > high? Where is the CPU time spent (i.e. e.g. what does `top` say, is it > mostly in "wait"?  "kernel"?  "user"?)? > > Have you tried to install a similar (tho probably smaller) VM on your > internal s

Re: VMs on external storage CPU overloading

2020-07-30 Thread Stefan Monnier
> My CPU overloads like crazy. What makes you think so? Does it overheat? Is the "load average" too high? Where is the CPU time spent (i.e. e.g. what does `top` say, is it mostly in "wait"? "kernel"? "user"?)? Have you tried to install a similar (tho probably smaller) VM on your internal stor

Re: VMs on external storage CPU overloading

2020-07-30 Thread deloptes
john doe wrote: > Other then increasing the size of my internal storage, can I do > something about it? Some boards have SATA or eSATA port that would match external USB-drive with SATA/eSATA. My one did not have it on board, but I added a 2 Port card with SATA and connect a rather old usb2 box w

Re: VMs on external storage CPU overloading

2020-07-30 Thread john doe
On 7/30/2020 5:19 PM, Dan Ritter wrote: john doe wrote: On 7/30/2020 4:41 PM, Dan Ritter wrote: Two things: - your CPU load, depending on how you measure it, may include processes which are waiting for I/O. This I/O is very slow, so. - not all USB3 devices are the same. Many implement

Re: VMs on external storage CPU overloading

2020-07-30 Thread Dan Ritter
john doe wrote: > On 7/30/2020 4:41 PM, Dan Ritter wrote: > > Two things: > > > > - your CPU load, depending on how you measure it, may include > >processes which are waiting for I/O. This I/O is very slow, > >so. > > > > - not all USB3 devices are the same. Many implement a > >singl

Re: VMs on external storage CPU overloading

2020-07-30 Thread john doe
On 7/30/2020 4:41 PM, Dan Ritter wrote: john doe wrote: Hi Debians, I have limited space on my box, so I would like to install VMs onto an external storage (usbkey 3.0) using Libvirt. In the below command '/mnt/usbkey01' is the mountpoint for my usbkey: virt-install --name=try01 --ram=1024 --

Re: VMs on external storage CPU overloading

2020-07-30 Thread Dan Ritter
john doe wrote: > Hi Debians, > > I have limited space on my box, so I would like to install VMs onto an > external storage (usbkey 3.0) using Libvirt. > > In the below command '/mnt/usbkey01' is the mountpoint for my usbkey: > > virt-install --name=try01 --ram=1024 > --disk=path=/mnt/usbkey01/