tag:blogger.com,1999:blog-6469704299235308349.post1313608952253511932..comments2024-03-28T15:50:13.644+11:00Comments on -ck hacking: 2.6.38-ck2, BFS 0.370ckhttp://www.blogger.com/profile/02904761195451530213noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6469704299235308349.post-81012365437529443692011-03-30T04:20:27.587+11:002011-03-30T04:20:27.587+11:00I just started to test it and then heard the bad n...I just started to test it and then heard the bad news... I noticed some issue, but I haven't repeated them again.<br />1. the cpu clock seems keeping on low a while when I unplug adapter and plug it back. (power saving policy changed)<br />2. sometimes playing video is not smooth<br />3. firefox4 running many flash will be slow, but 363 seems more better.<br />except these above, others are good.<br />I 'm not sure these issues are really. Need more time to test...and tools like Ralph said. :-PJinghttps://www.blogger.com/profile/03276533949986890552noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-1134670735115297512011-03-29T21:51:49.884+11:002011-03-29T21:51:49.884+11:00Since linux-2.6.38 vanilla made advancements in re...Since linux-2.6.38 vanilla made advancements in regard of latency and performance over 2.6.36.3 (the 2.6.37 I omitted) I have little (but I have) feelings about better BFS. I would like to configure some latency/performace measurement, because just feelings are poorly getting me information. <br /><br />Con Kolivas would you please blog about some easy to configure tools?Ralph Ulrichnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-71069904140179587802011-03-29T21:46:53.548+11:002011-03-29T21:46:53.548+11:00Thank you SO much for giving feedback. It's ex...Thank you SO much for giving feedback. It's extremely hard to make a comprehensive judgement unless I get feedback, but hardly anyone reported back on the test2 patch. I'm wondering if this change is a dud after all.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-54511507997699948912011-03-29T21:43:26.249+11:002011-03-29T21:43:26.249+11:00I patched linux-2.6.38.2 with bfs363-test2.patch o...I patched linux-2.6.38.2 with bfs363-test2.patch over ck1-patchset. <br />I had a jerking when playing the old blockout2 game (gl-app) on enabled window effects kde-4.6.1 gentoo~ . So I changed back to bfs363. It feels better on core2-64bit.Ralph Ulrichnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-43832600522787386722011-03-29T14:23:55.486+11:002011-03-29T14:23:55.486+11:00Yes, that's fine. There was also the removal o...Yes, that's fine. There was also the removal of some debugging stuff.<br /><br />- WARN_ON(rq != this_rq());<br />- BUG_ON(p == current);<br />- lockdep_assert_held(&grq.lock);ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-67489118685407895722011-03-29T14:19:34.940+11:002011-03-29T14:19:34.940+11:00I diff the bfs-363 and bfs-370 for 2.6.38. I only ...I diff the bfs-363 and bfs-370 for 2.6.38. I only notice 2 place are different with bfs363-test2.patch in sched_bfs.c.<br /><br />@@ -1900,7 +1983,7 @@<br /> {<br /> return this_rq()->rq_running +<br /> (queued_notrunning() + nr_uninterruptible()) /<br />- (1 + num_online_cpus());<br />+ (1 + grq.noc);<br /> //bfs370 (grq.noc ? : 1);<br /> }<br /><br /><br /> /*<br /> * Print scheduling while atomic bug:<br /> */<br />@@ -2931,10 +3086,12 @@<br /> schedstat_inc(rq, sched_goidle);<br /> set_cpuidle_map(cpu);<br /> } else {<br />- next = earliest_deadline_task(rq, idle);<br />- prefetch(next);<br />- prefetch_stack(next);<br />- clear_cpuidle_map(cpu);<br />+ next = rq->edt(rq, idle);<br />+ if (likely(next != idle)) {<br /> //bfs370 if (likely(next->prio != PRIO_LIMIT)) {<br />+ prefetch(next);<br />+ prefetch_stack(next);<br />+ clear_cpuidle_map(cpu);<br />+ }<br /> }<br /><br />Can I modify them in bfs363-test2.patch and use on 2.6.37? I have tried to pack ck kernel with bfs363-test2.patch on openSUSE build service. here is the repository...<br />http://download.opensuse.org/repositories/home:/jingtw:/kernel-11.4/Jinghttps://www.blogger.com/profile/03276533949986890552noreply@blogger.com