Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Linux desktop: 10x brži

[es] :: Linux :: Linux desktop: 10x brži

[ Pregleda: 2302 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

component

Član broj: 182885
Poruke: 1250



+455 Profil

icon Linux desktop: 10x brži17.11.2010. u 14:28 - pre 163 meseci
Ukratko:
Mike Galbraith je napravio patch od 233 linija koda koji ubrzava vreme odziva Linux desktopa u proseku 10 puta.

Citat:
In recent weeks and months there has been quite a bit of work towards improving the responsiveness of the Linux desktop with some very significant milestones building up recently and new patches continuing to come. This work is greatly improving the experience of the Linux desktop when the computer is withstanding a great deal of CPU load and memory strain. Fortunately, the exciting improvements are far from over. There is a new patch that has not yet been merged but has undergone a few revisions over the past several weeks and it is quite small -- just over 200 lines of code -- but it does wonders for the Linux desktop.

The patch being talked about is designed to automatically create task groups per TTY in an effort to improve the desktop interactivity under system strain. Mike Galbraith wrote the patch, which is currently in its third version in recent weeks, after Linus Torvalds inspired this idea. In its third form (patch), this patch only adds 224 lines of code to the kernel's scheduler while stripping away nine lines of code, thus only 233 lines of code are in play.

Tests done by Mike show the maximum latency dropping by over ten times and the average latency of the desktop by about 60 times. Linus Torvalds has already heavily praised (in an email) this miracle patch.

Yeah. And I have to say that I'm (very happily) surprised by just how small that patch really ends up being, and how it's not intrusive or ugly either.

I'm also very happy with just what it does to interactive performance. Admittedly, my "testcase" is really trivial (reading email in a web-browser, scrolling around a bit, while doing a "make -j64" on the kernel at the same time), but it's a test-case that is very relevant for me. And it is a _huge_ improvement.

It's an improvement for things like smooth scrolling around, but what I found more interesting was how it seems to really make web pages load a lot faster. Maybe it shouldn't have been surprising, but I always associated that with network performance. But there's clearly enough of a CPU load when loading a new web page that if you have a load average of 50+ at the same time, you _will_ be starved for CPU in the loading process, and probably won't get all the http requests out quickly enough.

So I think this is firmly one of those "real improvement" patches. Good job. Group scheduling goes from "useful for some specific server loads" to "that's a killer feature".

Linus

Initially a Phoronix reader tipped us off this morning of this latest patch. "Please check this out, my desktop will never be the same again, it makes a *lot* of difference for desktop usage (all things smooth, scrolling etc.)...It feels as good as Con Kolivas's patches."...


izvor:
http://www.phoronix.com/scan.p...icle&item=linux_2637_video
 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži17.11.2010. u 17:04 - pre 163 meseci
Yep i to radi.

Kod mene prilikom kompajliranja kernela sa -j64 mogu da surfujem i slusam muziku bez ikakvih problema. Sa clean 2.6.37-rc2 dobijem totalno neupotrebljiv desktop.

Tako da koga interesuje moze da proba. Evo ga patch.

/edit: E jesam blesav. Evo ga patch a zaboravih da ga upload-ujem :D

[Ovu poruku je menjao combuster dana 17.11.2010. u 18:18 GMT+1]
make love - !war
Prikačeni fajlovi
 
Odgovor na temu

srdjee

Član broj: 5097
Poruke: 673
*.uns.ac.rs.



+25 Profil

icon Re: Linux desktop: 10x brži17.11.2010. u 18:47 - pre 163 meseci
Citat:
combuster:  Sa clean 2.6.37-rc2 dobijem totalno neupotrebljiv desktop.


?



nije GOTOVO
 
Odgovor na temu

Tyler Durden
Tyler Durden
Beograd

Član broj: 4312
Poruke: 3379
*.adsl.verat.net.



+1365 Profil

icon Re: Linux desktop: 10x brži17.11.2010. u 18:57 - pre 163 meseci
Ovo je fina vijest za nas heavy kompajlere :-)
Mogu da pustim rebuild citavog sistema, dok opusteno i udobno gledam pr0n.
Beneath civilization's fragile crust, cold chaos churns...
 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži17.11.2010. u 19:15 - pre 163 meseci
