This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Performance: virtual vs. non-virtual machine

0

Dear all,
For a project I've started to set up an own instance of the OSM infrastructure. For now I've started to use the vagrant-machine, so I haven't installed the OSM-website directly on my machine. Unfortunately the performance in the vagrant-instance is not that good as I've hoped. Of course I know that using a virtual machine is not that good, but I've assumed that it is a little bit faster.
One exmaple:
By browsing using the vagrant host from a blank website to the vagrant-osm-instance, the map view using takes about 27 seconds until the map appears.
Is this only caused by the fact that I am using the vagrant machine? At least by checking the performance monitor it seems, that there is enough system capacities and that the system does not run at 100% load.

System: Intel Q6600: 4x3Ghz, 4GB DDR2, 500GB 7200rpm HD - not the best, but as already said: Only for development.

Would be nice to get some feedback :)

asked 14 May '14, 18:49

schlomm's gravatar image

schlomm
56336
accept rate: 0%


One Answer:

0

The "map appearing" is not really very much related to the perfomance of the rails port on your system, since

a) most of the computations are done in JS in the leaflet library

b) you are not rendering tiles locally, but are using the normal OSM tile servers

assuming that the machine you have your browser installed on is not the virtual machine. If you -are- running the browser on the VM, that is likely your problem.

answered 16 May '14, 17:06

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .