Comment 1 for bug 174791

Revision history for this message
UK-sHaDoW (alastairgould) wrote :

100% cpu usage is normal.

The idea is that iterates the rendering loop as fast possible. The faster gpu can render, the more cpu will be utilized, since cpu waits on gpu to finish rendering each frame.

Wait time is not included in cpu utilization, because while it is waiting it will be used for other applications.

if you think about like this.

start
cpu tells gpu to render frame
waits to render
Gpu finishes
go back to start.

less wait time, the faster the cpu can iterate the loop, thus more cpu utilization, thus more fps.

Dual cores should be at about 60/50%, because glxgears is not multithreaded as far as i know. Are you talking about 100% cpu usge of one core or both cores?

You could try using vsync, although not a real solution.

Although good programmers, usually put in a purposely placed sleep/wait command to stop it hogging the cpu and keep the system responsive to other apps.

Programmer.