by amitkanfer » Tue Sep 02, 2014 8:23 am
OK,
I've tested branch 2062 against amazon's g2.2xlarge instance.
Took me half a day to install the NVIDIA driver on it,
but once installed properly, and after installing Xorg server - i saw CEF creating child processes with 'type=gpu-process' and 'gpu-vendor-id' etc`.
i also verified that the GPU is utilized by watching 'nvidia-smi' modifications - and indeed it is utilized.
The results are disturbing.. Running 8 instances of CEF with GPU, browsing to a site like instagram.com (that has endless "OnPaint" events) - gave an average CPU which was HIGHER than running the exact same test, on the same server, with the same CEF code, but with different X server (Xvfb) and by that -- with no GPU.
bottom line - Somehow the GPU is only making things slower...
anyway - for now i'm sticking to branch 1916, which doesn't use the GPU, but the fact that it has the 'dirty rectangles' - makes a BIG difference (CPU-wise).
Perhaps i'm missing something... i don't know.