Announcement
Collapse
No announcement yet.
Two Years With Linux BFS, The Brain Fuck Scheduler
Collapse
X
-
If you mean kernel threads, those like the XFS or JFS ones just idle until you actually mount a fs of that type. Having them there doesn't really cost anything.
-
Originally posted by b15hop View PostThat's exactly what I did. Cut drivers, cut wireless, cut certain encryption methods, cut ISA drivers or anything that was ancient. Anything I knew I didn't use. Only problem with doing this, I had to re compile if something didn't work. Which became a pain. That also meant that I learned what was what. Just cutting any random thing out is trial and error. So I would read up on what each section was used for. There are a LOT of different sub menu's...
...
(edit) PS: Another thing I did was compile in kernel drivers. So the modules didn't load at start-up. That helped improve boot times. I think I had my NIC and (alsa) Audio drivers all compiled into the kernel. x) I notice that if I did a [ code] ps aux [/code ] I would get much less threads or processes with a minimised kernel. So the system felt less laggy and cleaner.
The lower amount of threads and processes is revealing though. This couldn't have been affected by just device drivers. You don't happen to be able to check exactly which threads and processes were gone and why?
Leave a comment:
-
Originally posted by RealNC View PostYes, it is exactly as you describe. And that's because CFS is mandatory. If there wasn't BFS around, I would be *forced* to live with CFS. On the other hand, no one forces me to apply a silly patch that, even *if applied*, doesn't force anything but only introduces new choices that you have to enable yourself after reading a ton of warnings.
Because of that, I can blame CFS but not an optional patch.
Leave a comment:
-
Originally posted by misiu_mp View PostWhat do you mean "cut down to nothing" ? You can't remove drivers and subsystems without losing hardware support and features. So what was your config, what exactly did you cut?
(edit) PS: Another thing I did was compile in kernel drivers. So the modules didn't load at start-up. That helped improve boot times. I think I had my NIC and (alsa) Audio drivers all compiled into the kernel. x) I notice that if I did aCode:ps aux
Last edited by b15hop; 22 August 2011, 04:08 AM.
Leave a comment:
-
Originally posted by b15hop View PostI've tried using BFS. I don't see the huge advantage it brings. What helped me reduce latency was to compile my own kernel cut down to nothing. That helped a LOT.
...
I had a similar problem with slackware ages ago. One of the reasons I tried recompiling the kernel was for that reason alone. I have to agree that CFS has terrible problems there... But tweaking the standard kernel fixed my problems.
Leave a comment:
-
Originally posted by yoshi314 View Postthis benchmarks are totally inadequate. BFS scheduler is designed to reduce LATENCY in desktop applications.
i'd check for amount of frames dropped in some FPS game or quality of video capture framerate-wise, as this is where the scheduler latency matters. but these things cannot really be measured with a benchmark ( i think ).
before CFS epsxe emulator would stall randomly for ~0.5 second now and then. on CFS i sometimes get 0.1 sec delays, which is not the case with BFS at all. that is what should be measured, not performance of webserver or how much FPS can you squeeze of a game.
Phoronix staff - please, read again this post http://lkml.org/lkml/2009/9/6/231 and think about this article again.
Originally posted by RealNC View PostBecause he wrote a scheduler that improved Desktop Linux for a lot of people. About the insults, surely, when you're treated with so much ignorance you tend to tell all the ignorants to go fuck themselves. Which is only something that raised my respect for CK and what he's doing even more. He's like the lone hacker who accomplishes tremendous tasks and throws the results at the face of the corrupt establishment. In other words, a software hero.
What I have learned over the years is that one guy, alone, improved my Linux experience a hell of a lot while his contributions were never acknowledged properly. And also have learned that people like you will continue to spread FUD because you simply can't stand being wrong. But I've got some bad news for you: You're not the pope.
Originally posted by RealNC View PostMaybe it's not Jack itself, but the whole audio chain, from the synths up to Jack. Lots of processes involved. With BFS, I can use 64 frames/period, no problem and no audio drops. Total latency of everything combined is well under 6ms. With CFS, it craps out as soon as I actually start playing some synths and CPU load rises. I have to raise latencies up to 15ms to make it work reliably.
It's really like day and night.
Originally posted by RealNC View PostYeah, but that's just people using powerful systems. Try a 2.4GHz E6600. Without BFS the GUI gets really bad.
PS: Back when I used BFS I was on a single core machine with only 1GB of ram... These days I use a quad core with 8GB of ram, which is why I don't bother recompiling it these days. Though in saying that, I really like the idea of BFS in a way because I think the current kernel is built around server technology and not desktops. Thus my theory that possibly BFS would be idea as an option for all us desktop users.
Originally posted by kebabbert View PostI dont know if you read the Con interview? He explained that Linux et al were not to nice.
So, it seems that Linus has some attitude problems, and that Con got in his way. There are numerous unpleasant stories about Linus and his ego. Maybe you missed them?
Kraftman: Why is anything bad? People will generally do what they want. At least we have an article to discuss something in the first place. We need more options like this to begin with.
Leave a comment:
-
Originally posted by kraftman View PostIt's good when you blame CFS, but it's bad when someone blames some strange option.
Because of that, I can blame CFS but not an optional patch.
Leave a comment:
-
Originally posted by RealNC View PostIf you don't need it, don't use it. It's as simple as that.
You don't even have a point anymore other than asking idiotic questions for the sake of asking them.
Leave a comment:
-
If you don't need it, don't use it. It's as simple as that.
You don't even have a point anymore other than asking idiotic questions for the sake of asking them.
Leave a comment:
-
Originally posted by BlackStar View PostIf you have to ask then this patch is not for you.
As the patch says, there is broken software that behaves better with obscene Hz values. Users who happen to rely on such software will be well aware of this issue and will appreciate the additional flexibility over CFS or default BFS. The rest will ignore it as if it never existed.
Leave a comment:
Leave a comment: