[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: tvtime and the Linux 2.6 scheduler

    * Con Kolivas <> wrote:

    > > 33 ms : time per NTSC frame
    > snip
    > The followup email from someone describing good performance may help
    > us understand what's going on. Your example of poor performance is one
    > when the cpu performance is marginal to get exactly 30 fps processed
    > and on the screen. The cpu overhead in 2.6 is slightly higher than 2.4
    > so a borderline case may be just pushed over.

    most of the cpu overhead comes from HZ=1000. Especial with SCHED_FIFO
    there should be minimal (if any) impact from the scheduler changes -
    SCHED_FIFO tasks get all CPU time, no ifs and whens.

    could people who experience tvtime performance problems apply the patch
    below to change HZ back to 100? Does it have any impact?


    --- linux/include/asm-i386/param.h.orig
    +++ linux/include/asm-i386/param.h
    @@ -2,7 +2,7 @@
    #define _ASMi386_PARAM_H

    #ifdef __KERNEL__
    -# define HZ 1000 /* Internal kernel timer frequency */
    +# define HZ 100 /* Internal kernel timer frequency */
    # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
    # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 14:03    [W:0.020 / U:12.868 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site