nrj >>> nrjQL, the Next Kernel Generation, a step forward...
Posted: 4 September 2012, 21:25
ROSALAB, after some labs tests, choosed NRJ as the default predefined Kernel for ROSA 2012 MARATHON LTS, and I'm developing and maintaining it in a conservative and secure way, but so I couldn't experiment new interesting but sometimes dangerous stuff, we needed a development branch where we could add all new interesting stuff without the risk of harming some user and so we and our brave geeks will be able to test how the latest software technologies are working in the real world...
Some weeks ago, I quietly started working on NRJ 2 project (next generation NRJ Kernels)
The goal, the name, the contents / features?
The main goals are preparing some new and more performant Kernels for Mandriva and ROSA linux distros, but concurrently maintaining the complete previous NRJ patcheset, so if we need we can grab some things from the development branch to copy in the mainline kernel (NRJ) but being almost sure there should be no problems.
The kernel complete name should be something like:
kernel-nrj2-bfs-bfq-toi-realtime-adaptivetickless-lto
I dont think to adopt such a long and difficult name...
it's not yet decided, while temporary codename is > nrjX (meaning as nrj Xtreme)
These kernels will be more experimental and will represent the development branch:
including many not official kernel developments, when these stuff promise to reduce latence and improve responsiveness in many different fields, like task scheduler, disk I/O, multimedia playing of complex Multimedia and MIDI Professional, DAW (Digital Audio Station), Realtime applications, ecc.
Everything is still a big Work in progress...
but among the following items (see below), the points 1> to 10> have been already implemented and are already inside the kernel srpm contents:
for example AUFS3 is ready to be configured, all patches are already in srpms, but now are NOT applied/enabled to avoid possible conflict with OverlayFS
1> Mandriva ex mnb with more than 100 patches mainly improving HW compatibility
It should be possible to build the same kernels also for the new free Foundation born from Mandriva (MoonDrake?), but when ABF will be available...
2> MIB NRJ enabled flavours
You can read something about
viewtopic.php?f=38&t=3244
3> CK full patcheset, to enhance Desktop behaviour and BFS (cpu task scheduler)
http://ck.kolivas.org/patches/bfs/bfs-faq.txt
http://users.on.net/~ckolivas/kernel/
"patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any workload."
4> BFQ - I/O disk scheduler
http://lwn.net/Articles/275978/
http://algo.ing.unimo.it/people/paolo/disk_sched/
here an interesting video
5> TuxOnIce
http://tuxonice.net/
6 > UKSM
For Data Deduplication Of The Linux Kernel
http://www.phoronix.com/scan.php?page=n ... px=MTEzMTI
english translation
http://translate.google.com/translate?s ... chmarks%2F
7> OverlayFS
http://sourceforge.net/projects/olfs/
8> AUFS3
http://aufs.sourceforge.net/
Amongst the others best kernel patchsets, we are considering mainly these
9>liquorix
http://liquorix.net/
10>zenkernel replacement built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.
http://zen-kernel.org/
11> 40 patches for Adaptive TicklessZen has also taken its own leap to the future by taking a stab at modern release philosophies; the art of rolling code.
http://lwn.net/Articles/495422/
we have no more fixed HZ, for server now we have HZ=100, for desktop HZ=1000, while with Adaptative Tickless we have HZ=no, so the hires timers can change their frequence realtime when it need, so there is no overhead to kernel due to not used interrupts
12> LTO (link time optimization)
http://lwn.net/Articles/512548/
that's possible with gcc >= 4.7
this produces better internal code in kernel using the most efficient cpu instructions
despite this efficiency, the build time will raise by a factor 2X to 4X...
13> many others things to discover by a surprise...
First successfully rpms built with nrjX Kernel 3.0.42
the second kernel prepared and in testing is now Kernel nrjX 3.5.3
These files are the results of first implemented items (1> to 4> already in...)
as soon as possible I'll fix the last issues in the spec/scripts/configs so also You, dear brave hearts, could start testing
We hope TuningUp everything and release publicly for the end of September
As usual these Kernels will be prepared for MDV 2010 & 2011 to RM2012 & ROSA 2012.1
Code: Select all
Elaborazione file in corso: kernel-nrjX-source-latest-3.0.42-1mib2010.2
Controllo per file scompattato/i in corso: /usr/lib/rpm/check-files /home/utente/rpmbuild/BUILDROOT/kernel-nrjX-3.0.42-1mib2010.2.x86_64
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-devel-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-devel-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-laptop-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-laptop-devel-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-laptop-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-laptop-devel-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-server-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-server-devel-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-server-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-server-devel-latest-3.0.42-1mib2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/noarch/kernel-nrjX-source-3.0.42-1mib-1-1mib2010.2.noarch.rpm
Scritto: /home/utente/rpmbuild/RPMS/noarch/kernel-nrjX-source-latest-3.0.42-1mib2010.2.noarch.rpm
Esecuzione(%clean) in corso: /bin/sh -e /var/tmp/rpm-tmp.wU3hH4
+ umask 022
+ cd /home/utente/rpmbuild/BUILD
+ cd kernel-nrjX-x86_64
+ rm -rf /home/utente/rpmbuild/BUILDROOT/kernel-nrjX-3.0.42-1mib2010.2.x86_64
+ exit 0
I installed and using since some days
Code: Select all
localhost proc # urpmi /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-devel-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
installazione di kernel-nrjX-desktop-devel-3.0.42-1mib-1-1mib2010.2.x86_64.rpm da /home/utente/rpmbuild/RPMS/x86_64
In preparazione... ######################################################################################################
1/1: kernel-nrjX-desktop-devel-3.0.42-1mib
######################################################################################################
localhost proc # urpmi /home/utente/rpmbuild/RPMS/x86_64/kernel-nrjX-desktop-3.0.42-1mib-1-1mib2010.2.x86_64.rpm
installazione di kernel-nrjX-desktop-3.0.42-1mib-1-1mib2010.2.x86_64.rpm da /home/utente/rpmbuild/RPMS/x86_64
In preparazione... ######################################################################################################
1/1: kernel-nrjX-desktop-3.0.42-1mib
######################################################################################################
Dovresti riavviare il computer per kernel-nrjX-desktop-3.0.42-1mib
localhost proc #
I and "oiram73" (our great professional tester) are using this featured kernels since some days, and first results are really impressive...
in the meantime, we are also testing the stability and reliability while on the PC for days to make several stressful work and some large data transfers
now we are waiting for the results of other tests from our MIB guys like Astragalo, Dago68, GvM...
https://wiki.archlinux.org/index.php/Ke ... taliano%29
bye, NicCo