public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Uwaysi Bin Kareem <uwaysi.bin.kareem@paradoxuncreated.com>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 3.5-rc7
Date: Sat, 06 Oct 2012 15:12:33 +0200	[thread overview]
Message-ID: <op.wlrdm7w06426ze@localhost.localdomain> (raw)
In-Reply-To: <49825.1349472563@turing-police.cc.vt.edu>

On Fri, 05 Oct 2012 23:29:23 +0200, <Valdis.Kletnieks@vt.edu> wrote:

> On Sun, 30 Sep 2012 14:54:07 +0200, Uwaysi Bin Kareem said:
>> Compiled 3.6-rc7, with a hz timer of 3956 for a "natural" psychovisual
>> profile jitter level in OpenGL, and a shaved config for minimal jitter.
>
> I'll bite - how did you measure the difference between 3956 and 4000?
>
> The other stuff in your note sounds sane, but I'm having a hard time
> believing that 3956 was arrived at in any sort of systematic or measured
> way - it smells like cargo cult programming to me...

Well, you might not like the answer. It is based on purification of the  
senses by meditation. You can read about it here.  
http://www.youtube.com/watch?v=Cz8fCnMBnuc&feature=related

And then in a pure state, simply tuning the hz, to ones liking, trying to  
find a "natural value", which probably corresponds with the fact that,  
natural phenomna such as wind, temperature, influence similar phenomena to  
"jitter". Also based on 10 years of work with DSP ;)

Don`t worry about the 3956 timer anymore though, I use 90hz now. For some  
reasons many places online state higher HZ = higher resolution, and lower  
latency. For audio and opengl this is not true. Audio still has the same  
latency at 90hz, and OpenGL performs better, with less jitter.

You can take my low-jitter kernel for a spin, here.  
http://paradoxuncreated.com/Blog/wordpress/?p=2268
Particulary note that OpenGL in doom3 is very smooth, (if you have any  
jitter try killing background daemons). Audio latency is stable at 1ms,  
and few clicks at 0.3. I have also run it at 0.3ms stable latency with  
realtime threads, with a firewire audio card. Simple HDA soundchip seems  
to perform poorer for some reason. One would think that an onboard  
soundchip would have less potential latency.

The whole system runs well.

I am also using this info for thoughts on cfs. If granularity should be  
tuned up for more processes running, maybe related granuarlity to  
processes, for best resource usage. Currently also I think the 10ms filter  
could be replaced with a simpler hold logic, so you don`t have to update  
it more that neccesary, or compute share based on filters impulse response.

Just some small observations.

Peace Be With You.

  reply	other threads:[~2012-10-06 13:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-30 12:54 Linux 3.5-rc7 Uwaysi Bin Kareem
2012-10-05 21:29 ` Valdis.Kletnieks
2012-10-06 13:12   ` Uwaysi Bin Kareem [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-17 19:07 Paweł Sikora
2012-07-17 19:40 ` Borislav Petkov
2012-07-15  0:59 Linus Torvalds
2012-07-16 14:36 ` Alan Cox
2012-07-16 16:28 ` Martin Steigerwald
2012-07-16 16:37   ` Linus Torvalds
2012-07-16 17:01     ` Martin Steigerwald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.wlrdm7w06426ze@localhost.localdomain \
    --to=uwaysi.bin.kareem@paradoxuncreated.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox