[Gate-users] Gate under-utilizing cpu
Stathis Kamperis
ekamperi at gmail.com
Tue Mar 4 15:13:56 CET 2014
I didn't know that linux has pstack, so here is sampled stack trace
when Gate gets lazy:
(I will try to disable the graphics output)
% pstack `pgrep Gate`
#0 0x0000003b414eb7e0 in __poll_nocancel () from /lib64/libc.so.6
#1 0x0000003b44c09f42 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2 0x0000003b44c0b37f in wait_for_reply () from /lib64/libxcb.so.1
#3 0x0000003b44c0b492 in xcb_wait_for_reply () from /lib64/libxcb.so.1
#4 0x0000003b45041b47 in _XReply () from /lib64/libX11.so.6
#5 0x000000387c641373 in DRI2GetBuffersWithFormat () from /lib64/libGL.so.1
#6 0x000000387c63ee6b in dri2GetBuffersWithFormat () from /lib64/libGL.so.1
#7 0x00007f84287e3ebd in intel_update_renderbuffers () from
/usr/lib64/dri/i965_dri.so
#8 0x00007f84287e41c3 in intel_prepare_render () from
/usr/lib64/dri/i965_dri.so
#9 0x00007f84287f72c7 in brw_clear () from /usr/lib64/dri/i965_dri.so
#10 0x00007f84327a5423 in G4OpenGLViewer::ClearView() () from
/usr/local/lib64/libG4OpenGL.so
#11 0x00007f84327bbb50 in G4OpenGLStoredXViewer::ShowView() () from
/usr/local/lib64/libG4OpenGL.so
#12 0x00007f843233570a in G4VisManager::EndOfEvent() () from
/usr/local/lib64/libG4vis_management.so
#13 0x00007f843234107d in
G4VisStateDependent::Notify(G4ApplicationState) () from
/usr/local/lib64/libG4vis_management.so
#14 0x00007f842dad38e1 in
G4StateManager::SetNewState(G4ApplicationState, char const*) () from
/usr/local/lib64/libG4global.so
#15 0x00007f8430c992c6 in G4EventManager::DoProcessing(G4Event*) ()
from /usr/local/lib64/libG4event.so
#16 0x00007f8430f0025a in G4RunManager::DoEventLoop(int, char const*,
int) () from /usr/local/lib64/libG4run.so
#17 0x00007f8430effc2c in G4RunManager::BeamOn(int, char const*, int)
() from /usr/local/lib64/libG4run.so
#18 0x000000000075e5ce in GateApplicationMgr::StartDAQ() ()
#19 0x00000000007954a0 in
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#20 0x00007f842dd0a08f in G4UIcommand::DoIt(G4String) () from
/usr/local/lib64/libG4intercoms.so
On Tue, Mar 4, 2014 at 4:09 PM, Stathis Kamperis <ekamperi at gmail.com> wrote:
> Hi people,
>
> I've noticed that when I run a simulation top(1) says that Gate uses
> only a small fraction of my CPU, e.g.:
>
> 19132 stathis 20 0 370436 60968 32660 S 2.7 0.7 0:07.22 Gate
>
> (2.7% here).
>
> Has anyone else seen this ?
>
> Best regards,
> Stathis
More information about the Gate-users
mailing list