Oleksandr Gavenko

Results 57 comments of Oleksandr Gavenko

![pngtzpduvhd4p](https://cloud.githubusercontent.com/assets/273770/18933221/718c4f68-85dc-11e6-86f9-2bd3bf8faf1d.png)

I tried https://www.vagrantup.com/docs/disks/configuration to pass `--discard on --nonrotational on` for TRIM support (with `export VAGRANT_EXPERIMENTAL="disks"`). Unfortunately Vagrant 2.2.10 doesn't support syntax `config.vm.disk` yet: ``` # config.vm.disk :disk, name: "ydisk", size:...

While it is convenient (and portable way) to use PowerShell to source Windows host info it is a poor choice. Most of that info could be extracted by reading registry...

> and it's the same in WSL2 (Ubuntu 20.04 LTS) : Probably you configured passing control from WSL2 to Windows? WSL's `vagrant` delegates all commands to native Windows `vagrant` utility....

Please use `VAGRANT_LOG` for testing. They log relevant information: ``` VAGRANT_LOG=debug vagrant status ``` In addition install `ts` utility for timestamps (to find bottlenecks easier): ``` VAGRANT_LOG=info vagrant halt 2>&1...

`vagrant help` isn't useful for testing. You don't use this command normally. Try `vagrant status` instead. `vagrant help` is meaningless.

> I found a solution that helped me, I updated my bios and in the power settings I set max performance No offense but it sounds as a tip from...

> Maybe it could be useful ? (Windows 10 + Hyper-V) No, `vagrant` CLI invoke `powershell` several times. PowerShell is known to be slow a a hell (bootrapping).

@berney For `vagrant help` it is Ruby. But we don't normally use `vagrant help`. If you profile `vagrant up` startup time jumps from 2s to 15s because of PowerShell. I...

For those who suffer I work with patched Vagrant for 3 years, file `platform.rb.diff`: ```diff c:/opt/Vagrant/embedded/gems/2.2.3/gems/vagrant-2.2.3/lib/vagrant/util/platform.rb --- platform.rb.orig 2020-09-29 14:01:55.477153300 +0300 +++ platform.rb 2019-05-16 00:42:37.032299600 +0300 @@ -75,6 +75,8 @@...