|
News News regarding BSD and related. |
|
Thread Tools | Display Modes |
|
||||
The ~200 Line Linux Kernel Patch That Does Wonders
http://www.phoronix.com/scan.php?pag...37_video&num=1
Quote:
My lowly laptop has always suffered from problems when doing a large compile of any sort, often on FreeBSD, making Firefox 3.x unusable (but that's crap on FreeBSD anyway). I must admit, Linux has done better at surviving it but not by a big much in terms of interactive performance. If this so called "Wonder" patch really does make such big improvements, I wonder when something comparable might make it's way into FreeBSD...
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Yeah, if you want something to run in the background, then set it to run in the background.
sudo /usr/bin/nice -n 10 portmaster yadda blah stuff Works beautifully, even when burning CDs, trolling through forums, and streaming shows to the laptop attached to the tv. |
|
|||
A Redhat engineer post a mail about achieving the same result with only userspace code :
Quote:
Linus Torvald disagree, basically because he doubt that normal users will take time to tweak their shell, and argued that, by including the patch in the kernel, everybody will benefit from it. Interesting thread. |
|
||||
This engineer is Poettering, the same guy that committed the 'great' PulseAudio ... and systemd lately.
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
Quote:
Sure, but PulseAudio and different audio layers are necessary for crappy ALSA. So PulseAudio may not be the best layer, but it depends on ALSA and ALSA is a huge failure. Apart from that, would be nice to see whether something similar is possible in FreeBSD too. Group scheduling per se is available.
__________________
use UNIX or die :-) |
|
|||
Perhaps you've seen it already, but a thread was started on the FreeBSD MLs:
http://lists.freebsd.org/pipermail/f...er/004067.html
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
||||
Quote:
'Our' interactiveness problem is responsiveness under heavy I/O, I have Intel SSD (which has very fast random access times) but when I do some heavy I/O (even merging a snapshot at VirtualBox) responsiveness is a lot worse until that process stops. I even have a script to automatically 'renice' the most CPU intensive process: Code:
% cat scripts/renice.sh #! /bin/sh PROCESS=$( top -b 5 | grep -A 5 USERNAME | sed 1d | head -1 | awk '{print $12}' ) renice -n 10 $( pgrep ${PROCESS} )
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
Quote:
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Quote:
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Quote:
|
|
||||
Quote:
__________________
use UNIX or die :-) |
|
||||
You could say I'm one of those freakish there is a right way and a wrong way to solve problems sort of guy. You know, the kind who thinks using chewing gum is supposed to be a temporary solution, not a fix for problems coming straight out of the factory.
If you can improve performance: should it be done at the level of the thing responsible for it (hint: not the user) and better yet, maybe have it become tunable by the system administrator (BSD via a sysctl, Linux via the file system) Or should it be a cobbled together on a per user basis, sooner or later to fall out of sync with reality, and probably be so much more likely to see random bugs slip in? While I don't always agree with Linus (and sometimes curse at him for one thing or another), I think in that posting, he was quite right. The most a user space implementation should be, is a configurable daemon, and it would still be faster done in kernel. It's called "Monolithic" for a reason after all.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
@TerryP
I was talking about FreeBSD mailing lists discussion, about that there would be a long detailed discussion and nothing will be done I would like to see scheduler (or I/O scheduler) improvements, but there have to be person who will sit and write these changes, and its not for free
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
@vermaden
Fabio Checconi and Luigi Rizzo are the developers of geom_sched. So it's the beginning and we will certainly see a lots of improvements, including different scheduler plugins. ZFS doesn't need such a scheduler, because it already has such an IO scheduler.
__________________
use UNIX or die :-) |
|
||||
Fucking blind hype ...
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI Radeon HD 4250 - kernel patch | giddyupman | FreeBSD Installation and Upgrading | 6 | 3rd October 2011 06:01 PM |
ZFS for the Linux kernel | J65nko | News | 0 | 7th June 2010 06:43 PM |
Remote debugging Linux kernel | Mr-Biscuit | Other BSD and UNIX/UNIX-like | 0 | 11th December 2008 04:46 AM |
FreeBSD 7.1 kernel incompatible with a linux program | map7 | FreeBSD Installation and Upgrading | 7 | 5th November 2008 11:17 PM |
Linux Kernel map | TerryP | Other BSD and UNIX/UNIX-like | 2 | 1st July 2008 05:33 AM |