Citat:
srdjee?


:)


Dok kompajliram sa 64 thread-a tj :) Mislio sam da se podrazumeva :P

@Tyler

Upravo tako, Gentoo korisnici ovome mogu najvise da se raduju, mada nije da ni meni ne znaci :D
make love - !war
 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži17.11.2010. u 19:49 - pre 163 meseci
Eh da, iskljucio sam i BKL (Big Kernel Lock), na 2.6.37-rc1 nije mogao da se iskompajlira sa ovom opcijom iskljucenom ali su ga sad na rc2 ispravili.

Sada se ovi trenutno kolju da li treba ovo implementirati u user space ili kernel space.

Izgleda da ce ostati u kernel space-u sudeci po Linusu.

I jos jedna stvar, ovo je korisno samo kada recimo kompajlirate kernel sa puno paralelnih thread-ova (makar 1+broj core-ova), ili kada pokrecete neki batch proces kao recimo imagemagick iz terminala koji radi obradu nad direktorijumom od 3000 high-res fotki. Nije u pitanju cest user case pa ne mozemo reci da je linux desktop 10 puta brzi, vec mozemo reci samo da teski batch procesi (koji ionako imaju minimalni prioritet ali zato ih mozemo nabudziti da budu veoma zahebani zbog vise paralelnih thread-ova) vise nece uticati na responzivnost desktopa pa mozemo surfovati i raditi ostale desktop zezancije dok nam se procesor preznojava.

Iskreno ja to radim cesto i meni to znaci, gentoo korisnicima takodje, tty freak-ovima takodje dok recimo plejadi korisnika koji koriste standardno desktop za standardne desktop zezancije ovaj patch ne znaci ama bas nista.

http://lkml.org/lkml/2010/11/16/429
make love - !war
 
Odgovor na temu

Stefan Markic

Član broj: 82674
Poruke: 759
*.dynamic.sbb.rs.



+73 Profil

icon Re: Linux desktop: 10x brži18.11.2010. u 18:31 - pre 163 meseci
sched_autogroup_enabled = 0



sched_autogroup_enabled = 1

 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži18.11.2010. u 20:07 - pre 163 meseci
Jeste, i to je testirano na i7 970 sestojezgrasu sa HT-om, zamisli kako je kod mene na core2duo bez ht-a, ludilo... A sa patch-om radi kao sat, kao da ne kompajliram kernel pozadi sa 64 thread-a :D

Mada opet kao sto rekoh to je vrlo specifican use case.
make love - !war
 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži20.11.2010. u 22:59 - pre 163 meseci
Uf jos jedna stvar koju sam primetio a da ne poverujes.

Sad kompajliram libwebkit (backportujem neki patch) i danas sam to kidao na 2.6.36 bez ovog patch-a bez ikakvih problema, slusao muziku, chatovao, surfovao. Sad trokira sa vremena na vreme na 2.6.37-rc2 sa ovim patch-om (kolje mp3).

Izgleda da bolje radi patch sa vise paralelnih thread-ova nego sa manje. :P
make love - !war
 
Odgovor na temu

Srđan Pavlović
Specijalna Edukacija i Rehabilitacija MNRO
Vojvodina, Bačka Palanka

Član broj: 139340
Poruke: 5571
*.dynamic.isp.telekom.rs.

Sajt: www.oligofrenolog.com


+382 Profil

icon Re: Linux desktop: 10x brži20.11.2010. u 23:13 - pre 163 meseci
Od 2.6.31, pa na 'vamo, meni nesto sve smrdi u tim kernelima
 
Odgovor na temu

combuster
Ivan Bulatovic
Kraljevo

Član broj: 151351
Poruke: 4563
*.dynamic.isp.telekom.rs.

Sajt: www.linuxsrbija.org


+104 Profil

icon Re: Linux desktop: 10x brži20.11.2010. u 23:17 - pre 163 meseci
I meni smrdi, meant2panic ne panic-uje, to mora da nesto nije u redu :D Ili je to zbog toga sto feature-i ulecu sve do rc4, i po dve-tri nedelje posle zatvaranja merge-a.
make love - !war
 
Odgovor na temu

[es] :: Linux :: Linux desktop: 10x brži

[ Pregleda: 2302 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.