<div dir="ltr"><div>Hi,<br><br></div>The answer is in your email, disable the visualization, it is several thousands times slower with visualization.<br><br>Cheers,<br>Simon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Mar 4, 2014 at 3:13 PM, Stathis Kamperis <span dir="ltr"><<a href="mailto:ekamperi@gmail.com" target="_blank">ekamperi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I didn't know that linux has pstack, so here is sampled stack trace<br>
when Gate gets lazy:<br>
(I will try to disable the graphics output)<br>
<br>
% pstack `pgrep Gate`<br>
#0 0x0000003b414eb7e0 in __poll_nocancel () from /lib64/libc.so.6<br>
#1 0x0000003b44c09f42 in _xcb_conn_wait () from /lib64/libxcb.so.1<br>
#2 0x0000003b44c0b37f in wait_for_reply () from /lib64/libxcb.so.1<br>
#3 0x0000003b44c0b492 in xcb_wait_for_reply () from /lib64/libxcb.so.1<br>
#4 0x0000003b45041b47 in _XReply () from /lib64/libX11.so.6<br>
#5 0x000000387c641373 in DRI2GetBuffersWithFormat () from /lib64/libGL.so.1<br>
#6 0x000000387c63ee6b in dri2GetBuffersWithFormat () from /lib64/libGL.so.1<br>
#7 0x00007f84287e3ebd in intel_update_renderbuffers () from<br>
/usr/lib64/dri/i965_dri.so<br>
#8 0x00007f84287e41c3 in intel_prepare_render () from<br>
/usr/lib64/dri/i965_dri.so<br>
#9 0x00007f84287f72c7 in brw_clear () from /usr/lib64/dri/i965_dri.so<br>
#10 0x00007f84327a5423 in G4OpenGLViewer::ClearView() () from<br>
/usr/local/lib64/libG4OpenGL.so<br>
#11 0x00007f84327bbb50 in G4OpenGLStoredXViewer::ShowView() () from<br>
/usr/local/lib64/libG4OpenGL.so<br>
#12 0x00007f843233570a in G4VisManager::EndOfEvent() () from<br>
/usr/local/lib64/libG4vis_management.so<br>
#13 0x00007f843234107d in<br>
G4VisStateDependent::Notify(G4ApplicationState) () from<br>
/usr/local/lib64/libG4vis_management.so<br>
#14 0x00007f842dad38e1 in<br>
G4StateManager::SetNewState(G4ApplicationState, char const*) () from<br>
/usr/local/lib64/libG4global.so<br>
#15 0x00007f8430c992c6 in G4EventManager::DoProcessing(G4Event*) ()<br>
from /usr/local/lib64/libG4event.so<br>
#16 0x00007f8430f0025a in G4RunManager::DoEventLoop(int, char const*,<br>
int) () from /usr/local/lib64/libG4run.so<br>
#17 0x00007f8430effc2c in G4RunManager::BeamOn(int, char const*, int)<br>
() from /usr/local/lib64/libG4run.so<br>
#18 0x000000000075e5ce in GateApplicationMgr::StartDAQ() ()<br>
#19 0x00000000007954a0 in<br>
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()<br>
#20 0x00007f842dd0a08f in G4UIcommand::DoIt(G4String) () from<br>
/usr/local/lib64/libG4intercoms.so<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 4, 2014 at 4:09 PM, Stathis Kamperis <<a href="mailto:ekamperi@gmail.com">ekamperi@gmail.com</a>> wrote:<br>
> Hi people,<br>
><br>
> I've noticed that when I run a simulation top(1) says that Gate uses<br>
> only a small fraction of my CPU, e.g.:<br>
><br>
> 19132 stathis 20 0 370436 60968 32660 S 2.7 0.7 0:07.22 Gate<br>
><br>
> (2.7% here).<br>
><br>
> Has anyone else seen this ?<br>
><br>
> Best regards,<br>
> Stathis<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</div></div></blockquote></div><br></div>