You are not logged in.
It's due to a tweaked scheduler in the 2.6.32 codebase. I measured a 53 % speed boost comparing 2.6.31-5 to 2.6.32-rc6 on my quad. See my post over at the handbrake forum here for details and see this page too.
The test encode was a 60 fps 720p (1280x720) encode using the "High Profile" on handbrake snapshot 2907 (which you can get in the AUR here):
Arch x86_64 (kernel 2.6.31.5): avg 15.99 fps
Arch x86_64 (kernel 2.6.32-rc6): avg 24.45 fps
Linux (kernel 2.6.31-bfs): avg 24.49 fps
Win XP 64-bit edition: avg 20.41 fps
Linux is 53 % faster w/ the new kernel and 20 % faster than Windows. Can't wait for 2.6.32 to go final!
Last edited by graysky (2009-12-06 10:57:58)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Nice cooperation between the x264 developer and the kernel hacker.
Offline
Already read it on Dark Shikari's blog, yeah
Offline
I'm excited for the next kernel release now!
Offline
...now if someone could fix that damn system slow-down while copying files on the x86_64 kernel.
Described in numerous threads:
http://bbs.archlinux.org/viewtopic.php?id=71131
http://bbs.archlinux.org/viewtopic.php?id=70525
Last edited by graysky (2009-11-04 00:56:06)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Would this in turn also boost performance in something like folding@home also? For the smp clients anyway..
Last edited by whaevr (2009-11-04 00:57:50)
Offline
Dunno. Test and see, if you dare
You could probably cherry-pick that commit and apply it as a patch to 2.6.31.5.
Offline
That's freakin' nuts!
Offline
too bad I don't encode anything is it just a gain in encoding?
Last edited by tomd123 (2009-11-04 03:35:06)
Offline
Epic! I always encode things in x264(though through FFMPEG, though that shouldn't make a difference since it uses the x264 library, should it?) but I'm a user of BFS. Since you are referring to a scheduler change, will this affect me?
17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean
Offline
Epic! I always encode things in x264(though through FFMPEG, though that shouldn't make a difference since it uses the x264 library, should it?) but I'm a user of BFS. Since you are referring to a scheduler change, will this affect me?
you'll need to go back to the mainline CPU sched (CFS)
Offline
MP2E wrote:Epic! I always encode things in x264(though through FFMPEG, though that shouldn't make a difference since it uses the x264 library, should it?) but I'm a user of BFS. Since you are referring to a scheduler change, will this affect me?
you'll need to go back to the mainline CPU sched (CFS)
But this bug was noticed in the first place because BFS kicked CFS's ass with x264, so sticking with BFS is fine
@tomd123: It's a general improvement in the scheduler, which should translate to other workloads as well. x264 got a huge boost, not everything will get such a huge increase in speed.
Offline
If you use BFS, I don't think it will affect you, if this is the CFS scheduler we're talking about (and I think we are).
I'm still a bit confused on kernel schedulers, you have I/O and CPU schedulers, and I don't think they're the same (CFS being a CPU scheduler and CFQ e.g. being an I/O one). If I get that right .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
That is really sweet I noticed good boosts even with a really simple threaded app I made myself It utilizes the CPU a lot better now. (Core i7 @ 3.33GHz)
Last edited by Themaister (2009-11-04 13:24:22)
Offline
Ahhh.. drooling at the Core i7 @ 3.33 Ghz! The new i7's are way faster than my old harperstown Xeons and use less power! A person working with me just built a Core i7 workstation w/ 12GB of memory and a stack of solid-state drives for RAID0. I haven't gotten my hands on it yet but it'll probably scream!
Offline
I tried using the same encode using speedvin's PKGBUILD for the 2.6.31-bfs and got a similar result (certainly within error) to the 2.6.32-rc6 kernel
Arch x86_64 (kernel 2.6.32-rc6): avg 24.45 fps
Arch x86_64 (kernel 2.6.31-304.5-bfs): avg 24.49 fps
Last edited by graysky (2009-11-04 20:39:47)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I tried using the same encode using speedvin's PKGBUILD for the 2.6.31-bfs and got a similar result (certainly within error) to the 2.6.32-rc6 kernel
Arch x86_64 (kernel 2.6.32-rc6): avg 24.45 fps
Arch x86_64 (kernel 2.6.31-304.5-bfs): avg 24.49 fps
That's more than within error, it's essentially identical since your system does other things.
Offline
If you use BFS, I don't think it will affect you, if this is the CFS scheduler we're talking about (and I think we are).
Yes, it won't affect you. I was just saying there's no reason to switch from BFS to CFS for this if BFS works fine for you
Offline
That's more than within error, it's essentially identical since your system does other things.
Hmm... within error meaning it's identical within the limits of the test.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
You know what's really funny about this? No matter how much of an outsider Con Kolivas is to the mainline kernel, he somehow frequently seems to get his ideas implemented.
Offline
You know what's really funny about this? No matter how much of an outsider Con Kolivas is to the mainline kernel, he somehow frequently seems to get his ideas implemented.
Not very surprising, to me. His ideas are good. His personality/attitude when dealing with the other devs (and their attitude as well I guess) isn't linked to his intelligence and innovation at all. Both are important on a team project, which is basically what the kernel is (on a big scale).
A pity, really. Then again, without his personality he may not be having his ideas....
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline