Comments (4)
Since writing this I have read some things that make me suspect that the bottleneck is the file system - not disk I/O, but creating files. Interesting...
from cesium-terrain-builder.
Hello - CTB's use of threads is simple and in an ideal world I'd expect it to scale linearly with the number of cores. As such any failure to meet this expectation in practice will almost certainly be due to a bottle neck in a subsystem. The problem will be narrowing it down to which one!
GDAL itself may be the culprit as it is a pretty complex beast with a plethora of config options and drivers which can interact in subtle ways (especially cache related options such as GDAL_MAXCACHE
). There is also room for improvement: for example I notice you are using a VRT and if it is referencing many source datasets then implementing this issue may help.
However, your hunch that it could be the filesystem may well turn out to be true; I have had problems with this in the past. In this case it may be worth looking at a filesystem optimised for many small files, such as ReiserFS running on solid state disks.
Assuming funds and time I would like to implement different cache backends to CTB in addition to the filesystem (e.g. memcache, redis, postgis, leveldb, sqlite) which could be used to help scale and overcome filesystem bottlenecks.
I would be interested in any findings you have, as it would be useful to set up a tuning section in the README to help with these issues.
from cesium-terrain-builder.
Thanks @homme! The VRT in this case was only referencing a couple of hundred images, which I imagine wouldn't have been too taxing for it.
We're done with our big processing task now, so may not get to put a lot more time into testing different file systems but will keep ReiserFS in mind. We will let you know if we have the opportunity to experiment further and find out anything useful :)
from cesium-terrain-builder.
In htop
on 32 core machine I can see that with -c 32
utilization of cores is not full.
Also any recommendations about -m
parameter?
from cesium-terrain-builder.
Related Issues (20)
- Error tiling with output format set to Leveller
- Can't change terrain tile size from 65x65 to 256x256
- GDALOpenEx - not found Windows build HOT 1
- ctb.dll not found Windows HOT 2
- Trouble building with CMAKE: GDAL not found
- ERROR 1: PROJ: webmerc: Invalid latitude HOT 1
- Resume is not a valid parameter anymore
- quantized-mesh tiles has no “metadata” extension HOT 5
- empty tiles
- undefined reference to `GDALCreateOverviewDataset(GDALDataset*, int, int)' HOT 10
- why cesium can not display the terrain? HOT 5
- Terrain pyramid getting created outside of dataset bounds HOT 1
- The command line ran successfully, but was not generated file "layer.json"? HOT 1
- Error while running make install HOT 4
- Cesium Terrain generated using DSM is way higher than the base map
- Cesium is not rendered after reaching level 4 terrain HOT 1
- Can not add the terrain data in cesium HOT 17
- Possibility to merge several regions with different resolutions? HOT 1
- Tile coordinates are not consistent with Google or TMS standard
- @alienatorZ , @aberenyi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cesium-terrain-builder.