Gentoo Archives: gentoo-user

From: marcin <marcinzw@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel 2.6 and OpenGL
Date: Sun, 07 May 2006 17:52:30
Message-Id: 2fbc5c980605071040i1a822aafo9d046193b248f47a@mail.gmail.com
In Reply to: Re: [gentoo-user] Kernel 2.6 and OpenGL by Eugene Rosenzweig
1 On 5/7/06, Eugene Rosenzweig <eugene259@××××××××××××.net> wrote:
2 > marcin wrote:
3 > > Hi
4 > >
5 > > I've been comparing lately performance OpenGL apps against different
6 > > kernels 2.6.x and 2.4. Overall performance is comparable but a scheduler
7 > > of kernel 2.6 is very annoying (to say at least).
8 > >
9 > > Simple test:
10 > >
11 > > Kernel 2.6
12 > >
13 > > "glxgears" gives 1320 fps but if I simultaneously execute (for
14 > > example) "nbench"
15 > > which takes a lot of cpu then fps drop to 5!!! with "nice nbench" fps
16 > > drop to 20
17 > >
18 > > Kernel 2.4
19 > >
20 > > "glxgears" gives 1340 fps but for nbench fps drop to 120 and
21 > > for nice nbench drop to 220 fps.
22 > >
23 > > I've been testing against
24 > >
25 > > * 2.6.16.14 Preemption Model: No Forced and also Voluntary Kernel
26 > > * 2.6.16-ck9 is quite good at least scheduler don't starve but a drop
27 > > of fps is the same.
28 > > * 2.6.15.x
29 > > * 2.4.32
30 > >
31 > > Graphics driver: nvidia (GeForce4 MX 440 AGP 8x) NV18
32 > >
33 > > Can anyone tell me how to "increase priority" for OpenGL?
34 > >
35 > > Thanks, Marcin
36 > Is it any better if you are more agressive with nice? Like 'nice nbench'
37 > and 'nice -n -10 glxgears' or even more?
38 >
39
40 In fact it is better. For example for nice -n 19 nbench
41 I got 50 fps increase.
42
43 Marcin
44
45 --
46 gentoo-user@g.o mailing list