Page 1 of 2

Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 10:30
by NicCo
Kernel 2.6.33.2 for mdv 2010.0 & 2009.1

LEGENDA:
kernel-desktop for desktop standard
kernel-server only for server applications like LAMP, slow and not suggested in Desktop PC
kernel-nrj-desktop (as for Energj) : for low latency and multimedia desktop (better for DAW apps like Ardour)
kernel-nrj-pae-desktop (as for Energj plus PAE): for 32bit, the same as Energj plus support ram up to 64Gb

Image
Image
KERNEL ENERGY MIB
makes your PC much more responsive even under stress, when you have so many programs running, and when you have the CPU close to 100% usage, if you use many VM, multimedia programs, and even if you use remote desktop apps

ENERGY > NRJ so name become > kernel-nrj-desktop-2.6.3X.X

Main features will be:
* full manbo patchset
* full preempt, low latency, less debug;

You may have installed concurrently kernel 2.6.31.x and/or 2.6.33.x standard and the "nrj" or "nrj-pae" one

Image
KERNEL ENERGY MIB
NRJ: CON IL KERNEL ENERGY MIB,
PC SEMPRE SCATTANTE ANCHE SOTTO STRESS!


Ci stiamo occupando di modificare il comportamento del kernel che mandriva ci propone e che non ci soddisfa del tutto.

Così abbiamo preparato il nuovo kernel "ENERGY", quasi come se fosse una bevanda energetica, e da quel nome, per assonanza, NRJ, che verrà usato per contraddistinguere questa serie di kernel.

ENERGY > per assonanza NRJ così il nome diventa > kernel-nrj-desktop-2.6.3X.X

Le principali features di questa serie di kernel sono:
* full manbo patchset
* full preempt, low latency, less debug;

* è nato per evitare che in condizioni di carico estremo il sistema smetta di rispondere.
Ad esempio, con due macchine virtuali aperte contemporaneamente il pc spesso va a scatti, il mouse risponde ogni 30/40 secondi così come la tastiera. Con le impostazioni che abbiamo cambiato questo non dovrebbe più accadere;
* ci aspettiamo che riduca la possibilità di difetti di sincronia audio/video quando si registrano o convertono musica e filmati;
* svantaggi: secondo Andrew Morton, l'opzione CONFIG_PREEMPT riduce le prestazioni (al massimo dell'1%) e può causare una minore autonomia sui portatili.
Le maggiori distribuzioni preferiscono CONFIG_PREEMPT_VOLUNTARY nei kernel predefiniti, soluzione che non presenta problemi di consumi o di prestazioni, ma è stato constatato che in certe condizioni va in crisi.

Già in testing su alcuni dei nostri pc, è stato rilevato che:
* l'audio funziona finalmente senza singhiozzi anche durante l'uso di effetti desktop 3D o con il carico della cpu vicino al 100%;
* compila i moduli vmware player che funziona perfettamente.

Test:
un pc (dual core x2-6000 4 giga ram) ha consentito contemporaneamente di:

* ricompilare il kernel in una konsole,
* avere firefox con 100 linguette aperte,
* fare upload di pacchetti,
* riprodurre due film su due diversi lati del cubo in full screen,
* su un terzo lato del cubo, con vmware virtualizzare windows mentre riproduce le radio da http://www.musicme.com,
* parlare con skype,
pur avendo tastiera e mouse e le linguette di firefox e delle konsole che rispondono in tempo reale, audio perfettamente miscelato come dai vari mixer locali, e non incerto e distorto.



Mandriva 2010.0

Kernel 2.6.33.2 desktop for Mandriva 2010.0/32

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2010.0/32/projects/kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-desktop-devel-latest kernel-desktop-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 server for Mandriva 2010.0/32

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2010.0/32/projects/kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-server-devel-latest kernel-server-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 desktop Energy "nrj" for Mandriva 2010.0/32

Code: Select all

urpmi.addmedia --update K26332-NRJ http://mib.pianetalinux.org/MIB/2010.0/32/projects/kernels/2.6.33.2-nrj/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-desktop-devel-latest kernel-nrj-desktop-latest 
urpmi.removemedia K26332-NRJ
done, good bye
Kernel 2.6.33.2 desktop Energy + PAE "nrj-pae" for Mandriva 2010.0/32

Code: Select all

