Re: [PyOpenGL-Users] Textures usage
Brought to you by:
mcfletch
From: Frédéric <fre...@gb...> - 2010-01-11 14:24:39
|
Le vendredi 8 janvier 2010 15:12, Frédéric a écrit : > > It appears that the CPU is not used by my process. I'm not sure, but it > > seems to be a kernel-space usage (orange in the Gkrellm default > > theme)... > > It is 80% system usage, 20% process usage... Someone on another ml suggested me to use strace to see where the system spend all its time. But the results don't show anything usefull. During a 10s run, I get: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 91.73 0.267082 1 385350 sched_yield 2.73 0.007951 9 882 2 ioctl 1.42 0.004130 0 13364 futex 1.18 0.003442 2 2046 1744 open 1.07 0.003113 10 307 mmap2 0.72 0.002089 7 311 close 0.58 0.001693 13 129 munmap 0.42 0.001216 2 723 539 stat64 0.08 0.000227 0 1404 189 read 0.04 0.000109 4 25 brk 0.02 0.000061 6 10 getdents64 0.01 0.000028 0 298 write 0.01 0.000023 0 337 fstat64 0.00 0.000000 0 1 execve 0.00 0.000000 0 9 chdir 0.00 0.000000 0 3 time 0.00 0.000000 0 1 lseek 0.00 0.000000 0 75 49 access 0.00 0.000000 0 2 pipe 0.00 0.000000 0 964 gettimeofday 0.00 0.000000 0 5 2 readlink 0.00 0.000000 0 1 fstatfs 0.00 0.000000 0 17 uname 0.00 0.000000 0 9 mprotect 0.00 0.000000 0 11 _llseek 0.00 0.000000 0 5 readv 0.00 0.000000 0 15 writev 0.00 0.000000 0 363 poll 0.00 0.000000 0 69 rt_sigaction 0.00 0.000000 0 1 rt_sigprocmask 0.00 0.000000 0 11 getcwd 0.00 0.000000 0 1 getrlimit 0.00 0.000000 0 54 3 lstat64 0.00 0.000000 0 7 geteuid32 0.00 0.000000 0 31 fcntl64 0.00 0.000000 0 1 set_thread_area 0.00 0.000000 0 1 set_tid_address 0.00 0.000000 0 5 socket 0.00 0.000000 0 5 2 connect 0.00 0.000000 0 2 shutdown 0.00 0.000000 0 3 shmat ------ ----------- ----------- --------- --------- ---------------- 100.00 0.291164 406858 2530 total As you can see, systems calls used less than 3% of the CPU! So, what are these system calls I can see in Gkrellm? The same person also suggested me to have a look at OpenGL lib support. Here is what I get with glxinfo: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 client glx vendor string: NVIDIA Corporation client glx version string: 1.4 GLX version: 1.3 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce FX 5200/PCI/SSE2 OpenGL version string: 2.0.2 NVIDIA 87.76 I think all is fine (as other applications, like GoogleEarth or Phun works smoothly). Could it be a hardware limitation? I can imagine this on the above one (P4, GeForce FX 5200), but I have similar results on my Q6600 + GeForce 8400 GS... Could someone make a test and tell me if he has the same behaviour? Thanks, -- Frédéric http://www.gbiloba.org |