<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 7:19 PM, Tim Gardner <span dir="ltr"><<a href="mailto:tim.gardner@canonical.com">tim.gardner@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">John Mahoney wrote:<br>
> On Tue, Sep 29, 2009 at 4:37 PM, Tim Gardner <<a href="mailto:tim.gardner@canonical.com">tim.gardner@canonical.com</a>>wrote:<br>
><br>
>> I've been messing with I/O scheduler settings in the last couple of<br>
>> uploads. We found that CFQ has some serious issues that contributed to<br>
>> delayed boot times, so I changed the default to Deadline in<br>
>> 2.6.31-10.35. Scott Remnant reported that changing to Deadline shaved 40<br>
>> seconds off his boot.<br>
>><br>
>> Since then I found this info: <a href="http://bugs.launchpad.net/bugs/436342" target="_blank">http://bugs.launchpad.net/bugs/436342</a><br>
>><br>
>> I've been running a kernel with this patch and CFQ enabled. Perhaps some<br>
>> other folks could compare and contrast Deadline v.s. CFQ using their<br>
>> workloads. I find that CFQ is working a bit better then Deadline. I can<br>
>> run a 'make -j8' kernel build and still watch video while also playing<br>
>> music and reading email (without _too_ much stalling). Deadline is<br>
>> noticeably less smooth when the load average approaches 8.<br>
>><br>
>> Adventurous types can try this kernel from<br>
>><br>
</div>>> <a href="http://kernel.ubuntu.com/%7Ertg/2.6.31-11-NEW_FAIR_SLEEPERS" target="_blank">http://kernel.ubuntu.com/~rtg/2.6.31-11-NEW_FAIR_SLEEPERS</a><<a href="http://kernel.ubuntu.com/%7Ertg/2.6.31-11-NEW_FAIR_SLEEPERS" target="_blank">http://kernel.ubuntu.com/%7Ertg/2.6.31-11-NEW_FAIR_SLEEPERS</a>><br>

<div class="im">>> (when its done copying)<br>
>><br>
><br>
> It would be nice if Ubuntu had debugfs enabled by default so users could<br>
> more easily adjust these settings.<br>
><br>
> Such as discussed here: <a href="http://lkml.org/lkml/2008/5/2/67" target="_blank">http://lkml.org/lkml/2008/5/2/67</a><br>
><br>
> Thanks,<br>
> John<br>
><br>
<br>
</div>debian.master/config/config.common.ubuntu:CONFIG_DEBUG_FS=y<br>
<br>
The debug file system is not mounted automagically. There are docs in<br>
the kernel tree at Documentation/filesystems/debugfs.txt.<br></blockquote><div><br>What do you know.<br>  <br>sudo mount -t debugfs none /sys/kernel/debug<br><br>john@john-desktop:/sys/kernel/debug$ cat sched_features <br>
NEW_FAIR_SLEEPERS NORMALIZED_SLEEPER WAKEUP_PREEMPT START_DEBIT AFFINE_WAKEUPS CACHE_HOT_BUDDY SYNC_WAKEUPS NO_HRTICK NO_DOUBLE_TICK ASYM_GRAN LB_BIAS LB_WAKEUP_UPDATE ASYM_EFF_LOAD NO_WAKEUP_OVERLAP LAST_BUDDY <br><br>And like magic.  Sorry for my ignorance.<br>
<br>Thanks for the enlightenment,<br>John<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
rtg<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5">Tim Gardner <a href="mailto:tim.gardner@canonical.com">tim.gardner@canonical.com</a><br>
</div></div></blockquote></div><br>