ubuntu server on virtual box, slow performance troubleshoot

facebook

I run Ubuntu 14.02 headless server on a Virtual Box. I ssh into the box using Cygwin. I use screen, it has ~6 tabs open.

In the first tab I run ember serve. It watches files for changes, and serves them on web server. Other tabs run emacs. When I hit save on emacs, the browser in my host refreshes (by ember-cli).

In average it takes ~1 second to refresh the page almost instantly. But sometimes it takes ~7 seconds to refresh the page, and emacs slows down too.

What could cause this problem, how can I detect and fix it?

VirtualBox Settings:

  • Base Memory: 512MB
MariusMatutiae

By far the most likely explanation is that you have too little memory,

You find out the use of your Ubuntu memory by means of

 # free -m
             total       used       free     shared    buffers     cached
Mem:          7863       4007       3855        308        303       1710
-/+ buffers/cache:       1994       5869
Swap:         6143          0       6143

Check the size of the used swap, 0 in my case because I have 8GB of memory and I am doing nothing at this time. If instead your swap is fully used, as I presume, your VM is spending all the time swapping pages in and out of memory, slowing down you system.

Increase the size of the VM's memory by clicking on its name, then System, then Base Memory.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

tar slow on Ubuntu Server

分類Dev

Inconsistent, Slow Encryption Performance with Jasypt on Ubuntu Linux

分類Dev

Windows virtual box with ubuntu unable to boot

分類Dev

How to improve Ubuntu's perormance in Virtual Box

分類Dev

Error When Install Ubuntu on Virtual Box

分類Dev

Ubuntu 14.04 LTS VMware and Virtual Box ova/ovf images

分類Dev

Oracle Virtual Box6上のUbuntu18.04

分類Dev

Make an Ubuntu virtual server reachable from Internet

分類Dev

Slow performance for update cursor

分類Dev

Slow mysql performance

分類Dev

Suitalbe ISO for Virtual box

分類Dev

Ubuntu 14.04, Docker(left sidebar) does not show in auto hide mode on Virtual Box

分類Dev

Ubuntu is not installing on Virtual box with error of not enough space while I do have the space

分類Dev

Virtual Box が Ubuntu をインストールしない

分類Dev

Virtual Box が Ubuntu をインストールしない

分類Dev

ArangoDB - Slow query performance on cluster

分類Dev

Slow Swift Arrays and Strings performance

分類Dev

Do functions slow down performance

分類Dev

xbindkeys slow on Ubuntu 13.10

分類Dev

Virtual box doesn't work

分類Dev

SQL Server MERGE Slow

分類Dev

SQL Server MERGE Slow

分類Dev

Ubuntu + Virtual BoxでWindowsプログラムを実行できますか?

分類Dev

Ubuntu Virtual Box マシン内で Vagrant box を実行することは可能ですか?

分類Dev

OWIN Login slow performance >30 Seconds

分類Dev

Slow performance using .head() with pandas in loop

分類Dev

Core Image GPU performance too slow

分類Dev

Ubuntu System time is slow/behind

分類Dev

Oracle VM Virtual Box Doesn't start

Related 関連記事

ホットタグ

アーカイブ