From: hechacker1 <hechacker1@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: "REPORT: sd-0.46 vs cfs-v6 vs mainline 2.6.21-rc7 Beryl + Video + Audio"
Date: Sun, 29 Apr 2007 17:21:37 -0700 [thread overview]
Message-ID: <6700d24e0704291721r75518f31x87f4ce212b4c9634@mail.gmail.com> (raw)
In-Reply-To: <6700d24e0704280139i4bf9e9b8i67919b6d22acacb0@mail.gmail.com>
Another update:
This is the same testing but for cfs-v7.
Summary:
1. context switch rate is much higher than for cfs-v6 for the same
sched_granularity_ns 200000
2. Video playback suffered. FPS is much lower.
3. Trying different values of sched-granularity_ns didn't help
(neither did the default).
4. Firefox is actually much more responsive when the system isn't
under stress, better than any other scheduler so far.
5. Generally the system completes operations faster with cfs-v7, but
beryl FPS suffers.
6. I've monitored idle context switch rates at ~2000, and some spikes
at ~35000 (emerge -s firefox) for example.
------------------------------------------------------------------------------
cfs-v7
700m kernel # cat sched_granularity_ns
2000000
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 0 888828 536 882672 0 0 100 0 3793 13889 67 6 27 0
5 0 0 888708 536 882768 0 0 96 0 3435 13969 69 7 24 0
1 0 0 888468 536 882992 0 0 96 0 3704 13645 64 8 28 0
0 0 0 888284 536 883064 0 0 72 0 4378 13557 53 7 40 0
6 0 0 888224 536 883132 0 0 68 0 3909 13700 60 9 31 0
0 0 0 888164 536 883216 0 0 84 0 3726 13670 65 6 29 0
top - 16:53:54 up 10 min, 5 users, load average: 3.33, 2.78, 1.43
Tasks: 102 total, 2 running, 100 sleeping, 0 stopped, 0 zombie
Cpu(s): 57.9%us, 5.7%sy, 0.0%ni, 35.4%id, 0.0%wa, 0.7%hi, 0.3%si, 0.0%st
Mem: 2057700k total, 1172136k used, 885564k free, 536k buffers
Swap: 987988k total, 0k used, 987988k free, 885976k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11701 hechacke 20 0 51268 30m 18m R 18.9 1.5 1:46.30 gmplayer
11620 hechacke 20 0 127m 35m 18m S 15.3 1.7 0:40.64 mono
11695 hechacke 20 0 180m 67m 20m S 14.3 3.4 1:51.19 totem
9421 root 20 0 272m 49m 15m S 11.3 2.4 0:59.29 Xorg
11442 hechacke 20 0 63304 6232 4316 S 3.7 0.3 0:11.86 beryl
Observation:
Music plays perfectly.
Audio of video's play perfectly.
New Processes start in about the same amount of time as cfs-v6
Already open applications are responsive.
Behavior of video:
video's both moving forward. totem is doing ~0.9fps.
mplayer is doing ~1 fps.
Video's are slideshows in cfs-v7 vs cfs-v6 which was had more fps.
Going back to sd-0.46 since so far it provides the most constant FPS
under load (and thus the most responsiveness/smoothness).
next prev parent reply other threads:[~2007-04-30 0:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-28 8:39 hechacker1
2007-04-30 0:21 ` hechacker1 [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-27 4:01 hechacker1
2007-04-27 8:42 ` Kasper Sandberg
2007-04-27 14:05 ` Ingo Molnar
2007-04-28 1:09 ` Con Kolivas
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=6700d24e0704291721r75518f31x87f4ce212b4c9634@mail.gmail.com \
--to=hechacker1@gmail.com \
--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
all inboxes | Powered by JetHome®