0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

rbenv install 2.7.0@WSL1, Hyper-Vの時間比較メモ

Posted at

インストール時間の比較メモ

  • ダウンロード含むので厳密な比較になっていない
  • CPUコア使い切ってなさそう
  • わかってたけどWSL1遅い
    • WSL2で試してみる(そのうち)

WSL1

~$ uname -a
Linux Win10-Ryzen 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

~$ \time rbenv install 2.7.0
Downloading ruby-2.7.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.bz2
Installing ruby-2.7.0...
Installed ruby-2.7.0 to /home/tetsuya/.rbenv/versions/2.7.0

273.00user 208.20system 4:39.22elapsed 172%CPU (0avgtext+0avgdata 336612maxresident)k
0inputs+0outputs (0major+16970166minor)pagefaults 0swaps

image.png

Hyper-V

CPU:24コア
メモリ:8GB 固定割り当て

~$ uname -a
Linux tetsuyainfra-ubuntu18 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

~$ \time rbenv install 2.7.0
Downloading ruby-2.7.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.bz2
Installing ruby-2.7.0...
Installed ruby-2.7.0 to /home/tetsuyainfra/.rbenv/versions/2.7.0

277.30user 25.25system 1:26.42elapsed 350%CPU (0avgtext+0avgdata 339192maxresident)k
112928inputs+3534832outputs (396major+12598666minor)pagefaults 0swaps

image.png

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?