I installed VirtualBox and I want to install Devstack on ubuntu 14.10, this is just for test, So how much should I specify the RAM memory and Memory to use by the VM?
I have a windows 7 with 32 bits
Intel i3
RAM: 4 Go (2.64 Go usable)
27 Go space left on my disk
Thank you very much
If you are doing for testing, these are recommended settings for VM.
Processor - at least 2 cores
Memory - at least 8GB
Hard Drive - at least 60GB
and Use at least 1 GB of RAM but I would suggest to use 2GB RAM to perform well.
Reference: Setup DevStack
See to it that you provide 2 cores and a minimum of 2 GB RAM. Devstack really needs a lot of CPU and still with this 2GB it will crouch a lot.
But basic configurations can still be done with this minimal settings.
Related
We have 3 machines: One has Windows server OS 2012-r2 installed with decent specs (12 GB RAM, 3.6 GHz, 4 cores, 600 GB hard disk). The others are home laptops with regular specs of Ubuntu 20.04 & MacOS. All are dealing with an SQLite DB.
In a loop, simple 4000 SELECT - COUNT queries are run to calculate certain value of a table row. This is followed by an UPDATE of that calculated value in another table. We notice that:
In MacOS, it takes 2-3 mins
In Ubuntu, it takes 5 mins
In Windows, it takes 3 hours 8 mins!!!
Upon seeing logs, we noticed that every SELECT + UPDATE queries together take 1-3 seconds in Windows. Moreover Ubuntu uses a core with 100% CPU for our program, while Windows server utilizes only < 2% only.
This is a very significant difference. All are running the same source code. Is there anything we can do to make the Windows server OS performing the queries on par with Linux & MacOS?
Turns out that the performance was worsening due to a Mutex lock every time before a SELECT + UPDATE. This was meant for the thread safety as the DB is expected to be accessed from the multiple threads.
After changing the design where the DB is now accessed from the single thread, the performance improved manifold. In Ubuntu it became 5X faster and in Windows it became 10X faster!!
#prapin's comments also has some merit. We are now executing all the UPDATEs within a single transaction. This speeds up at least the Windows performance by 2X.
We have an 64 bit application running on windows, for the fact we know it is leaking very few bytes of memory in the c++ code.But for a setup which has 16gb physical ram and 32gb pagefile.sys. Resource monitor is showing commit memory as 22gb and 900 MB in working set used by our process.
I knew for every process os will create virtual address space in pages and that number of addresses that will be depend on the 32 bit or 64 bit .I also knew that os will swap pages to disk i.e. pagefile.sys for running other apps.In windows i think page size is 4kb, what i want to know is if one byte has leaked in a page of 4 kb in physical ram , then after swapping to disk does it will show as 4kb is used instead of one byte by the process or not ?
I have an N5010 Dell Inspiron laptop from an old time. Due to some problems, I cannot install an operating system on it.
I don't want to explain the details of the problem to avoid someone bypass the answer. What I want to do is to install the operating system on the hard disk from virtualbox and then move the hard-disk back to the laptop. The problem is that an operating system cannot be installed by a system and then work on another system. Therefore, I should have a virtual machine very similar to my laptop.
My laptop's spec is
CPU : Intel Core(TM) i3 CPU M380 # 2.53 GHz
Memory : 8GB
HDD : 1TB
Mother Board : 09909 -1 D15 A14 MB
The questions are
Can I simulate such a system on virtualbox?
Are these information enough to make the systems identical enough for OS to work?
g2.8xlarge instance of Amazon have 4 GPUs with each having 4GB of video memory. My machine learning algorithm running in caffe requires 10 GB of memory at a point in time. Is there any way using which i can make the 4 GPUs act like a single GPU having 16GB of memory. As of now if i try to run my program in the g2.8xlarge instance it will mostly give an error as it will run out of memory.
Any help would be great and any alternatives other than AWS that solves this probelm should also be fine with me but is there any way out using which we can solve this probelm?
I own a lets say a decent laptop with 6gb ram and i5 4CPUs ~2.5 Ghz and I create a virtual machine with half of my resources with default options, I don't change anything and after some time let's say 1h OR if I don't to nothing on virtual machine the cpu start to idle and if I came back to the virtual machine it works VERY slow, looks like the VM freeze or something. There is any options to improve performance on VMware? Why it freeze? Also sometimes the vmware crash. Any tips?
EDIT
I installed a new version of vmware I will comeback to an answer after a few hours too see how it goes...
SOLVED Works great with the last version of VMware... the version which cause me probles was from 2013.
When you have i5 and 6GB of ram. VMware should run perfectly fine. Make sure that there are no other applications running in your base operating system.
The probable reasons can be insufficient RAM or CPU over heat.You dont have to allot half of your resources until and unless you are going to use them in your virtual machine.
If possible reinstall your VMware with optimum resources. Need not to be half of your system.