Re: [Openpvr-devel] Quiet List.
Brought to you by:
brian_j_murrell,
jfunk
From: Brian J. M. <5cb...@in...> - 2002-06-06 03:09:44
|
On Wed, Jun 05, 2002 at 08:47:04PM -0500, Monty Walls wrote: > =20 > lazyness. Looks like I'm going to have add the v4l2 patch set to my runn= ing > kernel. With mp1e configured about the same as your's my K7-1200mhz drops > about 20% of the frames. Wow! I get a few drops per hour (more depending on what else the box is doing) but nothing near 20%. How recent is your mp1e? I am using the mp1e from the rte project. My last cvs update was May 13 11:54 (which means I should update again to see what's new :-) > CPU load is only about 40%, so it's not that... Seems a little high for a K7-1200Mhz when my Athlon TB 800 only goes that high. > If I drop to 640x240, I get essentially no drops using v4l, but have > to run mp1e as real-time to do it (cheating). I cheat. :-) > My realtime toy is attached I do it right in mp1e: Index: main.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/zapping/rte/mp1e/main.c,v retrieving revision 1.33 diff -u -r1.33 main.c --- main.c 13 May 2002 05:38:00 -0000 1.33 +++ main.c 6 Jun 2002 03:04:59 -0000 @@ -40,6 +40,7 @@ #include <sys/mman.h> #include <sys/time.h> #include <sys/stat.h> +#include <sys/resource.h> #include <asm/types.h> =20 #include "common/videodev2.h" @@ -353,8 +354,13 @@ program_invocation_name =3D argv[0]; #endif =20 + errno =3D 0; + if (setpriority(PRIO_PROCESS, getpid(), -10) =3D=3D -1 && errno != =3D 0) + perror("mp1e: setpriority"); + options(ac, av); =20 #if 0 if (mux_syn !=3D 4) { --=20 Brian J. Murrell |