urpmi.addmedia --update K26332-NRJ-PAE http://mib.pianetalinux.org/MIB/2010.0/32/projects/kernels/2.6.33.2-nrj-pae/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-pae-desktop-devel-latest kernel-nrj-pae-desktop-latest 
urpmi.removemedia K26332-NRJ-PAE
done, good bye
Kernel 2.6.33.2 desktop for Mandriva 2010.0/64

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2010.0/64/projects/kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-desktop-devel-latest kernel-desktop-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 server for Mandriva 2010.0/64

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2010.0/64/projects/kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-server-devel-latest kernel-server-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 desktop energy "nrj" for Mandriva 2010.0/64

Code: Select all

urpmi.addmedia --update K26332-NRJ http://mib.pianetalinux.org/MIB/2010.0/64/projects/kernels/2.6.33.2-nrj/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-desktop-devel-latest kernel-nrj-desktop-latest 
urpmi.removemedia K26332-NRJ
done, good bye


Mandriva 2009.1

Kernel 2.6.33.2 desktop for Mandriva 2009.1/32

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2009.1/i686/MIB-kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-desktop-devel-latest kernel-desktop-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 server for Mandriva 2009.1/32

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2009.1/i686/MIB-kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-server-devel-latest kernel-server-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 desktop Energy "nrj" for Mandriva 2009.1/32

Code: Select all

urpmi.addmedia --update K26332-NRJ http://mib.pianetalinux.org/MIB/2009.1/i686/MIB-kernels/2.6.33.2-nrj/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-desktop-devel-latest kernel-nrj-desktop-latest 
urpmi.removemedia K26332-NRJ
done, good bye
Kernel 2.6.33.2 desktop Energy + PAE "nrj-pae" for Mandriva 2009.1/32

Code: Select all

urpmi.addmedia --update K26332-NRJ-PAE http://mib.pianetalinux.org/MIB/2009.1/i686/MIB-kernels/2.6.33.2-nrj-pae/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-pae-desktop-devel-latest kernel-nrj-pae-desktop-latest 
urpmi.removemedia K26332-NRJ-PAE
done, good bye
Kernel 2.6.33.2 desktop for Mandriva 2009.1/64

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2009.1/x86_64/MIB-kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-desktop-devel-latest kernel-desktop-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 server for Mandriva 2009.1/64

Code: Select all

urpmi.addmedia --update K26332 http://mib.pianetalinux.org/MIB/2009.1/x86_64/MIB-kernels/2.6.33.2/
urpmi --auto-select --auto
urpmi --auto kernel-server-devel-latest kernel-server-latest 
urpmi.removemedia K26332
done, good bye
Kernel 2.6.33.2 desktop Energy "nrj" for Mandriva 2009.1/64

Code: Select all

urpmi.addmedia --update K26332-NRJ http://mib.pianetalinux.org/MIB/2009.1/x86_64/MIB-kernels/2.6.33.2-nrj/
urpmi --auto-select --auto
urpmi --auto kernel-nrj-desktop-devel-latest kernel-nrj-desktop-latest 
urpmi.removemedia K26332-NRJ
done, good bye
bye,
NicCo & Bright77

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 13:49
by fabio75
Mandriva 2010 32bit 4Gb di ram
[fabio@localhost ~]$ uname -a
Linux localhost 2.6.33.2-desktop-nrjpae.69mib #1 SMP PREEMPT Fri Apr 2 20:14:22 CEST 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5400+ GNU/Linux
Straveloce e perfettamente funzionante. Audio perfetto!
Grazie Mib! ;)

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 14:25
by NicCo
fabio75 wrote:Mandriva 2010 32bit 4Gb di ram
[fabio@localhost ~]$ uname -a
Linux localhost 2.6.33.2-desktop-nrjpae.69mib #1 SMP PREEMPT Fri Apr 2 20:14:22 CEST 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5400+ GNU/Linux
Straveloce e perfettamente funzionante. Audio perfetto!
Grazie Mib! ;)
Mi potresti dare, per piacere, l'output del comando

Code: Select all

free
Voglio solo accertarmi che veda correttamente tutti i tuoi 4 Gb di ram...

La modalità higmem64 è stata applicata nello script in maniera teorica, ma senza testing.

Sarebbe anche interessante capire se la ram gestita non rallenti poi però il resto del sistema,
per cui usalo un po' in diversi contesti e riportami il tuo feedback un pò più approfondito.

