python - Xvfb multiple displays for parallel processing? -
curious running multiple xvfb displays: have between 10-50 instances of script running in parallel connect xvfb display. is advantageous run same number of xvfb displays , connect 1 1? or can multiple processes share same display? ram not issue, neither processing power.
one xvfb server should able handle lots of connections quite well. 1 thing want make sure run server -noreset
option. without it, has memory leak every time client disconnects.
the time multiple xvfb servers helpful if have more 1 processor available in machine (e.g. 8 cores) , script graphics-heavy. see if case, connect many instances of script , check top
see cpu usage of xvfb is. if it's @ 100%, might benefit additional xvfb instances.
Comments
Post a Comment