Mi serve per capire se è opportuno continuare a preparare questo nrj-pae o lasciar perdere...

Ciao,
NicCo

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 18:17
by fabio75
Eccomi in ritardo ;)

Sto utilizzando firefox - amule-adunanza -shell

Code: Select all

[fabio@localhost ~]$ free
             total       used       free     shared    buffers     cached
Mem:       4146520    4018320     128200          0     251548    3050568
-/+ buffers/cache:     716204    3430316
Swap:       249472          0     249472
Se apro kinfocenter trovo:

Code: Select all

Memoria fisica totale:   4.246.036.480 byte=   3,95Gb
Memoria fisica libera:     130.519.040 byte=   124,47Mb

Code: Select all

[fabio@localhost ~]$ top

top - 18:38:23 up  4:55,  3 users,  load average: 0.04, 0.13, 0.15
Tasks: 181 total,   2 running, 178 sleeping,   0 stopped,   1 zombie
Cpu(s):  7.9%us,  4.3%sy,  0.0%ni, 80.2%id,  7.6%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   4146520k total,  4009872k used,   136648k free,   240160k buffers
Swap:   249472k total,        0k used,   249472k free,  3053988k cached

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 19:44
by NicCo
x Fabio55

Dal tuo "free", constato che la memoria la vede tutta, allora la modalità PAE si è atttivata davvero!

La domanda che ti ponevo, a questo punto è la seguente:
Secondo te, in base alla tua esperienza diretta con esso in queste ore, vale la pena di portare avanti un kernel per 32bit con la configurazione NRJ + PAE? La Comunità di utenti mandriva ne ha bisogno?

Certo, io da utilizzatore piattaforma 64bit, continuo a non capire perchè continuare ad usare un sistema in architettura 32bit, se si ha un PC capace del 64bit e con più di 2 Giga di ram...

Ciao,
NicCo

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 21:28
by fabio75
La domanda che ti ponevo, a questo punto è la seguente:
Secondo te, in base alla tua esperienza diretta con esso in queste ore, vale la pena di portare avanti un kernel per 32bit con la configurazione NRJ + PAE? La Comunità di utenti mandriva ne ha bisogno?
A questa domanda non posso rispondere subito...
Dovrei necessariamente utilizzare per almeno una settimana il pc.
L'unica osservazione che posso fare è che anche con i soli 3Gb di ram, raramente mi si è "impallato" il pc.
E quando è avvenuto è stato per l'uso di gimp(molti livelli aperti per il fotoritocco).
Diversamente, a differenza di quanto accade a Microsoft,
ripeto: non ho mai avuto problemi!

Perché non installo una 64 bit?
Ho provato con la 2009.0
ma il pc mi dava problemi in avvio e altre cose che ora non ricordo.
Perciò, dopo una settimana formattai, ripassai alla 32 bit e non ebbi più problemi.

Sempre nello stesso periodo, se non erro ci fu da parte di Moreno "uno studio" per capire se effettivamente c'erano reali vantaggi a passare da una 32 a una 64bit. E dopo giorni di prove..il risultato fu che non c'erano vantaggi evidenti. tutt'altro! Da non dimenticare poi i pacchetti da installare a 32bit perché non presenti a 64bit.

Conto comunque(sempre che l'avanzamento di distro non funzioni) di riprovarci con la 2010.1

Una considerazione personale:
Personalmente ritengo che sia ammirevole quanto fate. Ma portare avanti solo per qualcuno(che si ostina a non usare una 64bit), un progetto del genere; è solo togliervi tempo prezioso per far altro!
Perciò io personalmente lascerei perdere.
In ogni caso c'è anche il kernel server che riconosce 4Gb di ram e voi in ogni caso lo fornite! ;)

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 21:35
by NicCo
x Fabio75

Aspetterò la tua settimana di valutazione, e mi farai sapere...


Ciao,
Buona Pasqua

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 3 April 2010, 21:53
by Roberto_65
Quello che dice Fabio è vero ! Mandriva per funzionare a 64 bit non è ancora matura al 100% !

X Fabio75
Comunque, il kernel server, è vero che vede tutta la RAM, ma rallenta parecchio i programmi di desktop per via della sua latenza; é stato progettato per far funzionare i server in modalità server, ma non i PC in modalità Desktop.
Il kernel server è molto veloce ad eseguire i programmi di background come i server !

Le altre distro, per esempio Ubuntu, hanno quasi tutte un kernel PAE per Desktop, come quello di Bright77/Nicco!

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 7 April 2010, 12:38
by axanar
uname -a
Linux Axanar 2.6.32.6-desktop-69mib #1 SMP Mon Jan 25 23:39:39 CET 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux

ho il kernel sopra scritto.. secondo voi con un utilizzo lavorativo del PC (non faccio grafica) quale kernel mi consigliate di installare?

grazie

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 7 April 2010, 13:44
by NicCo
axanar wrote:uname -a
Linux Axanar 2.6.32.6-desktop-69mib #1 SMP Mon Jan 25 23:39:39 CET 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux

ho il kernel sopra scritto.. secondo voi con un utilizzo lavorativo del PC (non faccio grafica) quale kernel mi consigliate di installare?

grazie
Ma quanta ram hai? 1Gb, 2Gb, 3Gb, oppure 4Gb?

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 8 April 2010, 12:22
by axanar
NicCo wrote:Ma quanta ram hai? 1Gb, 2Gb, 3Gb, oppure 4Gb?
2GB

p.s.: ho aggiornato la mia firma :D :D :D

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 8 April 2010, 12:27
by NicCo
axanar wrote:
NicCo wrote:Ma quanta ram hai? 1Gb, 2Gb, 3Gb, oppure 4Gb?
2GB

p.s.: ho aggiornato la mia firma :D :D :D
questo:
Kernel 2.6.33.2 desktop Energy "nrj" for Mandriva 2010.0/32

ovvero, il terzo della lunga lista, a partire dall'alto



se tu avessi avuto 4 giga o più, ti avrei consigliato di usare il quarto, chiamato "nrj-pae", che attiva la modalità PAE per l'uso di quantità di memoria superiore a 3Gb anche su piattaforma architettura 32bit, ma con 2 Gb di ram solamente, sarebbero solo risorse sprecate...

Ciao,
NicCo

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 8 April 2010, 17:25
by axanar
NicCo wrote:questo:
Kernel 2.6.33.2 desktop Energy "nrj" for Mandriva 2010.0/32

ovvero, il terzo della lunga lista, a partire dall'alto
OK!! grazie mille!!!

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 10 April 2010, 15:57
by aapgorilla
Does NRJ have any disadvantages compared with the normal desktop kernel and what are the disadvantages of having PAE?

Re: Kernel 2.6.33.2 for Mandriva 2010.0 and 2009.1

Posted: 10 April 2010, 17:02
by bright77
Hello aapgorilla,

the NRJ kernel is a "low latency preemptive" kernel (CONFIG_PREEMPT=y, also known as CONFIG_PREEMPT_DESKTOP if you apply the RT patches), while the major distro's kernels are using "voluntary preemption" (CONFIG_PREEMPT_VOLUNTARY=y").
Andrew Morton (linux kernel development team) stated that, under the worst circumstances, enabling the kernel preemption reduces performances by _ 1% _. You would notice this difference if you're running a single and heavy task.

Under other circumstances, the system may be more "responsive": I mean reduced audio glitches, reduced screen flickering, reduced mouse or keyboard lag if you try to do anything while your PC is performing a background heavy task.

I decided to play with the preemption stuff because my former PC was really STUCK when performing certain tasks (running two vmware machines at a time or building a kernel RPM) and I noticed a CLEAR improvement under thoose circumstances after enabling the low latency preemtion option: it is not a matter of "faster / slower perception", it is a matter of "mouse and keyboard not responding" or "mouse moving and allowing to open or close other applications".
We have another "quantitative" test, measuring the number of audio buffer underruns which where reduced by a half.

I hope this can answer your question.
Please, if you decide to try this, let us know what you think about, whether it will be a positive or negative opinion.

As for PAE, it allows to detect more than 3Gb of RAM at the cost of a slower memory addressing. I have no measurement of what does "slower" mean, may be google can answer you.
I read on a forum (I can no longer find it) that, if you have got 4Gb of RAM, you'll get better performances with the standard 32 bit desktop kernel, detecting 3Gb only. If you've got 6Gb or more, you'd better to run a PAE 32 bit desktop kernel.

My personal opinion is that, if you've got a 64bit capable hardware, you'd better to forget about PAE and to switch to a 64 bit kernel.